Re: Submenus

Christian Stocker <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Organization Bitflux GmbH
Message-ID <[email protected]>

On 4.10.2005 0:38 Uhr, Simon Rönnqvist wrote:

> 
>   Yep...
> But I found that the leftnavi disappears when visiting the blog and 
> gallery pages, probably since they have leftnavis of their own in  their
> XSL-files. Does it override the master.xsl one? (I'm just  thinking
> since the topnavi still shows up on these pages (if not  commented out),
> and there's no topnavi in the blog.xsl and  gallery.xsl files.)

yep, there's a

    <xsl:template name="leftnavi">

        <xsl:apply-templates
select="document(concat('portlet://',$collectionUri,'plugin=categories(',$filename,',count).xml'))/bx/plugin/collection"/>
    </xsl:template>

in blog.xsl for example, which does its own second-level stuff (and
overwrites the one from master.xsl)

Adjust that to your needs and it should work.

chregu


-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch | [email protected] |  GPG 0x5CE1DECB
-- 
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.