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

ModelAdmin edit view additional actions


Go to End


1138 Views

Avatar
mattdwen

Community Member, 12 Posts

8 April 2014 at 12:45pm

Edited: 08/04/2014 12:46pm

I'd like to add another button/action when viewing/editing a single record through ModelAdmin.
However everything I've tried only seems to add it the GridField list actions.

Additionally getCMSActions() or updateCMSActions() doesn't appear to be called on the model via ModelAdmin.

How can I add another action when editing a single record via ModelAdmin?