Tag: ModelAdmin
Sorting in ModelAdmin
In many sites I work on there is a need to manage data that will be used on all pages.
Read more about 'Sorting in ModelAdmin'...
Read more about 'Sorting in ModelAdmin'...
ModelAdmin: filter by $many_many with a dropdown
When you have a DataObject with a $many_many "Tags" => "Tag" you can add a filter dropdown in ModelAdmin by overwriting the scaffoldSearchFields() method:
Read more about 'ModelAdmin: filter by $many_many with a dropdown '...
Read more about 'ModelAdmin: filter by $many_many with a dropdown '...
Subsites: Show modeladmin in backend on all subsites
By default subsites module disables all custom modeladmin classes in backend when you're not on the Main site (SubsiteID 0).
Read more about 'Subsites: Show modeladmin in backend on all subsites'...
Read more about 'Subsites: Show modeladmin in backend on all subsites'...
Copy / Duplicate the DataObject
If you need to add ability for users to duplicate rows within ModelAdmin (or GridField) then please see the following module...
Read more about 'Copy / Duplicate the DataObject'...
Read more about 'Copy / Duplicate the DataObject'...
Modeladmin: Sorting gridfield automatically
Sometimes you want to sort your gridfield in ModelAdmin by default when you have a sorting column in your DataObject.
Read more about 'Modeladmin: Sorting gridfield automatically'...
Read more about 'Modeladmin: Sorting gridfield automatically'...