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

How to extend ModelAdmin with custom buttons in the CMS?


Go to End


1294 Views

Avatar
fw

Community Member, 6 Posts

30 November 2010 at 10:22pm

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?