1

I want to add a button into the activity edit tab. Please refer an image.

enter image description here


Please provide a sample snippet (Code) for custom template

My Snippet

CRM
    .$(function($) {
        console.log('Form edit ok');
        $('.action-item.crm-hover-button').click(function(){
            console.log("adding of button ok ");
        });

        $('.ui-dialog-buttonset').append('<button id="popup" name="popup">Click Here</button>');


        $("#takefeedback").click(function() {
            CRM.loadForm(CRM.url('civicrm/mypage'));
        });
    });

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.