Jump to:

10979 Posts in 2722 Topics by 1815 members

All other Modules

SilverStripe Forums » All other Modules » authenticated comment and cms update email notification

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1252 Views
  • Ben_W
    Avatar
    Community Member
    80 Posts

    authenticated comment and cms update email notification Link to this post

    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!

  • Martijn
    Avatar
    Community Member
    271 Posts

    Re: authenticated comment and cms update email notification Link to this post

    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.

  • jouli
    Avatar
    Community Member
    1 Post

    Re: authenticated comment and cms update email notification Link to this post

    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!

    1252 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.