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

SiteConfig not showing menu.


Go to End


2 Posts   1126 Views

Avatar
Benas

Community Member, 7 Posts

5 April 2012 at 2:06am

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

Avatar
Benas

Community Member, 7 Posts

5 April 2012 at 3:03am

Solved. Problem - siteconfig just not support childrens :)