Copied to clipboard

Flag this post as spam?

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


  • Paul de Quant 403 posts 1521 karma points
    Mar 09, 2020 @ 09:36
    Paul de Quant
    0

    Adding custom button to edit page / custom save event

    Hello,

    Can anyone tell me if it's possible to add a new button on the edit page footer - to go alongside Preview, Save, Save and Publish.

    If it can't be done is it possible to add a new option to the save button?

    Thanksenter image description here

  • Shaishav Karnani from digitallymedia.com 354 posts 1638 karma points
    Mar 09, 2020 @ 09:59
    Shaishav Karnani from digitallymedia.com
    0

    Hi Paul,

    You can add Action to the Context Menu. Here is the link for assistance. https://www.wiliam.com.au/wiliam-blog/adding-a-custom-control-to-umbraco-7-action-menu

    However, adding a button at the bottom is not something we have seen earlier.

    Cheers,

    Shaishav

  • Thomas Beckert 193 posts 469 karma points
    Jan 02, 2021 @ 12:33
    Thomas Beckert
    0

    Hi, Paul,

    I write an App_Plugin for v8, that does the job. You need to duplicate the complete edit.html-section of umbraco and then you can customize the buttons as you wish.

    You find my code on git:

    https://github.com/SitePointGmbH/Umbraco-CustomEditButtons/tree/master

    If you have any questions, just write me.

    All the best -

    Tom

  • Mohamed Soliman 4 posts 71 karma points
    Sep 11, 2022 @ 12:57
    Mohamed Soliman
    0

    Hello

    I am Trying to use your Plugin but i cannot custom it to work in Members So Can you help Me Please

  • Mohamed Soliman 4 posts 71 karma points
    Sep 11, 2022 @ 13:10
    Mohamed Soliman
    0

    Can You help me

  • Thomas Beckert 193 posts 469 karma points
    Sep 12, 2022 @ 09:31
    Thomas Beckert
    0

    Hi, Mohamed,

    if you want to use it in the members-section, I guess you have to change to routing. Have a look into the "httpProviderIntercept.js". In line 11, you find the routing for the content section. So give it a try and change it to member:

    if (request.url.toLowerCase().indexOf('views/**member**/edit.html') !== -1) {
                           request.url = '/App_Plugins/SP-CustomContentButtons/customButtons.html';
                       } 
    
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies