Closed wernerkrauss closed 10 years ago
This would require an update to the GridField, I'd rather see something like that added to a module like this: https://github.com/ajshort/silverstripe-gridfieldextensions After which, it could be implemented here.
Maybe https://github.com/colymba/GridFieldBulkEditingTools/blob/master/BULK_MANAGER.md is an option, too...?
Could be, but I don't think bulk manager is available at that point. Anyway, closing this issue, as for said reason, a dedicated GridField module should handle this. (But feel free to comment with questions :) )
http://doc.silverstripe.org/framework/en/howto/gridfield-rowaction
seems you can add custom actions very easily
Did a more or less rough hack as shown in the docs, please have a look at it: https://github.com/wernerkrauss/silverstripe-newsmodule/tree/gridfieldpublishaction needs some polishing before it's a real PR...
Feel free to make a pull-request for that one. Showing it's published-status in the overview that way is hardly a "hack" :)
Is it possible to create another action to publish / unpublish an news item from the gridfield? This way we don't have to open it, search for "publish" and save it again.