10390 Posts in 2202 Topics by 1712 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 335 Views |
-
Unpublish / Delete buttons in ModelAdmin/ReModelAdmin

12 November 2011 at 4:29am
Been looking for a while to figure this out - I am having people add content via UncleCheese's RemodelAdmin. I would like to add an Unpublish and Delete button to the modeladmin results table - I haven't worked with actions in the CMS so don't really know how to start. I'm guessing I will be adding a SummaryField, each with a custom button / link, and they will submit to a form action in the ModelAdmin. Any tips - where should I be looking? Thanks
-
Re: Unpublish / Delete buttons in ModelAdmin/ReModelAdmin

16 November 2011 at 4:37am Last edited: 16 November 2011 4:37am
Thanks - I was looking to add the buttons into the actual results table (e.g. when you click Search in ModelAdmin, you get a list of DataObjects - or, in this case, Pages). On the right side, there is normally a red X to delete, but it's not bound to work with SiteTree objects - as they are on multiple stages. This one just deletes the record from one table. I thought it'd be cool to have in that list already an Unpublish and Delete button. I guess since deleting doesn't take place that often, they can just go in and Unpublish one by one
| 335 Views | ||
|
Page:
1
|
Go to Top |


