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:

Template Questions /

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

control Children in control Children incontrol Children

Go to End

2 Posts   3254 Views


Community Member, 35 Posts

25 March 2009 at 4:17am

How many control children i can use?

<% control Children %>
$Title 1
<% control Children %>
- $Title 2
<% control Children %>
-- $Title 3
<% end_control %>
<% end_control %>
<% end_control %>

In this code i have only the two first level, i dont have the result of $Title 3


Community Member, 75 Posts

25 March 2009 at 4:46am

Edited: 25/03/2009 4:47am

Your control structure should work! You should see all children. Be aware you need 4 menue items to see 3 Children. Titel 1 is the first submenu - > and Titel 3 the forth layer. Do you have this structure?