I think I'm missing something very simple here...
I used the ddsmoothmenu format on a static site I built some years ago. Now I'm revisiting and updating the site using the Silverstripe CMS. Everything's gone well apart from the two level dropdown navigation menus. While my styles have some through untouched the second level has disappeared.
I'm not totally surprised here, as I thought this would be a sticky area. I was, however, delighted to find that a contributor named 'Antione' had thoughtfully packaged up all the required code as Silverstripe module, complete with some (very basic) instructions.
I understand that the package is to be installed at root directory but am unsure where $Smoothmenu goes? I've tried placing it in the Navigation.ss include file, replacing $Link but when I do the menu has no links on it. As it stands I'm getting no submenus, using the same stylesheets that work fine on the current static HTML site.
The supplied instructions:
Download and install the project to the root directory of your silverstripe project : myproject/ssdropdownmenu
Or (advanced users) create a svn:externals rule on the root directory of your project svn propset svn:externals http://ssdropdownmenu.googlecode.com/svn/trunk/ ssdropdownmenu
To use the menu in a template (most of the time Page.ss), use simply :
* or $CssMenu
* call with an argument (1) to add the admin menu links for login and access to the CMS at the end of your menu : $SmoothMenu(1) or $CssMenu(1)
Not too clear on where the $SmoothMenu should go? Presumably in Navigation.ss in place of $Link? Only then all links in the served page are empty!
Can anybody point out the fundamental mistake that I am making? Thanks!