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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

customising modeladmin


Go to End


1155 Views

Avatar
Nicolaas

Forum Moderator, 224 Posts

27 December 2012 at 7:04pm

Edited: 27/12/2012 7:12pm

Hi

I want to customise modeladmin in 3.0.3+ doing the following:

1. allowing sitetree items to be working with proper "save and publish, etc..."

2. adding previous and next buttons, which will allow you to go from one detailed view to the next without having to fork back to the list view.

Here are a few ideas I had so far:

1. extend GridFieldDetailForm and override some of the methods there (i.e. ItemEditForm)

2. in extending module admin I set a slightly different set of options for the GridField, adding MyGridFieldDetailForm

Do you have any sample code or ideas on this?