help

View: New views
2 Messages — Rating Filter:   Alert me  

help

by Pascal Good :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear List.
I have a problem with the 3rd level navigation. Under http://crow-ten.freeflux.net/angebote/
you can see the first level (Angebote), the second level (Migration, Beratung, Spezial:Lärm, Spezial:Adressen)
and the third level (Requirements Enginnering,...).
So far so good.

But the client would like to have in that view, that all points of the third level (also from the Beratung, Lärm and Adressen)
is on display.
Is that possible?

Many thanks for your help!

Pascal Good

--
bitflux-cms mailing list
bitflux-cms@...
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms

Re: help

by florent Claude :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
You can use the sitemap plugin instead of the navitree one.
Here are the steps :

in /inc/bx/plugins/, you should have a file called sitemap.php (http://svn.bitflux.ch/repos/public/fluxcms/trunk/inc/bx/plugins/sitemap.php)

in /.configxml
<?xml version="1.0"?>
<bxcms xmlns="http://bitflux.org/config">
    <plugins>
	<parameter name="xslt" type="pipeline" value="static.xsl"/>
        <extension type="html"/>
        <plugin type="xhtml" admin="true"></plugin>
	<plugin type="navitree"></plugin>
	<plugin type="sitemap"></plugin>
    </plugins>
</bxcms>

then in master.xsl, at the begining :
<xsl:variable name="sitemapPlugin" select="/bx/plugin[@name='sitemap']"/>

and then later you can use the variable to build your menu. here is an for example from one of my sites :

<xsl:for-each select="$sitemapPlugin/sitemap//*[@uri='/products/']/*/collection">
	<xsl:sort select="display-order" order="ascending" data-type="number" />
	<a href="{$webrootLangW}{@uri}" title="{display-name}"><xsl:value-of select="display-name" /></a>
</xsl:for-each>

Hope this helps.
Regards,

florent Claude  |  créatif web libre  |  http://www.ezoulou.be


Le lundi 02 juin 2008 à 15:39 +0200, Pascal Good a écrit :
Dear List.
I have a problem with the 3rd level navigation. Under http://crow-ten.freeflux.net/angebote/
you can see the first level (Angebote), the second level (Migration, Beratung, Spezial:Lärm, Spezial:Adressen)
and the third level (Requirements Enginnering,...).
So far so good.

But the client would like to have in that view, that all points of the third level (also from the Beratung, Lärm and Adressen)
is on display.
Is that possible?

Many thanks for your help!

Pascal Good

--
bitflux-cms mailing list
bitflux-cms@...
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
LightInTheBox - Buy quality products at wholesale price