10394 Posts in 2203 Topics by 1714 members
|Go to End|
25 November 2009 at 7:01pm Last edited: 25 November 2009 7:21pm
the new site I am about to build requires user to login in order to make a comment on given article, however, these members should have nothing to do with the backend, in other words, I do not want them to see any part of the cms area. in addition to this, if admin update some article in the cms - ie published some new article or updated a existing article, these member will get a email notification about the change. These members may also update their profile. (can it be done in the front end?)
Is this possible? I had a look at the following documentation http://doc.silverstripe.org/doku.php?id=recipes:forms
it explains how to create a simple sign up form. I am wondering how do I set the group ID or where to set it? do I just pick a none-existing ID for the grounpID say '10'. Will this group member be able to login to the backend?
Could someone point me to the right direction please.
Thank you for taking the time to read this!
26 November 2009 at 6:25am
As long as you don't give the group CMS or Admin permissions, they can't login to the admin.
You can add a HiddenField() to the form and set this value to your desired GroupID, or set the GroupID in the function where you process the registration form.
And yes you can create a frontend profile edittingform. See the Forum module ForumRole.php or the EcommerceRole.php in the Ecommerce module for some examples.
6 March 2010 at 12:44am Last edited: 6 March 2010 12:45am
Nico : Cool. Very good. Thank you, looks very interesting. microsoft training certification
Maybe I will allude to this in my next article or in an webcastâ€¦ Iâ€™m working for T-Systems right now and I have shown around this page with all that nice samplesteradata training
â€¦Good Job. I already found some things that are interesting for me (for private projects and for my customers)â€¦vmware training If you have other interesting things, just tell meâ€¦I like every information from Microsoft!
|Go to Top|