Then you should be able to add a "tweak.js" file or whatever you would like to call it in your solution as a App plugin where you can then use the notificationService to display a message when hitting save and publish for instance - You can learn more about that in Matt Brailsford article on the 24days.in/umbraco article from the annual advent calendar in 2015 here http://24days.in/umbraco/2015/umbraco-7-back-office-tweaks/
If you're new to AngularJs then you will also benefit from these links
Be aware that they're mostly about how to create property editors for Umbraco though - What you need as I understand your question is something that is globally available, which is what you'll learn about in Matt's article.
How would i pass action response value to publishing event so i can run custom logic based on the action.
In my scenario, i have articles list view document type and a checkbox to enable comments. i would like to detect a change on the property and notify user if they would like to apply the change to all childrens. if yes selected then i will get all children and update that property and save and publish all of them.
Confirmation box on Save and Publish
Is it possible to add a confirmation box with a custom message to the save and publish button?
Hi Niels
Yes, that should be possible achieve using the notification service, which you can learn more about here https://our.umbraco.org/apidocs/ui/#/api/umbraco.services.notificationsService
Then you should be able to add a "tweak.js" file or whatever you would like to call it in your solution as a App plugin where you can then use the notificationService to display a message when hitting save and publish for instance - You can learn more about that in Matt Brailsford article on the 24days.in/umbraco article from the annual advent calendar in 2015 here http://24days.in/umbraco/2015/umbraco-7-back-office-tweaks/
If you're new to AngularJs then you will also benefit from these links
Be aware that they're mostly about how to create property editors for Umbraco though - What you need as I understand your question is something that is globally available, which is what you'll learn about in Matt's article.
Hope this helps!
/Jan
Hi Jan
How would i pass action response value to publishing event so i can run custom logic based on the action.
In my scenario, i have articles list view document type and a checkbox to enable comments. i would like to detect a change on the property and notify user if they would like to apply the change to all childrens. if yes selected then i will get all children and update that property and save and publish all of them.
Please advise ?
is working on a reply...