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