You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2003/09/24 17:41:44 UTC

Re: [all] problems with the navigation

sandra gubler wrote:
 > hi everyone,
 >
 > i want to insert the "lenyabody" pipeline into the sitemap. i
 > know what the pipeline actually does and that i aggregates all the
 > navigation gadgets with the content. i'm having problems with the paths
 > though:
 >
 > 1.) in my main pipeline i invoke the "lenyabody" pipeline as follows
 >
 > <map:generate 
src="cocoon:/lenyabody/{page-envelope:publication-id}/{page-envelope:area}/{page-envelope:document-type}{page-envelope:document-url}"/>
 >
 > what i would like to know...how exactly does it get these parameters?

 From the page envelope input module:
http://cocoon.apache.org/lenya/docs/components/pageenvelopemodule.html
(the docs have to be completed, the javadocs are a more
comprehensive source of information)

 > I guess publication-id would be wyona.com,

Yes.

 > area = live/authoring,

Yes, and some others.

 > document-type=??,

The document type is obtained using the URI parameterizer:
http://cocoon.apache.org/lenya/docs/components/URIParametrizer.html

 > and url = the url.

Everything after the area.

 > does it get all this info from the requested uri?

Yes.

 > and what exactly does the page-envelope do?

It parses the URI and provides a set of important information
about the document.


 > 2.) in the "lenyabody" pipeline i get for example the tab bar as follows
 >
 >     <map:part src="cocoon://navigation/{1}/{2}/tabs/{4}.xml"/>
 >
 >        where is this file? i guess this is in the core and i don't have
 > to put it in my publication.

Yes, it's in the core. The tabs are generated using the sitetree.
The stylesheets are located in lenya/xslt/navigation/. You can
override them in your publication:
http://cocoon.apache.org/lenya/docs/concepts/navigation.html

HTH,
Andreas



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


Re: [all] problems with the navigation

Posted by sandra gubler <sa...@wyona.com>.
thanks!

----- Original Message -----
From: "Andreas Hartmann" <an...@apache.org>
Newsgroups: gmane.comp.cms.lenya.user
Sent: Wednesday, September 24, 2003 5:41 PM
Subject: Re: [all] problems with the navigation


> sandra gubler wrote:
>  > hi everyone,
>  >
>  > i want to insert the "lenyabody" pipeline into the sitemap. i
>  > know what the pipeline actually does and that i aggregates all the
>  > navigation gadgets with the content. i'm having problems with the paths
>  > though:
>  >
>  > 1.) in my main pipeline i invoke the "lenyabody" pipeline as follows
>  >
>  > <map:generate
>
src="cocoon:/lenyabody/{page-envelope:publication-id}/{page-envelope:area}/{
page-envelope:document-type}{page-envelope:document-url}"/>
>  >
>  > what i would like to know...how exactly does it get these parameters?
>
>  From the page envelope input module:
> http://cocoon.apache.org/lenya/docs/components/pageenvelopemodule.html
> (the docs have to be completed, the javadocs are a more
> comprehensive source of information)
>
>  > I guess publication-id would be wyona.com,
>
> Yes.
>
>  > area = live/authoring,
>
> Yes, and some others.
>
>  > document-type=??,
>
> The document type is obtained using the URI parameterizer:
> http://cocoon.apache.org/lenya/docs/components/URIParametrizer.html
>
>  > and url = the url.
>
> Everything after the area.
>
>  > does it get all this info from the requested uri?
>
> Yes.
>
>  > and what exactly does the page-envelope do?
>
> It parses the URI and provides a set of important information
> about the document.
>
>
>  > 2.) in the "lenyabody" pipeline i get for example the tab bar as
follows
>  >
>  >     <map:part src="cocoon://navigation/{1}/{2}/tabs/{4}.xml"/>
>  >
>  >        where is this file? i guess this is in the core and i don't have
>  > to put it in my publication.
>
> Yes, it's in the core. The tabs are generated using the sitetree.
> The stylesheets are located in lenya/xslt/navigation/. You can
> override them in your publication:
> http://cocoon.apache.org/lenya/docs/concepts/navigation.html
>
> HTH,
> Andreas


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