Page 1 of 1

<head> section removed out of newsletter html code

Posted: Mon 3. Jan 2005, 17:13
by Igor
Hello,

I have made a html template for my newsletters. The template has the following layout:

Code: Select all

<html>
	<head>
		<title>Example</title>
		<style type=text/css>
			body {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8px; }
		</style>
	</head>
	<body>
	code
	</body>
</html>
I copied the code into the html editor and saved the newsletter. When opening the html editor again, only the code between the <body> tags is still there. So the whole css-definitions are gone! :?

That cannot be the intention, I think. Who can help? I cannot see anyone else had this problem. I have the most recent release with all patches installed.

Posted: Mon 3. Jan 2005, 17:20
by Pappnase
hello

this is normal cos in the template you only create wahts between <body></body>. so edit you frontend.css with the css classes you will need.

Posted: Mon 3. Jan 2005, 17:42
by Igor
Hello Pappnase,

I would like the other solution where the complete template can be saved. Then no internet connection is needed to show the newsletter with the correct layout to the receiver.

I know for sure that in an older version of phpwcms this was possible. Maybe a suggestion for the new release! :wink:

Posted: Mon 3. Jan 2005, 17:46
by Pappnase
hello

but your solution make no sense! cos for what did i use an cms with an global css when i need to change an template at several places!?