Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS

Extending ModelAdmin


Go to End
Reply

10 Posts   4505 Views

Avatar
Martijn

25 August 2009 at 9:41am Community Member, 271 Posts

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!

Avatar
Martijn

27 August 2009 at 9:15am Community Member, 271 Posts

Bump ;)

Avatar
Sanchez

27 August 2009 at 12:09pm Community Member, 6 Posts

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

Avatar
Martijn

31 August 2009 at 8:07pm Community Member, 271 Posts

Is there really nobody who ever extended ModelAdmin?

Avatar
Sanchez

3 September 2009 at 12:55pm Community Member, 6 Posts

In regards to adding buttons to model admin

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

:)

Avatar
baba-papa

18 September 2009 at 3:42am Community Member, 279 Posts

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

Avatar
PapaBear

28 May 2010 at 10:08am Community Member, 26 Posts

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

Avatar
dvdsetshop

7 June 2010 at 9:02pm Community Member, 8 Posts

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

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

Go to Top