5411 Posts in 1648 Topics by 1187 members
|Go to End|
14 January 2013 at 9:09pm
On my site I have a donations page.
Every month, the admin gets a long list of donators and the list is divided by donation amount range like:
$1 - $99
$100 - $999
$1000 - $9999
I would like to create a form for the admin user to create these donations.
So the form will have fields:
Text field: Name
Dropdown: Donation Amount Range
Button: Add Another
Do I need to create a module for it?
I don't want to use a new page type as the process of creating a page is longer than I want since each donation is one field and a selection for a dropdown list.
So I think I need to develop a module, and would like to hear opinions and a refference to a good tutorial that can help me with that?
15 January 2013 at 1:35am
Unless you plan on using this for multiple sites you won't need to create a module. I think creating a new ModelAdmin section in the CMS would be your best solution. Check out the tutorial here: http://doc.silverstripe.org/framework/en/reference/modeladmin.
15 January 2013 at 3:31am
God bless you, will look at this tutorial.
|Go to Top|