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">

<html>

<head>

</head>

<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;

}

.w3w{

color: #E11F26;

display: block

}.w3w a{

color: #333333;

text-decoration: none

}

</style>

</body>

</html>

<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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...