Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have this struktur:
UK- A1 -- AA11- A2DK- B1- B2 -- BB33
<xsl:for-each select="$currentPage/ancestor-or-self::root//* [@isDoc and string(umbracoNaviHide) != '1']">
If I using this I get a menu white all page. I just wont to have the UK or the DK tree. how can I do that?
Hi John
You might want to try out the default build-in Main Navigation XSLT template. Called something like List Subpages by Level.
Well, actually instead of using your code, try this:
<xsl:for-each select="$currentPage/ancestor-or-self::*[@level='1']//* [@isDoc and string(umbracoNaviHide) != '1']">
/Kim A
Hi Kim - I am, as you sure has thought, new to Umbraco and XSLT, and not least, therefore, thanks for your help
You are welcome. I'm glad you liked the answer.
Let us know if you any further questions :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Xslt menu
I have this struktur:
UK
- A1
-- AA11
- A2
DK
- B1
- B2
-- BB33
<xsl:for-each select="$currentPage/ancestor-or-self::root//* [@isDoc and string(umbracoNaviHide) != '1']">
If I using this I get a menu white all page. I just wont to have the UK or the DK tree. how can I do that?
Hi John
You might want to try out the default build-in Main Navigation XSLT template. Called something like List Subpages by Level.
Well, actually instead of using your code, try this:
/Kim A
Hi Kim - I am, as you sure has thought, new to Umbraco and XSLT, and not least, therefore, thanks for your help
Hi John
You are welcome. I'm glad you liked the answer.
Let us know if you any further questions :)
/Kim A
is working on a reply...