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
Hi there
I Dont know how I should think here
I have a menu structure like this
Startpage
-Page1
-Login Page
--Protected page 1
--Protected page 2
--Protected page 3
-About us
How should I do if want a user to see links to the tree protected pages after a grantes logged in user.?
Should a place an IF statement in the xslt code or how ?
/Henrik
There are 2 umbraco library method call you can use to do this.
IsProtected && HasAccess
Have a look at the ClientArea project for a starting point for Umbraco security.
http://our.umbraco.org/projects/clientarea
Henrik,
Here's two methods that are quite useful in checking access to protected pages from within xslt:
umbraco.library:HasAccess() umbraco.library:IsProtected()
Both methods are available through the 'insert xsl:value-of' dialog. (Get extension button, choose umbraco.library from dropdown)
Cheers,
/Dirk
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
Public access subpages with membership
Hi there
I Dont know how I should think here
I have a menu structure like this
Startpage
-Page1
-Login Page
--Protected page 1
--Protected page 2
--Protected page 3
-About us
How should I do if want a user to see links to the tree protected pages after a grantes logged in user.?
Should a place an IF statement in the xslt code or how ?
/Henrik
There are 2 umbraco library method call you can use to do this.
Have a look at the ClientArea project for a starting point for Umbraco security.
http://our.umbraco.org/projects/clientarea
Henrik,
Here's two methods that are quite useful in checking access to protected pages from within xslt:
Both methods are available through the 'insert xsl:value-of' dialog. (Get extension button, choose umbraco.library from dropdown)
Cheers,
/Dirk
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.