Jump to:

23375 Posts in 18175 Topics by 2866 members

General Questions

SilverStripe Forums » General Questions » E-Noticeboard: General approach advice sought

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 1221 Views
  • MartinPhone
    Avatar
    Community Member
    57 Posts

    E-Noticeboard: General approach advice sought Link to this post

    I have been asked to create a E-Noticeboard - unregistered visitors can fill out and submit a very simple form (perhaps just Title and Content), which is saved in the CMS, which the admins then approve (and edit) before they go live. It would fit with the design if the form were in the widget area.

    The site I am working on (antennastudios.co.uk) has a widget area on every page. Sometimes this is filled with normal widgets, but particular page types can use the area for their own uses. I'm happy making new page types etc.

    So, should I be using UserForms? I can't find a UserForms widget - and I can't quite see how this can work.

    I think my biggest problem at the moment is not knowing which route to take and my head is very fuzzy about this whole problem although it seems so simple. I'm by no means a SS expert but believe if I know where I should be going, I will get there!

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: E-Noticeboard: General approach advice sought Link to this post

    So, should I be using UserForms? I can't find a UserForms widget - and I can't quite see how this can work.

    There is no official UserForms widget, it's designed to be a PageType. Plus you may run into issues with UserForms are you mentioned moderating entries in the back end. To get that to work in UserForms would rather extending the module in multiple places and not sure if anyones tried moderation like that.

    Have a read of the 3rd tutorial (forms) and that'll explain how to develop custom forms into DataObjects. From that you can implement moderation of those dataobjects. Some helpful links..

    Tutorials:
    http://doc.silverstripe.org/sapphire/en/tutorials/3-forms
    http://doc.silverstripe.org/sapphire/en/tutorials/5-dataobject-relationship-management

    Moderation module:
    https://github.com/silverstripe-labs/silverstripe-moderation

  • MartinPhone
    Avatar
    Community Member
    57 Posts

    Re: E-Noticeboard: General approach advice sought Link to this post

    Thanks - something to be getting on with!

    1221 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.