Jump to:

3439 Posts in 1028 Topics by 869 members

Template Questions

SilverStripe Forums » Template Questions » Display Children of a hidden Page

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 483 Views
  • Querdenker
    Avatar
    Community Member
    2 Posts

    Display Children of a hidden Page Link to this post

    Hi Folks,

    here is the thing:
    ---------------------
    - I've got a hidden Page at the top Level of the SiteTree / Menu
    - I want to display the children of that page in the Menu
    - Since i try to build a module out of it i don't want to write in the theme template

    Folder Structure:
    ---------------------
    - assets
    - cms
    - mysite
    - sapphire
    - myModule

    SiteTree:
    -----------
    * MyWebsite
    - Landingpage
    - Contentpage 1
    - Contentpage 2
    - MyModulePage (hidden / ShowInMenus = false)
    - Child 1
    - Child 2
    - Child 3
    - Contentpage 3
    - Contentpage 4

    What i would like to have in the front end Menu-Structure:
    ---------------------------------------------------------------------------
    Landingpage Contentpage 1 Contentpage 2 Child 1 Child 2 Child 3 Contentpage 3 Contentpage 4

    Has anybody an idea how to solve that without writing to the Page.ss (--> themes/myTheme/Page.ss) ?

    Thanks in advance...

  • SheaDawson
    Avatar
    Community Member
    45 Posts

    Re: Display Children of a hidden Page Link to this post

    Hey,

    If you are still stuck on this, maybe try using the menu manager module. I just used it on a recent project, really handy for building easily customisable menus... might do the trick for you

    http://www.silverstripe.org/menumanager-module/

    483 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.