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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Child pages of products page listed on homepage?


Go to End


3 Posts   1079 Views

Avatar
Big Bang Creative

Community Member, 92 Posts

5 May 2009 at 11:10pm

How can I add into my homepage a list (menu) of children pages from another page (i.e. products)?

Avatar
schellmax

Community Member, 126 Posts

6 May 2009 at 1:19am

in your template, use
<% control ChildrenOf(page-url) %>
see also http://doc.silverstripe.com/doku.php?id=built-in-page-controls
enjoy

Avatar
Big Bang Creative

Community Member, 92 Posts

6 May 2009 at 4:16am

Manged to do it! cheers