commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark R. Diggory" <>
Subject Move Commons projects below "Project Documentation" in Navigation
Date Sun, 15 Feb 2004 16:08:08 GMT
This idea has been proposed before, only people thought it not possible. 
However, after some digging, I found out it is.

<j:if test="${date == 'navigation-top'}">
               <div id="lastPublished">Last published: ${}</div>
             <x:if select="$nav">
               <jsl:applyTemplates select="$nav/body/menu[not(@type) | 
@type='header'] | $nav/body/search"/>
				    <jsl:applyTemplates select="$projectNav/body/menu"/>
             <!-- allows user to put menu items after standard reports -->
             <x:if select="$nav">
               <jsl:applyTemplates select="$nav/body/menu[@type='footer']"/>

in the site.jsl when processing the navigation, if the following 
'type="footer" attribute is added to any menu tag, then the navigation 
menu shows up "after" the Project Documentation.

This should solve alot of the complaints about showing all the Commons 
Project in the navigation, because everyone is really trying to get to 
the Project Doc.


Mark Diggory
Software Developer
Harvard MIT Data Center

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message