hi all,
i'm converting my static site to silverstripe theme and i have small problem with dropdown navigation. i have find on this forum sample code which works great for me but with one error. unfortunately, on third level position navigation shows second level items again.
so, first level navigation is ok, second level is ok and third level elements position is ok but links and titles are from second level.
thanks for any help...
--------------------------
<div id="toolbar">
<ul>
<% control Menu(1) %>
<li><a href="$Link">$MenuTitle</a>
<ul id="subnav1">
<% control Children %>
<li><a href="$Link">$MenuTitle</a>
<% end_control %>
<ul id="subnav2">
<% control Children %>
<li><a href="$Link">$MenuTitle</a></li>
<% end_control %>
</ul></li>
</ul>
</li><% end_control %>
</ul>
</div>