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 < 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