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.

Template Questions /

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

Loop Children ss 2.4


Go to End


3 Posts   2269 Views

Avatar
shluckey

Community Member, 19 Posts

19 July 2012 at 3:44am

Hey guys,

From the tutorial i learned how to loop in ss3.

However using this syntax in version 2.4 dosnt work.

How do I loop child(sub pages) in the earlier version?

Avatar
lerni

Community Member, 81 Posts

19 July 2012 at 9:16am

hi there

<% control Children %>
have a look here: http://doc.silverstripe.org/framework/en/reference/templates-upgrading-guide

best lukas

Avatar
Willr

Forum Moderator, 5523 Posts

19 July 2012 at 7:03pm

If you need documentation for an earlier release simply select the right version at the top of the docs page. http://doc.silverstripe.org/framework/en/2.4