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.

General Questions /

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

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

Child pages of products page listed on homepage?


Reply


3 Posts   696 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