Introduction
cPanel can send notifications to users to alert them of a number of different condition changes on the server. These templates can be customized to better match your needs.
Procedure
- Access the server using SSH as the root user.
- Create the template directory for holding your customizations
mkdir /var/cpanel/templates/icontact_templates
- Copy the include and wrapper files from the default templates into the custom directory:
cp -rpl /usr/local/cpanel/etc/icontact_templates/{include,wrapper} /var/cpanel/templates/icontact_templates
- Copy the default template for what you want to customize. For this example, we will use the "New Account" notification subject template:
cp -rpl /usr/local/cpanel/etc/icontact_templates/wwwacct/Notify.subject.tmpl /var/cpanel/templates/icontact_templates/wwwacct/Notify.subject.tmpl
- With your preferred text editor, edit and save the copied file.
- Rebuild the templates to apply the changes:
/usr/local/cpanel/bin/rebuild-templates
Comments
0 comments
Article is closed for comments.