I guess you'll have to change your xslt/code to update your menu so the page becomes visible to the member. Anyway, from xslt or code, you can use the IsProtected() and HasAccess() functions (in umbraco.library namespace) to check whether a page is protected and whether a member has access to a specific page.
Page only visible for members - how to?
Hi guys!
ive been using the Public access to redirect a member to the login page, when the member login, the content of the page would be visible..
but what i really want is a login page, and when the member login the new page will become visible in the menu - is this possible?
Mathias,
I guess you'll have to change your xslt/code to update your menu so the page becomes visible to the member. Anyway, from xslt or code, you can use the IsProtected() and HasAccess() functions (in umbraco.library namespace) to check whether a page is protected and whether a member has access to a specific page.
Cheers,
/Dirk
Thanks Dirk!
Do you have an example, becuase im not so good at coding..
the xslt sitemap example which is available from the dropdown when you create a new xslt should have these functions...
Cheers,
/Dirk
Or you can try the cogworks menu package which also filters for logged in users.
is working on a reply...