You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by "Roy, Ansuman" <an...@logicacmg.com> on 2006/01/18 11:35:59 UTC
Display Page description in Left Menu
Hi,
How do i display the page description (the description field when i create a document) into the
left menu. this typically should look like
Home---Home Description
Tutorials--- Tutorial Description
regards,
Roy
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Display Page description in Left Menu
Posted by so...@apache.org.
On 1/18/06, Andreas Hartmann <an...@apache.org> wrote:
> Roy, Ansuman wrote:
> > Hi,
> > How do i display the page description (the description field when i create
> > a document) into the left menu. this typically should look like
> > Home---Home Description
> > Tutorials--- Tutorial Description
> You can't use the navigation framework out of the box for this purpose.
> There are two options:
> 1. use your own navigation.xmap in your publication
> 2. use custom pipelines
>
> In either case, I'd recommend the following strategy:
> 1. generate the site tree
> 2. apply an XSLT to add CInclude statements for meta data
> 3. apply the CInclude transformer
> 4. apply a presentation XSLT
> The steps 2.-4. could be replaced by a transformer for better performance,
> if you're familiar with Java and developing Cocoon components.
> -- Andreas
Using Lenya1.2.2, I created XML including the sitetree and the
descriptions using XPathDirectory. This could be converted for your
need.
Would it be better as a page for a super web sitemap (like a normal
web sitemap, but including the descriptions)? The normal use of menus
is to allow quick navigation with as small a footprint as possible. I
have trouble visualizing content pages with the descriptions included
in the menus; it would quickly become user-unfriendly.
solprovider
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Display Page description in Left Menu
Posted by Andreas Hartmann <an...@apache.org>.
Roy, Ansuman wrote:
> Hi,
> How do i display the page description (the description field when i create a document) into the
>
> left menu. this typically should look like
>
> Home---Home Description
> Tutorials--- Tutorial Description
You can't use the navigation framework out of the box for this purpose.
There are two options:
1. use your own navigation.xmap in your publication
2. use custom pipelines
In either case, I'd recommend the following strategy:
1. generate the site tree
2. apply an XSLT to add CInclude statements for meta data
3. apply the CInclude transformer
4. apply a presentation XSLT
The steps 2.-4. could be replaced by a transformer for better performance,
if you're familiar with Java and developing Cocoon components.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org