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

How to extend ModelAdmin with custom buttons in the CMS?


Reply

750 Views

Avatar
fw

30 November 2010 at 10:22pm Community Member, 6 Posts

Hello everyone,

I'm new to web development and SilverStripe, and I learned a lot in the last weeks. I'm trying to write a module to manage registration requests. After starting with a RegistrationRequest-Object and and according Overview-Page with a has_one/has_many relation, I changed the Overview to a ModelAdmin, because of some ID issues. Now I'd like to extend the ModelAdmin page in the CMS to provide more functionality than just the delete button (i. e. buttons to accept/reject/inquire a request). Could anyone give me a hint on how to do that? Is there a way to add custom buttons to the tabular CMS page?