You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Michael Wechner <mi...@wyona.org> on 2003/09/09 19:58:44 UTC

Menu items problems

Hi

It seems like the menu items have changed somehow, because after I have 
updated Lenya, the items
don't show up within the "blog" publication.

Anyone what has changed?

Any help appreciated.

Thanks

Michael


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org


Re: Menu items problems

Posted by Michael Wechner <mi...@wyona.org>.
Andreas Hartmann wrote:

> Michael Wechner wrote:
>
>> Hi
>>
>> It seems like the menu items have changed somehow, because after I 
>> have updated Lenya, the items
>> don't show up within the "blog" publication.
>>
>
> The problem is the "block" matcher in pubs/blog/xslt/global.xsl.
> It matches the menu blocks.
>
> Long-term solutions:
>
> 1) a namespace for the menu XML
>
> 2) transforming the menu before inserting it
>    (don't call menu.xsl from root.xsl)
>
> 3) both of these
>
> I would prefer 3) :) 


me too :-)

Thanks very much

Michael


>
>
> Andreas
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org


Re: Menu items problems

Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:
> Hi
> 
> It seems like the menu items have changed somehow, because after I have 
> updated Lenya, the items
> don't show up within the "blog" publication.
> 

The problem is the "block" matcher in pubs/blog/xslt/global.xsl.
It matches the menu blocks.

Long-term solutions:

1) a namespace for the menu XML

2) transforming the menu before inserting it
    (don't call menu.xsl from root.xsl)

3) both of these

I would prefer 3) :)

Andreas



---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org