commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark R. Diggory" <mdigg...@latte.harvard.edu>
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: ${build.date}</div>
             </j:if>
             <x:if select="$nav">
               <jsl:applyTemplates select="$nav/body/menu[not(@type) | 
@type='header'] | $nav/body/search"/>
             </x:if>
				    <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']"/>
             </x:if>

http://cvs.apache.org/viewcvs.cgi/maven-plugins/xdoc/src/plugin-resources/site.jsl

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

-- 
Mark Diggory
Software Developer
Harvard MIT Data Center
http://www.hmdc.harvard.edu

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message