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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

superfish navigation


10 Posts   3956 Views


7 July 2009 at 12:00am Community Member, 79 Posts


I think I have sorted it by looking through the forum at other posts and solutions
I found this post:

and finally I used the following, hopefully correct:

   <ul id="topmenu" class="sf-menu sf-navbar">
<% control Menu(1) %>

<li <% if LinkOrSection = section %>class="current"<% end_if %>><a href="$Link" >$MenuTitle</a>

<% if Children %>
<% if URLSegment != what-s-new %>

<% control Children %>
<li><a class="$LinkingMode" href="$Link" title="Go to the {$Title} page">$MenuTitle</a></li>
<% end_control %>
<% end_if %>
<% end_if %>
<% end_control %>

Thank you very much for all your help NickJacobs, I really appreciate it.


17 July 2009 at 10:56pm Community Member, 79 Posts

I thought I had completed the problem with the navigation, however it seems the hidden children don't show a blank dropdown on parent hover. Therefore confusing the user. is there a fix for this? or would this be a superfish issue?

I see this on this site:
built by NickJacobs. It seems that if no children, no blank subnav is shown, however just repeats the navigation selected.

Any ideas on how to show a blank subnav?