Change nav item based on whether its a child of a certain parent.
Hi, I have a multilingual site with an English node and a Spanish node, I'm trying to switch the "Home" link in my nav based on which document you're under and can't seem to figure it out using an xsl:when statement, any idea where I'm going wrong?
If your setup has two different root nodes, one for the english site and one for the spanish, a link to the root node should change depending on wich tree you are on. Example below with dictionary item for the link text.
Change nav item based on whether its a child of a certain parent.
Hi, I have a multilingual site with an English node and a Spanish node, I'm trying to switch the "Home" link in my nav based on which document you're under and can't seem to figure it out using an xsl:when statement, any idea where I'm going wrong?
Here's what I've been workign with:
Thanks for your help!
Amir
If your setup has two different root nodes, one for the english site and one for the spanish, a link to the root node should change depending on wich tree you are on. Example below with dictionary item for the link text.
You need to set your hostnames for this setup to work: Example add domain yourdomain.com/en with language english to "en" node.
is working on a reply...