This is such a great plugin! I have really enjoyed this addition to modx!
Feature Suggestion
I thought of an amazing feature that I doubt is possible
(as of current) to implement, but would be and incredible feature in the future to have!
Is it possible for custom buttons to be shown dependent upon what document the user is currently on. For example, on the Blog Page, buttons could read "Add New Blog Post" "Publish Post"...etc where as on other documents the standard button set would be available.
This seems like it would be a very involved process but I think it would be a wonderful addition!
Question
I have been reading the readme.html page regarding custom buttons, but can’t quite seem to figure out what I’d like to do. It appears the the ability to delete resources is not yet a possibility, but based upon what I have read in this thread I’m lead to believe that "(Un)Publishing" is currently a possibility(?).
If this is possible, would the correct syntax be:
'Publish Resource','publish','2','3','Site Admins'
?
and conversely:
'Unpublish Resource','unpublish','2','3','Site Admins'
?
and I don’t want to make this question to complex, but any possibility of an "if/then" style button? Such as
(I have no syntax knowledge whatsoever):
if $docStatus (published='true') {echo $unPublishbtn; else echo $Publishbtn;}?
Thank you so much in advance for any insight!
-Jared