Jump to:

3447 Posts in 1032 Topics by 872 members

Template Questions

SilverStripe Forums » Template Questions » control Children in control Children incontrol Children

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

Page: 1
Go to End
Author Topic: 2673 Views
  • astate
    Avatar
    Community Member
    35 Posts

    control Children in control Children incontrol Children Link to this post

    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

  • cliersch
    Avatar
    Community Member
    75 Posts

    Re: control Children in control Children incontrol Children Link to this post

    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?

    2673 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.