chickendippers Posted September 17, 2007 Share Posted September 17, 2007 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 0 Quote Link to comment Share on other sites More sharing options...
Jordan Posted September 17, 2007 Share Posted September 17, 2007 @import isn't used to strip out styles. With the code you included, all it's doing is just importing that css file. It's like the stylesheet version of a php include. 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted September 17, 2007 Author Share Posted September 17, 2007 I know, that's one of my tags that gets removed when I try and update the email template. 0 Quote Link to comment Share on other sites More sharing options...
generic Posted September 18, 2007 Share Posted September 18, 2007 U NOTICE THE HOME BUTTON ON YOUR SERVICE STAUS PAGE GOES TO HYPERSPIN.... 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted September 18, 2007 Author Share Posted September 18, 2007 Thanks for pointing that out, I've now fixed it. It doesn't really help with my email template problem though 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted October 7, 2007 Author Share Posted October 7, 2007 Bump. This is pretty much the only issue that is preventing me from buying the program right now. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted October 7, 2007 WHMCS CEO Share Posted October 7, 2007 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 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted October 7, 2007 Author Share Posted October 7, 2007 That's great news, thanks Mat 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.