Notification Template modification
Hi,
We've been trying to customize the bandwidth usage exceeded notification template but so far, it doesn't seem to be working.
We have copied files from "/usr/local/cpanel/etc/icontact_templates/BandwidthUsageExceeded/" into "/var/cpanel/templates/icontact_templates/BandwidthUsageExceeded/" and been modifying the "User.html.tmpl" file by adding the following line:
However, after further testing, the bandwidth usage exceeded notification doesn't appear to be including the added code. Are we missing something ? Thanks,
[% ELSE -%]
[% CPANEL.locale.maketext('Contact your system administrator as soon as possible.') %]
[% END -%]
[%# MODIFICATION BEGIN -%]
If you would like to order additional bandwidth, please click here.
[%# MODIFICATION END -%]
[% UNLESS NOTICE.hasgoodcontact -%]
[% END -%]
However, after further testing, the bandwidth usage exceeded notification doesn't appear to be including the added code. Are we missing something ? Thanks,
-
Did you tried cpanel restart or an upcp and see if that makes any changes ? 0 -
Did you tried cpanel restart or an upcp and see if that makes any changes ?
Unfortunately, the problem still occurs. Modification done on the custom template doesn't appear to be taken up by cpanel.0 -
Hello, Please let us know if the following thread helps (it offers additional advice about the include and wrapper directories): Customizing notification template Thanks! 0 -
Hello, Please let us know if the following thread helps (it offers additional advice about the include and wrapper directories): Customizing notification template Thanks!
Awesome, it worked ! I had to copy the "include" & "wrapper" directories. Cheers,0 -
I'm happy to see that thread helped. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
5 comments