Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Page inside ArticlePage page type don't work


Go to End


2 Posts   2119 Views

Avatar
ojalà

Community Member, 87 Posts

19 November 2008 at 5:54am

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

Avatar
Nivanka

Community Member, 400 Posts

19 November 2008 at 10:13pm

Edited: 19/11/2008 10:13pm

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.