Jump to content

eMail "frame" coding

Claudia M

Recommended Posts


I was looking at the email "frame" template in the Cubecart demo and noticed some things that concerned me enough to check out.


1.  Shouldn't the </head>  be placed just after the </style>

2.  Shouldn't the </body> and the </html> be placed at the end of the "frame"

Here is some of the default code:






<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">




<body bgcolor="#f7f7f7"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<style type="text/css">html, body, table {

            font-family: Arial;

            font-size: 14px;



color: #E11F26;

display: block

}.w3w a{

color: #333333;

text-decoration: none





<title>Default HTML Template</title>

<base href="{$DATA.storeURL}" />

<table border="0" cellpadding="0" cellspacing="0" width="100%">

Link to comment
Share on other sites

This has been reported in CubeCart's GitHub (#2285). It has also been reported in one of CKEditor's plugin's Github (#10).

There is an issue with the CKEditor seriously damaging the admin, Email Templates, Email Templates tab, any of the "Full Page" templates (two structural templates by default).

By "Full Page", I mean that these templates contain all the html that is necessary for a complete page: <html>, <head>, <body>, etc. (The Email Contents templates are not "Full Pages".)

Even working on the code in the editor's Source mode will still damage the templates.

Edited by bsmither
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.

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.


  • Create New...