Notification Template modification

ltellier

Member
Aug 23, 2016
6
1
3
Montreal
cPanel Access Level
DataCenter Provider
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:

Code:
    [% ELSE -%]
        <p>[% CPANEL.locale.maketext('Contact your system administrator as soon as possible.') %]</p>
    [% END -%]
</p>

[%# MODIFICATION BEGIN -%]
<br>
<b>If you would like to order additional bandwidth, please click <a href="https://www.SOMEURLHERE.com">here</a>.</b>

[%# MODIFICATION END -%]

[% UNLESS NOTICE.hasgoodcontact -%]
    <div style="font-family:[% font_family %];border-top: 2px solid [% medium_gray %]; padding-top:5px; margin-top: 5px; font-size:12px; color: [% med_dark_gray %];">
    </div>
[% END -%]
However, after further testing, the bandwidth usage exceeded notification doesn't appear to be including the added code.

Are we missing something ?

Thanks,
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,237
463
I'm happy to see that thread helped. Thank you for updating us with the outcome.