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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

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

Extending ModelAdmin


Go to End


10 Posts   6657 Views

Avatar
Martijn

Community Member, 271 Posts

25 August 2009 at 9:41am


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

Community Member, 271 Posts

27 August 2009 at 9:15am

Bump ;)

Avatar
Sanchez

Community Member, 6 Posts

27 August 2009 at 12:09pm

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

Avatar
Martijn

Community Member, 271 Posts

31 August 2009 at 8:07pm

Is there really nobody who ever extended ModelAdmin?

Avatar
Sanchez

Community Member, 6 Posts

3 September 2009 at 12:55pm

In regards to adding buttons to model admin

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

:)

Avatar
baba-papa

Community Member, 279 Posts

18 September 2009 at 3:42am

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

Avatar
PapaBear

Community Member, 26 Posts

28 May 2010 at 10:08am

*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

Community Member, 8 Posts

7 June 2010 at 9:02pm

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

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

Go to Top