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 just want to check this is the correct way of doing this. It seems to work but wanted to check there wasn't a better way.
<xsl:for-each select="$currentPage/ancestor-or-self::* [@level=$level]/* [@isDoc and string(umbracoNaviHide) != '1' and (umbraco.library:IsProtected(@id, @path) = false() or umbraco.library:HasAccess(@id, @path) = true())]"> <li>item here</li></xsl:for-each>
Thank you in advance.
Looks like that is the best way in xslt :).
Jeroen
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Restricting Navigation Items base on Member Groups - Xslt
I just want to check this is the correct way of doing this. It seems to work but wanted to check there wasn't a better way.
Thank you in advance.
Looks like that is the best way in xslt :).
Jeroen
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.