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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...