Jump to content

How to change email template .tpl


arsen99

Recommended Posts

Hello

By default  WHMCS send email in a table which contains logo and body email.

This table is not width enough for us, and we also want to change its default color from white to some else.

Can you tell me which file (css or .tpl) (please tell directory) should I modify to change default  email table?

I'm currently on whmcs 7+

Regards

Link to comment
Share on other sites

13 hours ago, arsen99 said:

Can you tell me which file (css or .tpl) (please tell directory) should I modify to change default  email table?

techncially, there isn't a separate file - it's all stored in the database.

if you want to modify the email template styling, then the documentation is @ https://docs.whmcs.com/Email_Templates#Adding_Headers_and_Footers

Quote

It's possible to configure a universal header and footer to be used in all email templates. The header will be displayed at the top of every email template sent by the system whilst the the footer will be displayed at the bottom of every email. These can be configured under Setup > General Settings > Mail tab and as a result the email templates are formed of the following different elements as below:


Global Email CSS Styling
Global Email Header Content
Email Template Content
Global Email Signature
Global Email Footer Content

in your case, it sounds as though you will be wanting to edit the CSS Styling and/or the Header contents.... remember to take a copy of the original code beofre you edit it (either with a copy&paste or it's content will be store in the tblconfiguration database table).

the default content of these sections may also be available in the page below, but I don't know if that content shown is up to date.

https://docs.whmcs.com/Email_Styling

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated