3450 Posts in 1063 Topics by 738 members
|Go to End|
14 May 2013 at 10:58pm
Trying to add a new feature into the model admin. We have a site that lists contacts in a model admin extension.
What we want to be able to do is add a button to model admin that will pass the filtered list of contacts to a function that will allow the site admin to add a message and push the contact phone numbers and message out to an SMS API.
I can figure out how to do this with SS2.4 but 'm a bit lost with doing this in SS3.
15 May 2013 at 8:03pm
How you did it with 2.4 should roughly work with 3.0. You might want to look at writing a DataExtension instance for ModelAdmin and define updateEditForm. Pushing a new FormAction to the Form.
15 May 2013 at 8:30pm
pretty much the way these guys managed it http://www.silverstripe.org/customising-the-cms/show/18565
I have tried this method and hit the never ending error chain.
All I really need pointers with is adding the button and where to define the function. The function itself is relatively easy.
Any help would be great.
|Go to Top|