Jump to:

3393 Posts in 976 Topics by 852 members

Template Questions

SilverStripe Forums » Template Questions » SiteConfig not showing menu.

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

Page: 1
Go to End
Author Topic: 331 Views
  • Benas
    Avatar
    Community Member
    7 Posts

    SiteConfig not showing menu. Link to this post

    Hi,

    I`m decorated SiteConfig. Add check box, and when its marked I need to show menu childrens. But its not working, maybe somebody know what prolblem?

    -<% control Menu(1) %>
                 <li class="$LinkingMode">
                   <a href="$Link" title="Go to the &quot;{$Title}&quot; page">$MenuTitle</a>
                   <% control SiteConfig %>
                      <% if testas1 %>
                         <% control Children %>
                          <li id="test" class="$LinkingMode"><a href="$Link" title="$Title">$MenuTitle</a></li>
                         <% end_control %>
                      <% end_if %>
                   <% end_control %>
                </li>
              <% end_control %>

  • Benas
    Avatar
    Community Member
    7 Posts

    Re: SiteConfig not showing menu. Link to this post

    Solved. Problem - siteconfig just not support childrens

    331 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.