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 agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.