Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Purpose of $secondarynav

Quote Reply
Purpose of $secondarynav
    Hi, in "include_header.html" template there is a line that states:

<%~if secondarynav%><%include $secondarynav%><%endif%>

What is the purpose of $secondarynav? Some kind of a sub-menu? How do I edit and/or enable it?
Jack R.
http://www.aeroseek.com/
Quote Reply
Re: [aeroseek] Purpose of $secondarynav In reply to
It is used for the bookmarks options.
Quote Reply
Re: [aeroseek] Purpose of $secondarynav In reply to
It's used by the bookmarks pages, but if you add pages, you can also easily add a secondary nav by setting the $secondarynav variable to the name of the template that contains the navigation (eg. <%set secondarynav = 'mynav.html'%> at the top of your template).

Adrian
Quote Reply
Re: [brewt] Purpose of $secondarynav In reply to
Thanks for explaining that Adrian, just what I needed for something I had in mind. Some nice functions available in Links now Wink

John
Significant Media