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

SiteConfig not showing menu.

Go to End

2 Posts   789 Views


Community Member, 7 Posts

5 April 2012 at 2:06am


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 %>
			   <% end_control %>


Community Member, 7 Posts

5 April 2012 at 3:03am

Solved. Problem - siteconfig just not support childrens :)