How can I add a new custom javascript to the email module during the compose action without using any logic hooks?
I tried using logic hooks but it gives me errors so I would like to know if there are other alternatives.
thank you
How can I add a new custom javascript to the email module during the compose action without using any logic hooks?
I tried using logic hooks but it gives me errors so I would like to know if there are other alternatives.
thank you
You can use the Extension JSGrouping in order to inject into a default JS Grouping file a custom javascript file.
Follow this article. Although it is defined for version 7.7 it works like a charm into 6.5 and the documentation for 6.5 is not as detailed as this one.
As per this article, the jsgrouping target file should be 'include/javascript/sugar_grp_emails.js'.
Kind regards