This question about Topic Markup Language and applications: Answered
How to recreate navigation bar
I am trying to recreate the navigation bar that is in the Foswiki skin. The only way I could figure out to recreate it (I am new at coding in this language) was to edit
FoswikiSiteSkinNavigationTemplate on the home site and then copy and paste the code onto mine. User access controls prevent me from doing this. Can somebody tell me how to recreate this menu?
Thanks
Ryan
--
RyanCasey - 01 Jul 2009
First you have to install
FoswikiSiteSkin. Then in
System.FoswikiSiteSkinNavigationTemplate
you can modify the menu.
There are lines in the form
%TMPL:P{"topbarbutton" ID="" DESTWEB="%WEB%" DESTTOPIC="WebHome" LABEL="Home"}%
There modifing the DESTTOPIC, DESTWEB and LABEL parameters you can obtain diferent links.
Check a working example in
http://www.bookstudy.org (an example of modified template in
http://www.bookstudy.org/English/FoswikiSiteSkinNavigationTemplate)
BTW you can always copy the code of a topic you can view using
Raw view option in the bottom menu.
--
EnriqueCadalso - 09 Jul 2009