Hi,
I think this question and answer go hand in hand with what you have already asked here: Do Not Show Quick Publish Button to Some Groups. There are two approaches you could take:
-
Overlay the "Quick Publish" Button: You can modify the button's behavior to meet your expectations. This may be more challenging if you're not comfortable working with overlays, JavaScript, and JSP.
-
Create an Extra Button: You could add an additional button, perhaps named "Quick Publish" or something similar, that triggers the custom workflow. As I explained in the other thread, you can then hide or show the buttons using granite:renderconditions based on the logged-in user.
You can check that thread for examples, but overall, the customization you're looking for will require some work. You may not find a complete coded solution elsewhere, but you will find references and guidance to help you build what you need.
Here are extra references:
- https://experienceleague.adobe.com/en/docs/experience-manager-guides/using/install-guide/on-prem-ig/web-editor-configs/conf-web-editor-customize-toolbar
- https://techrevel.blog/2018/02/09/customizing-aem-assets-toolbar/
Hope this helps!