Re: blog-collections as submenue of a other collection
Christian Stocker <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Organization | Bitflux GmbH |
| Message-ID | <[email protected]> |
hi
can you check the apache error log, that may contain more information
what actually went wrong here
chregu
On 31.10.2005 19:11 Uhr, Matthias Dieke wrote:
> Hi,
>
> for a client I moved the blog-plugin form "/blog" to "/aktuell/news".
> Everything works normal ;)
>
> The collection "aktuell" has some more sub-collections:
>
>
> /akutell
> /news (the blog)
> /notizblock
> /interview
> ...
>
>
> To get a nested menue for the blog like this:
>
> /akutell
> /news (the blog)
> /all
> /presse
> ...
> /notizblock
> /interview
> ...
>
>
> I copied the "<xsl:template match="items/collection|
> plugin/collection">" form the master.xsl to the blog.xsl and modified
> the template:
>
>
> <xsl:template match="items/collection| plugin/collection">
>
> .....
>
> <xsl:if test="local-name()='collection' and ( @selected =
> 'selected')">
>
> UNCOMMENT THE NEXT LINE
> <!-- <xsl:apply-templates select="."/> -->
>
> ADDED THE NEXT LINE
>
> <xsl:apply-templates
> select="document(concat('portlet://',$collectionUri,'plugin=categories(',$filename,').xml'))/bx/plugin/collection"/>
>
> </xsl:if>
>
> </xsl:for-each>
> </ul>
> </xsl:if>
>
> </xsl:template>
>
>
> Now the menue will be shown in the way I like.
>
> /akutell
> /news (the blog)
> /all
> /presse
> ...
> /notizblock
> /interview
> ...
>
>
> When I click on "news" the latest blogposts will shown. But when I click
> on a blog-categorie or "all" I get these "PopoonXSLTParseErrorException":
>
> Message: XSLT Error in
> /var/www/fczeitz-frauen.de/bxcms/themes//fczeitz/blog.xsl
>
> Code: 0
>
> userInfo:
>
> In File
> /var/www/fczeitz-frauen.de/bxcms/inc/popoon/components/transformers/xslt.php
> Line 106
>
> stacktrace
>
> #0
> /var/www/fczeitz-frauen.de/bxcms/tmp/_var_www_fczeitz-frauen.de_bxcms_sitemap_sitemap.xml(1565):
> popoon_components_transformers_xslt->DomStart(Object(DOMDocument))
> #1 /var/www/fczeitz-frauen.de/bxcms/inc/popoon/sitemap.php(178):
> include('/var/www/fczeit...')
> #2 /var/www/fczeitz-frauen.de/bxcms/inc/popoon/sitemap.php(164):
> popoon_sitemap->runSitemap('./tmp/_var_www_...')
> #3 /var/www/fczeitz-frauen.de/bxcms/inc/popoon/popoon.php(182):
> popoon_sitemap->__construct('/var/www/fczeit...', 'aktuell/news/ne...',
> Object(bx_config))
> #4 /var/www/fczeitz-frauen.de/bxcms/inc/popoon/popoon.php(160):
> popoon->run('/var/www/fczeit...', 'aktuell/news/ne...', Object(bx_config))
> #5 /var/www/fczeitz-frauen.de/bxcms/index.php(28):
> popoon->__construct('/var/www/fczeit...', 'aktuell/news/ne...',
> Object(bx_config))
> #6 {main}
>
>
> I have no idea why I get the exception, can someone help me?
>
> Thanks for your help.
>
> Matthias
>
>
>
>
>
--
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