13 August 2009 at 9:16pm
How to I password protect a page?
If a client goes to a certain page, I want a log in form to show, so when they log in they will be able to see that page. How do I do this?
I can see "logged in users can view this page" under the access tab but this hides the page and doesnt show the log in form.
I have seen Arams article on SSBits on Custom Login Form with Group Based Redirection. But this doesnt seem to answer my problem either.
I am looking to use this with the Filesharing module.
14 August 2009 at 6:33am
Try leaving the Page you want to be password protected as "only accessible by logged-in users" then setup another Virtual Page that sends to it. Then users will be able to see the Virtual page if they are not logged in and clicking on it will force a login on the way to the other page. You might have to do some custom work to you Navigation to hide that Virtual Page once logged in.
Alternatively you could create a Top Level page that is not password protected and put the page with protected content and accessibility limited to logged in users under it in the hierarchy. Then you just have to make it pretty.