Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Page inside ArticlePage page type don't work

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1295 Views
  • ojalà
    Avatar
    Community Member
    87 Posts

    Page inside ArticlePage page type don't work Link to this post

    HI!
    I create a multilevel menu. so I create a pages like ArticleHolder and ArticlePage (explaint in second tutorial of silverstripe) for ProgectHolder and PrgectPage. Then I create Page_1 and Page_2 (type Page) inside ProgectPage. My problem is that I want a menu in sidebarwhen I'm in ProgectPage that show me Page_1 and Page_2. I can't see this. This is link to type of page (Page type inside ProgectPage)? or is link to my menu level?

    1.ProgectHolder
    2.ProgectPage_1
    2.a. Page_1
    2.a. Page_2
    3.ProgectPage_2
    3.a. Page_1
    3.a. Page_2

  • Nivanka
    Avatar
    Community Member
    395 Posts

    Re: Page inside ArticlePage page type don't work Link to this post

    did you mentioned about any children on the projectholder page?

    just like this

    static $allowed_children = array('ArticlePage');

    if so you can only create the ArticlePage type pages as children.

    Try to remove that code and see.

    1295 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.