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:

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   888 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