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.

All other Modules /

Discuss all other Modules here.

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

authenticated comment and cms update email notification


Go to End


3 Posts   1695 Views

Avatar
Ben_W

Community Member, 80 Posts

25 November 2009 at 7:01pm

Edited: 25/11/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!

Avatar
Martijn

Community Member, 271 Posts

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.

Avatar
jouli

Community Member, 1 Post

6 March 2010 at 12:44am

Edited: 06/03/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!