10714 Posts in 2392 Topics by 1764 members
|Go to End|
8 January 2009 at 6:06am
Is there any way to force a visitor to enter a username and password before they can view the content of certain pages? This isn't anything to do with the CMS- one of my clients wants to create a "staff only" area.
8 January 2009 at 6:11am
yes, this is something that can be done,
in the admin area, go to your page which you need to protect, then on the access tab, select the user group.
8 January 2009 at 6:37am
Oh.. dead easy! How I love Silverstripe.
Thanks for your help
30 January 2009 at 6:47am
I have a follow up question regarding this. I see that once you password protect a page, then that page doesn't appear on the site at all. Is it possible to actually show the page (as a list or menu item) but assign it an icon (perhaps a padlock) that shows that the page will require a login in order to access?
Alternatively, how do you request that the visitor logs in? Is there a pre-defined Silverstripe page that is already built to permit internal users to submit their credentials thereby permitting access to pages that they're allowed to read. From what I can see, the only password page that Silverstripe has is the main admin page?
|Go to Top|