mass-email: send-test.tpl: customize: update-safe?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • agri
    Member
    • Mar 2021
    • 89

    mass-email: send-test.tpl: customize: update-safe?

    Hi,
    I'd like to make some small changes to the panel for sending test emails.
    The code is here: /client/modules/crm/res/templates/mass-email/modals/send-test.tpl, which I can customize easily.
    I read some threads in the forum related to customization of e.g. layout templates and update-safe placement of the customized files. So I tried to place my new code in /client/custom/...
    I tried several paths from /client/custom/modules/send-test.tpl down to /client/custom/modules/crm/res/templates/mass-email/modals/send-test.tpl, but none of my attempts seem to work (I did clear cache!).

    Any hints, where to correctly put the new code?

    Regards
  • Vadym
    Super Moderator
    • Jun 2021
    • 346

    #2
    Hi agri,

    Perhaps EspoCRM developer documentation will be helpful:

    Comment

    • AgentT
      Member
      • Aug 2021
      • 77

      #3
      send-test.tpl is the template which will be called by the send-test.js view file. So I think you will also need to add the send-test.js in the custom folder and then call this from the clientDefs.

      This is how we did our customisations in an "upgrade safe" manner. This may not be the right way to do it though.

      Comment

      Working...