Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Client Login


Go to End


3 Posts   2018 Views

Avatar
mhull

Community Member, 79 Posts

8 March 2009 at 1:20pm

I want to have a page in the navigation that will show a login to a password protected page, which I can set through Security Groups

I have looked through the forums, and have found this question asked before, but not a full answer. The closest I could find was:

http://silverstripe.org/archive/show/151216?start=0
http://silverstripe.org/archive/show/58759#post58759

I have been looking into setting Access permissions, but this hides the page.

Does anyone have an answer? or has this been done before?

Avatar
Web Designer Perth

Community Member, 49 Posts

29 September 2009 at 7:42pm

Bump. Anyone?

Avatar
Howard

Community Member, 215 Posts

29 September 2009 at 8:37pm

Yea there is an easy way to do this - you will need to create two pages. The first is the secure page that you only want logged in users to be able to access and the second is a redirector page.

Create the page that will be secure then click on the "Access" tab, select that the page only be visible to logged in users.

Then create the redirector page and select that it redirects to your secure page but don't change the access permissions of it.

This will create a page that is visible to anyone but when they click on it it will redirect them to the secure page and thus display the login/password fields.

Hope this helps :)