Jump to content

HTML tags removed from email templates?


chickendippers

Recommended Posts

Hi there,

I'm customising my email templates; I was hoping it would be a simple case of copying them across from MB and changing the variables, but it would appear not.

 

I'm entering the HTML code using the "Edit HTML Source" window, but when I update it seems to strip out a bunch of my tags, most importantly my style tags:

 

<style type="text/css">
@import"/include/config/themes/textDefault/base.css";
@import"/include/config/themes/textDefault/style.css";
@import"/include/config/themes/textDefault/type.css";
</style>

If there's a way to get around this it's be much appreciated.

 

 

Thanks in advance,

chickendippers

Link to comment
Share on other sites

  • 3 weeks later...
  • WHMCS CEO

If the rich text editor is altering your code then you can rename the "editor" folder inside the admin folder to be "editor2" while you input your email text as this will prevent the editor from running. You can then change it back once you've finished or leave it disabled like that if you have no need for it.

 

Matt

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