Re: Submenus

Matthias Dieke <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <[email protected]>
Hi,

> 
> BTW. How did you get separate content in your topnavi and leftnavi on  
> the Nordic walking Kiel page? (I probably won't have that on my page  
> but, I'm just curious. ;-)


I gave the collections which I liked to show in the topnavi a 
"display-order"-value greater then 30 and the collections for the left 
side got values less then 30.

After that I modified the xsl ;)


  <xsl:template name="leftnavi">
<ul>
         <xsl:for-each 
select="$navitreePlugin/collection/items/collection[display-order > 0 
and display-order &lt; 30 ]">

... here comes the other xsl-stuff of the leftnavi-part ;) ...


</xsl:template>


<xsl:template name="topnavi">

         <xsl:for-each 
select="$navitreePlugin/collection/items/collection[display-order >= 30]">
             <xsl:sort select="display-order" order="ascending" 
data-type="number"/>


... here comes the other xsl-stuff of the topnavi-part ;) ...

</xsl:template>


Matthias

-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.