21278 Posts in 5728 Topics by 2599 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1021 Views |
-
E-Noticeboard: General approach advice sought

6 February 2011 at 12:09am
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!
-
Re: E-Noticeboard: General approach advice sought

6 February 2011 at 12:39am
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-managementModeration module:
https://github.com/silverstripe-labs/silverstripe-moderation -
Re: E-Noticeboard: General approach advice sought

6 February 2011 at 7:16am
Thanks - something to be getting on with!
| 1021 Views | ||
|
Page:
1
|
Go to Top |


