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.

Customising the CMS

Client Login


Reply

3 Posts   1436 Views

Avatar
mhull

8 March 2009 at 1:20pm Community Member, 79 Posts

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:

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

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

29 September 2009 at 7:42pm Community Member, 49 Posts

Bump. Anyone?

Avatar
Howard

29 September 2009 at 8:37pm Community Member, 215 Posts

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 :)