In Social, you may have two space types (classic and webos spaces).

For the classic space, you can pre-configure the template. You can configure the layout to select where to display the applications (for example, the application's menu on the left, the selected application is displayed on the right, and more).

Here is an example of the configuration file that displays the menu on the left. The application will be inserted in the container with the Id *Application*:

{code:xml}<page>
  <owner-type></owner-type>
  <owner-id></owner-id>
  <name></name>
  <container id="SpacePage" template="system:/groovy/portal/webui/container/UITableColumnContainer.gtmpl">
    <container id="Menu" template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
      <portlet-application>
        <portlet>
          <application-ref>space</application-ref>
          <portlet-ref>SpaceMenuPortlet</portlet-ref>
        </portlet>
        <access-permissions>*:/platform/users</access-permissions>
        <show-info-bar>false</show-info-bar>
      </portlet-application>
    </container>
    <container id="Application" template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
    </container>
  </container>
</page>{code}

In this example, the outer container contains two inner containers: one container has Id as *Menu* for your Menu and another has Id as *Application* containing your applications.

!images/spaces.png| align="center" width="150mm" fo:scalefit="1" html:scalefit="0"!

If you want to put the menu on the right and the application on the left, you can swap the declared position of these two containers:

{code:xml}<page>
  <owner-type></owner-type>
  <owner-id></owner-id>
  <name></name>
  <container id="SpacePage" template="system:/groovy/portal/webui/container/UITableColumnContainer.gtmpl">
    <container id="Application" template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
    <container id="Menu" template="system:/groovy/portal/webui/container/UIContainer.gtmpl">
      <portlet-application>
        <portlet>
          <application-ref>space</application-ref>
          <portlet-ref>SpaceMenuPortlet</portlet-ref>
        </portlet>
        <access-permissions>*:/platform/users</access-permissions>
        <show-info-bar>false</show-info-bar>
      </portlet-application>
    </container>
    </container>
  </container>
</page>{code}


In Social standalone, this configuration file is at:
* _{{{$EXO_TOMCAT/webapps/socialdemo/WEB-INF/conf/portal/template/pages/space/page.xml}}}_
In eXo Platform, this configuration file is at:
* _{{{$EXO_TOMCAT/webapps/{portal-name}/WEB-INF/conf/portal/template/pages/space/page.xml}}}_


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

* [UI Extensions|#SOCref.DevelopersReferences.UIExtensions]

* [Overridable Components|#SOCref.DevelopersReferences.OverridableComponents]

* [Public Java APIs|#SOCref.DevelopersReferences.PublicJavaAPIs]

* [Java APIs sample code/ tutorial|#SOCref.DevelopersReferences.SampleCode_Tutorial]

* [Public REST APIs|#SOCref.DevelopersReferences.PublicREST_APIs]

* [Rest Service APIs|#SOCref.DevelopersReferences.RestService_APIs]

* [Public Javascript APIs|#SOCref.DevelopersReferences.PublicJavascriptAPIs]

* [Social JCR Structure|#SOCref.Social_JCR_Structure]

* [Configure the 2-legged OAuth scenario|#SOCref.ConfigureOauth2_Legend_Scenario]