During the portal creation, a drive with the same name as the portal is also automatically created. However, you can decide if such a drive is automatically created or not by using two parameters named _autoCreatedDrive_, and _targetDrives_
in the _CreateLivePortalEventListener_ external component plugin.

{code:xml}
<external-component-plugins>
    <target-component>org.exoplatform.services.listener.ListenerService</target-component>
    <component-plugin>
        <name>org.exoplatform.portal.config.DataStorage.portalConfigCreated</name>
        <set-method>addListener</set-method>
        <type>org.exoplatform.services.wcm.portal.listener.CreateLivePortalEventListener</type>
        <description>this listener creates a new live portal content storage.</description>
        <init-params>
            <value-param>
                <name>autoCreatedDrive</name>
                <description>A drive will be automatically created during the portal creation.</description>
                <value>false</value>
            </value-param>
            <values-param>
                <name>targetDrives</name>
                <description>The list of drives which are automatically created during the portal creation with
                    "autoCreatedDrive=false".
                </description>
                <value>acme</value>
            </values-param>
        </init-params>
    </component-plugin>
</external-component-plugins>
{code}

* If _autoCreatedDrive=true_, a drive will be automatically created during the portal creation regardless of _targetDrives_. In case _autoCreatedDrive_ is not specified, then its default value is _true_.
* If _autoCreatedDrive=false_, only drives listed in _targetDrives_ are created. In case _targetDrives_ is not specified, no drives are created.

{docbook}
<para>
<prompt>
    <emphasis role="bold">See also</emphasis>
</prompt>
</para>
{docbook}

* [Create your extension project|#DEV.CreateYourOwnPortal.CreateExtensionProject]
* [Define a default portal|#DEV.CreateYourOwnPortal.Create_default_portal]
* [Structure of portal, pages and menus|#DEV.CreateYourOwnPortal.StructureOfPortalPages&Menus]
* [Add/Remove a language|#DEV.CreateYourOwnPortal.AddOrRemoveLanguages]
* [Create a custom look and feel|#DEV.CreateYourOwnPortal.CreateCustomLookAndFeel]
* [Add JavaScript to your portal|#DEV.CreateYourOwnPortal.AddJavaScriptToYourPortal]
* [Create custom templates for pages|#DEV.CreateYourOwnPortal.AddJavaScriptToYourPortal.Create_custom_templates_for_pages]