Ah ok...in that case you need to hook into events I guess. But I have only been able to find this 3 year old post by Bo Mortensen where he does something similar http://www.bo-mortensen.dk/ - But the API's have changed since then so it's probably just the concept that you can use.
Adding Confirmation dialog on Document publish
Hi , anyone has an idea of how this task can be achieved ?
I need to put Confirmation dialog when document goes to be published.
Thanks.
Hi Juan
If you're using Umbraco 7 you should be able to achieve it using the notification service http://umbraco.github.io/Belle/#/api/umbraco.services.notificationsService
/Jan
Jan Hi ,
Thanks for pointing to API , but any idea how to wire this to Save and Publish button , of Umbraco Backoffice ?
Hi Juan
Hmm, forgot that this will only work when using custom controllers. You need to hook into it when saving pages in general, right?
/Jan
Yes , this is the place where i want to wire confirmation code
Hi Juan
Ah ok...in that case you need to hook into events I guess. But I have only been able to find this 3 year old post by Bo Mortensen where he does something similar http://www.bo-mortensen.dk/ - But the API's have changed since then so it's probably just the concept that you can use.
Hope it helps any anyway.
/Jan
is working on a reply...