Jump to:

5541 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Extending ModelAdmin

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

Page: 1 2
Go to End
Author Topic: 4456 Views
  • Martijn
    Avatar
    Community Member
    271 Posts

    Extending ModelAdmin Link to this post

    Hi All,

    I have some questions about how to extending ModelAdmin further then just administer DataObjects.

    How can I add custom buttons to the generated ComplexTablefield, so I can do more actions dan just delete a row.

    And I made some custom template like MyDataObject_left.ss to hide the csv import button.

    Is there a way to do this by overloading the ModelAdmin class?

    And how about adding custom buttons next to the delete, back en save buttons in the lower right corner and add actions to this?

    Thanks in advance!

  • Martijn
    Avatar
    Community Member
    271 Posts

    Re: Extending ModelAdmin Link to this post

    Bump ;)

  • Sanchez
    Avatar
    Community Member
    6 Posts

    Re: Extending ModelAdmin Link to this post

    Bump Bump!
    I'm keen to know how to do this too.

  • Martijn
    Avatar
    Community Member
    271 Posts

    Re: Extending ModelAdmin Link to this post

    Is there really nobody who ever extended ModelAdmin?

  • Sanchez
    Avatar
    Community Member
    6 Posts

    Re: Extending ModelAdmin Link to this post

    In regards to adding buttons to model admin

    http://ssbits.com/adding-a-cms-action-the-slightly-hacky-way/

  • baba-papa
    Avatar
    Community Member
    279 Posts

    Re: Extending ModelAdmin Link to this post

    This is a very important question to me too. There is no documentation on changing the backend.

  • PapaBear
    Avatar
    Community Member
    26 Posts

    Re: Extending ModelAdmin Link to this post

    *Bump* Any update on this? I would like to be able to add tick-box functionality to the results table in Model Admin. It's a pain having to go into each item one by one and re-run the search in between times.

  • dvdsetshop
    Avatar
    Community Member
    8 Posts

    Re: Extending ModelAdmin Link to this post

    I'm keen to know how to do this too.

    ------------------------------------------------------------------------------------------
    www.dvdsetshop.com

    4456 Views
Page: 1 2
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.