Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Juan Martinez 8 posts 38 karma points
    Jan 14, 2015 @ 12:28
    Juan Martinez
    0

    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.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 14, 2015 @ 12:39
    Jan Skovgaard
    0

    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

  • Juan Martinez 8 posts 38 karma points
    Jan 14, 2015 @ 12:45
    Juan Martinez
    0

    Jan Hi ,

    Thanks for pointing to API , but any idea how to wire this to Save and Publish button , of Umbraco Backoffice ?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 14, 2015 @ 12:48
    Jan Skovgaard
    0

    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

  • Juan Martinez 8 posts 38 karma points
    Jan 14, 2015 @ 14:19
    Juan Martinez
    0

    Yes , this is the place where i want to wire confirmation code

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 14, 2015 @ 14:33
    Jan Skovgaard
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft