Some menu customisation in Silverstripe

Posted by alienv on Stack Overflow See other posts from Stack Overflow or by alienv
Published on 2010-04-14T16:47:54Z Indexed on 2010/04/14 16:53 UTC
Read the original article Hit count: 214

Filed under:
|
|

1) i need set different class name for every menu item, based on a menu row (iterating, i need just a number)

<% control Menu(1) %>
<div class="mainmenu-item-$MenuItemRow"><a href="$Link">$MenuTitle</a></div>
<% end_control %>

2) is there a simple way to create an small second menu ?

© Stack Overflow or respective owner

Related posts about silverstripe

Related posts about php