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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

superfish navigation

Go to End

10 Posts   5040 Views


Community Member, 79 Posts

7 July 2009 at 12:00am


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.


Community Member, 79 Posts

17 July 2009 at 10:56pm

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?

Go to Top