Hey i'm completely new to SilverStripe CMS
my customer use SilverStripe and have wish.
Sorry for my bad english. i'm german.
a sub-menu must be dont appear if the content of the sub-menu point is empty.
how can i realize that ?
if found the code part in the template:
<div id="navigation-menue" role="navigation"<% if ClassName == "WBBStartPage" %> class="start"<% end_if %>>
<ul id="navigation-menue-list">
<% control Menu(1) %>
<li class="$LinkingMode<% if Children %> has-childs<% end_if %>">
<a href="$Link" class="din" title="$Title.XML">$MenuTitle.XML</a>
<% if Children %>
<ul>
<% control Children %>
<li><a href="$Link" class="din" title="$MenuTitle.XML">$MenuTitle</a></li>
<% end_control %>
</ul>
<% end_if %>
</li>
<% end_control %>
</ul>
</div>
how can i say that "<li><a href="$Link" class="din" title="$MenuTitle.XML">$MenuTitle</a></li>" just appear if the content of that page is not empty?
i hope anybody can help me
thanks in advance