Jahia in English > Sharing the same...

0 (0 Good)
0 (0 Bad)

Sharing the same menu component on different pages

by  mholmberg »  2013/05/30 11:15

I would like to know whether I can share the same menu component on different template pages that I create on the studio?

 

thanks

  • Sharing the same menu component on different pages
    2013/05/30 11:15

    mholmberg <p> I would like to know whether I can share the same menu component on different template pages that I create on the studio?</p> <p> &nbsp;</p> <p> thanks</p>

  • Number of messages  22
    Registration date May 30, 2013
    0 (0 Good)
    0 (0 Bad)

    Re: Sharing the same menu component on different pages

    by  rvt »  2013/05/31 16:07

    Hey,

    If you add the menu on the 'base' then they are automatically available on the sub page templates.
    This way you can have the page have different layout's but stiff have the same components, in this case the navigation menu throughout your website.
    Is it that what you where looking for?

    R. van Twisk
    http://riesvantwisk.com
    ##jahia@freenode.org

  • Re: Sharing the same menu component on different pages
    2013/05/31 16:08

    rvt <p> Hey,</p> <p> If you add the menu on the &#39;base&#39; then they are automatically available on the sub page templates.<br /> This way you can have the page have different layout&#39;s but stiff have the same components, in this case the navigation menu throughout your website.<br /> Is it that what you where looking for?</p> <p> R. van Twisk<br /> http://riesvantwisk.com<br /> ##jahia@freenode.org</p>

  • Number of messages  185
    Registration date May 31, 2013
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Sharing the same menu component on different pages

    by  mholmberg »  2013/06/03 08:37

    Thanks for the answer but it was not for what I am answering. I don't want it to be added in the base as in this case it will be shared by all the subpages of the templates. I want just two or three different pages share the same meny while other pages will have another menu component.

  • Re: Re: Sharing the same menu component on different pages
    2013/06/03 08:40

    mholmberg <p> Thanks for the answer but it was not for what I am answering. I don&#39;t want it to be added in the base as in this case it will be shared by all the subpages of the templates. I want just two or three different pages share the same meny while other pages will have another menu component.</p>

  • Number of messages  22
    Registration date Jun 3, 2013
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Re: Sharing the same menu component on different pages

    by  faissah »  2013/06/07 20:18

    Hello,

    The template inheritance mecanism of the studio is meant to cover this type of needs.

    For example, you could create another template under studio. Set it hidden from selection. This will serve you as a sub-base where you can put your menu.

    The page template created under this template will inherit from it hence will contain your menu.

    Hope this helps

     

    Fabrice  (faissah)

    Number of messages  262
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page