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

control Children in control Children incontrol Children


Go to End


2 Posts   3692 Views

Avatar
astate

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

Avatar
cliersch

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?