Jump to:

3450 Posts in 1063 Topics by 738 members

Data Model Questions

SilverStripe Forums » Data Model Questions » Silverstripe 3 adding new feature to model admin list

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

Page: 1
Go to End
Author Topic: 928 Views
  • NETim
    Avatar
    Community Member
    24 Posts

    Silverstripe 3 adding new feature to model admin list Link to this post

    Hi Guys,

    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.

    Any ideas?

  • Willr
    Avatar
    Forum Moderator
    5497 Posts

    Re: Silverstripe 3 adding new feature to model admin list Link to this post

    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.

  • NETim
    Avatar
    Community Member
    24 Posts

    Re: Silverstripe 3 adding new feature to model admin list Link to this post

    Thanks Willr.

    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.

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