Change modal for mass-email -> send-test

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

    #1

    Change modal for mass-email -> send-test

    Starting with versions before 9.x, I was successful to make a minor change in the template for mass-email modal -> send-test. The template was situated in
    client/custom/modules/crm/res/templates/mass-email/modals/send-test.tpl.
    With v9.1.0 it is still there, but obviously is not used any more. What's more, there formerly had been an entry in
    client/lib/templates.tpl,
    referring to send-test.tpl. This entry has vanished in Espo v9.1.0. So, how can I change this modal or reactivate send-test.tpl?
    Regards
  • agri
    Senior Member
    • Mar 2021
    • 113

    #2
    [ EspoCRM Version 9.2.4 ]

    I'd like to get rid of one of the input fields in send-test modal:

    How to acheive this?
    Regards
    Attached Files

    Comment

    • yuri
      EspoCRM product developer
      • Mar 2014
      • 9526

      #3
      You can monkey patch the view. The simple way if just to remove the DOM element in the afterRender method.

      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      Working...