Technical Support Forum
"I played around with the site and edited some things. Mostly pretty subtle stuff. It works great. [My Wife] commented on how well it worked for a computer illiterate chap, such as myself."
Malcolm Atherton halfmoonvilla.com realrum.com
|
Questions about creating a nav bar.| Author | | admin
5/30/2005 12:38:44 PM | >trying to get a nav system template to work, left hand nave that shows >children off the root, can you point us in the right direction???
You probably want to simply add a nav bar...use the gethtml call in the default.htm framework file. Note that mode="nav" could be replaced with "nav2" and "nav3" for slight variations.
<gethtml data="extendedobject" mode="nav" id="/" objtype="default"/>
OR...maybe you are beyond that point and want to create a custom navigation bar. (ie: a new .xsl file) You would want to copy nav.xsl from the /system/currentversion/templates/default directory. Change the path at the top from ../system.xsl to ../../system/currentversion/templates/system.xsl and then carefully edit it in a text editor (mostly like html) Place the new file in a directory under /templates (perhaps also called default). Then use a similar gethtml tag but use the new filename (minus the .xsl) for the mode and the new directory name as the objtype.
Note, it can be helpful to put text in the file such as "Hello World" so you know that it is actually getting loaded to start.
-John
| | |
| |
|
Update - The old code stopped working on FireFox 4.0+ The old menu.js file stopped working. Do two things to fix it:
1) add style="position:relative;....
more
|
 |
 |  |