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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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