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.

General Questions

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

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

customising modeladmin


Reply

642 Views

Avatar
Nicolaas

27 December 2012 at 7:04pm (Last edited: 27 December 2012 7:12pm), Forum Moderator, 213 Posts

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?