jreeman wrote:
Hello,
I would like the current item menu to be displayed in bold.
For example if the user see the submenu 2, I d like I see something like
that :
menuOne menuTwo menuThree
but the xsl sheet transforming in HTML the menu is shared for the different
page of the site.
I am a not lenya expert and the simple way I have found out is to put a
parameter (why not the URI for example) in the doctypes.xml :
<map:parameter name="menuId" value="menuOneId" />
(<map:parameter name="menuId" value="{request:requestURI}" />)
and to test this variable "menuId" in the xsl to put in bold the correct
menu.
But there are many pages and I would have to add this parameter in all the
"map:match pattern" of the doctypes.xml file.
I'm not lenya expert then perhaps is there another more powerfull way to
implement this ?
Thank you in advance for your help.
Are you talking about authoring or for the live side? 1.2 or 1.4? For
1.4 on the live side you can test for @current = 'true' in the XSLT. The
menu.xsl file that is the default does this and can be your guide.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]