Message Text |
I have used this method many times with no problem, however, now I come to set it up with v.5 series I just cannot get it to work!
I have my usual toplist showing toplevel categories as a menu - no problem there. However, I want that to also show on non wsn pages so I do the following for javascript export...
To generate: export-menu|categories,priority;name,50,ascending,parent='0' ,,,0,0,0,0,0,0,,0
to file: menu.js
I call it: <script language="javascript" src="http://www.123photographs.co.uk/javascript/menu.js"> </script>
My export-menu.tpl...
<!-- BEGIN TOPLIST -->
<CONFIG>categories,priority;name,50,ascending,parent ='0',,,0,0,0,0,0,0,,0</CONFIG>
<li><a href="{CATURL}" title="{CATNAME}">{CATNAME}</a></l i>
<!-- END TOPLIST -->
I also tried giving the toplist a number, but that didn't work. |