This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:
Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba
4 Posts 1714 Views
28 September 2009 at 1:44am
iÂ´ve got a page named "secured content" which is only access able for the group "school". is it possible that the page is shown for all people but if you arenÂ´t logged in youÂ´ll redirected to /Security/Login and back to referer ?
29 September 2009 at 1:03pm
If you use <% control AllChildren %> in the menu you will get links to Logged in only pages. When you click on that link it should automatically redirect you to the login page
1 October 2009 at 6:53am
iÂ´ve updated the navigation.ss. if i press on secured content now i get following message:
That page is secured. Enter your credentials below and we will send you right along.
but no login forms... in my addressline is typed http://www.momentsforever.net/Security/login !
if i type http://www.momentsforever.net/Security/login iÂ´m getting login forms :/
1 October 2009 at 11:51am
Do you have $Form in your main template? Security forms are rendered into $Form not, $Content, so you need to have this variable.