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
HiI have a couple of pages that are protected with public accessHow do I do that thes protected pages are not shown in the sitemap
/Henrik/
Hi Hendrik,
If you create an xslt Sitemap and choose the Sitemap template to start with it's baked in for you.
<xsl:if test="umbraco.library:IsProtected($parent/@id, $parent/@path) = 0 or (umbraco.library:IsProtected($parent/@id, $parent/@path) = 1 and umbraco.library:IsLoggedOn() = 1)">
Cheers,
Richard
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
Sitemap public access
Hi
I have a couple of pages that are protected with public access
How do I do that thes protected pages are not shown in the sitemap
/Henrik/
Hi Hendrik,
If you create an xslt Sitemap and choose the Sitemap template to start with it's baked in for you.
<xsl:if test="umbraco.library:IsProtected($parent/@id, $parent/@path) = 0 or (umbraco.library:IsProtected($parent/@id, $parent/@path) = 1 and umbraco.library:IsLoggedOn() = 1)">
Cheers,
Richard
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.