<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to change the layout depending on the page loaded? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-change-the-layout-depending-on-the-page-loaded/m-p/318260#M5261</link>
    <description>&lt;P&gt;I need to switch between two different layouts depending on the page displayed.
For instance, the layout/theme below this paragraph is to be displayed on some pages only (please note the cell named "column" - holding 3 fragments - in section "nxMainContainer". That is to be hidden when certain pages are displayed - scroll down to check the alternative layout):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;theme name="customTheme1" template-engines="jsf-facelets"&amp;gt;
    &amp;lt;layout&amp;gt;
        &amp;lt;page name="default" class="assetManagement"&amp;gt;
            &amp;lt;section class="nxHeader"&amp;gt;
                &amp;lt;cell class="content"&amp;gt;
                    &amp;lt;!-- logo --&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                    &amp;lt;!-- header --&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
            &amp;lt;/section&amp;gt;
            &amp;lt;section class="nxMainContainer"&amp;gt;
                &amp;lt;cell class="column"&amp;gt;
                    &amp;lt;!-- dam search filters --&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
                &amp;lt;cell class="listingView"&amp;gt;
                    &amp;lt;!-- dam filtered search results --&amp;gt;
                    &amp;lt;fragment type="region fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
            &amp;lt;/section&amp;gt;
            &amp;lt;section class="nxFooter"&amp;gt;
                &amp;lt;cell class="content"&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
            &amp;lt;/section&amp;gt;
        &amp;lt;/page&amp;gt;
        &amp;lt;page name="popup"&amp;gt;
            &amp;lt;section class="nxMainContainer"&amp;gt;
                &amp;lt;cell class="content"&amp;gt;
                    &amp;lt;!-- main area --&amp;gt;
                    &amp;lt;fragment type="region fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
            &amp;lt;/section&amp;gt;
        &amp;lt;/page&amp;gt;
    &amp;lt;/layout&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Alternative layout (without cell "column")&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;theme name="customTheme2" template-engines="jsf-facelets"&amp;gt;
    &amp;lt;layout&amp;gt;
        &amp;lt;page name="default" class="assetManagement"&amp;gt;
            &amp;lt;section class="nxHeader"&amp;gt;
                &amp;lt;cell class="content"&amp;gt;
                    &amp;lt;!-- logo --&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                    &amp;lt;!-- header --&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
            &amp;lt;/section&amp;gt;
            &amp;lt;section class="nxMainContainer"&amp;gt;
                &amp;lt;cell class="listingView"&amp;gt;
                    &amp;lt;!-- dam filtered search results --&amp;gt;
                    &amp;lt;fragment type="region fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
            &amp;lt;/section&amp;gt;
            &amp;lt;section class="nxFooter"&amp;gt;
                &amp;lt;cell class="content"&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
            &amp;lt;/section&amp;gt;
        &amp;lt;/page&amp;gt;
        &amp;lt;page name="popup"&amp;gt;
            &amp;lt;section class="nxMainContainer"&amp;gt;
                &amp;lt;cell class="content"&amp;gt;
                    &amp;lt;!-- main area --&amp;gt;
                    &amp;lt;fragment type="region fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
            &amp;lt;/section&amp;gt;
        &amp;lt;/page&amp;gt;
    &amp;lt;/layout&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanx a ton&lt;/P&gt;</description>
    <pubDate>Fri, 24 Aug 2012 12:07:25 GMT</pubDate>
    <dc:creator>andreivasile_</dc:creator>
    <dc:date>2012-08-24T12:07:25Z</dc:date>
    <item>
      <title>How to change the layout depending on the page loaded?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-change-the-layout-depending-on-the-page-loaded/m-p/318260#M5261</link>
      <description>&lt;P&gt;I need to switch between two different layouts depending on the page displayed.
For instance, the layout/theme below this paragraph is to be displayed on some pages only (please note the cell named "column" - holding 3 fragments - in section "nxMainContainer". That is to be hidden when certain pages are displayed - scroll down to check the alternative layout):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;theme name="customTheme1" template-engines="jsf-facelets"&amp;gt;
    &amp;lt;layout&amp;gt;
        &amp;lt;page name="default" class="assetManagement"&amp;gt;
            &amp;lt;section class="nxHeader"&amp;gt;
                &amp;lt;cell class="content"&amp;gt;
                    &amp;lt;!-- logo --&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                    &amp;lt;!-- header --&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
            &amp;lt;/section&amp;gt;
            &amp;lt;section class="nxMainContainer"&amp;gt;
                &amp;lt;cell class="column"&amp;gt;
                    &amp;lt;!-- dam search filters --&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
                &amp;lt;cell class="listingView"&amp;gt;
                    &amp;lt;!-- dam filtered search results --&amp;gt;
                    &amp;lt;fragment type="region fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
            &amp;lt;/section&amp;gt;
            &amp;lt;section class="nxFooter"&amp;gt;
                &amp;lt;cell class="content"&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
            &amp;lt;/section&amp;gt;
        &amp;lt;/page&amp;gt;
        &amp;lt;page name="popup"&amp;gt;
            &amp;lt;section class="nxMainContainer"&amp;gt;
                &amp;lt;cell class="content"&amp;gt;
                    &amp;lt;!-- main area --&amp;gt;
                    &amp;lt;fragment type="region fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
            &amp;lt;/section&amp;gt;
        &amp;lt;/page&amp;gt;
    &amp;lt;/layout&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Alternative layout (without cell "column")&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;theme name="customTheme2" template-engines="jsf-facelets"&amp;gt;
    &amp;lt;layout&amp;gt;
        &amp;lt;page name="default" class="assetManagement"&amp;gt;
            &amp;lt;section class="nxHeader"&amp;gt;
                &amp;lt;cell class="content"&amp;gt;
                    &amp;lt;!-- logo --&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                    &amp;lt;!-- header --&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
            &amp;lt;/section&amp;gt;
            &amp;lt;section class="nxMainContainer"&amp;gt;
                &amp;lt;cell class="listingView"&amp;gt;
                    &amp;lt;!-- dam filtered search results --&amp;gt;
                    &amp;lt;fragment type="region fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
            &amp;lt;/section&amp;gt;
            &amp;lt;section class="nxFooter"&amp;gt;
                &amp;lt;cell class="content"&amp;gt;
                    &amp;lt;fragment type="generic fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
            &amp;lt;/section&amp;gt;
        &amp;lt;/page&amp;gt;
        &amp;lt;page name="popup"&amp;gt;
            &amp;lt;section class="nxMainContainer"&amp;gt;
                &amp;lt;cell class="content"&amp;gt;
                    &amp;lt;!-- main area --&amp;gt;
                    &amp;lt;fragment type="region fragment"/&amp;gt;
                &amp;lt;/cell&amp;gt;
            &amp;lt;/section&amp;gt;
        &amp;lt;/page&amp;gt;
    &amp;lt;/layout&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanx a ton&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2012 12:07:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-change-the-layout-depending-on-the-page-loaded/m-p/318260#M5261</guid>
      <dc:creator>andreivasile_</dc:creator>
      <dc:date>2012-08-24T12:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the layout depending on the page loaded?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-change-the-layout-depending-on-the-page-loaded/m-p/318261#M5262</link>
      <description>&lt;P&gt;What do call page ? a specific document ? or else... Can you tell me a bit more about the context when the first one is displayed and the context for the second one...&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2012 12:03:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-change-the-layout-depending-on-the-page-loaded/m-p/318261#M5262</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-08-28T12:03:07Z</dc:date>
    </item>
  </channel>
</rss>

