Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Right now CKEditor, which is used to enter e-mail template translations, doesn't allow usage of HTML and BODY tags inside a translations. This becomes a problem, when you need to set background color of whole e-mail that will be sent.

I'm proposing to add BodyId and BodyClass fields to each E-mail Template (empty by default), which later will be:

  1. exported/imported via language pack
  2. inserted in place of $body_id and $body_class variables defined in e-mail template design, which is entered once during language pack editing.

To make this happen we need to change default HTML e-mail template design from "$body" to following:

<html>
	<body id="$body_id" class="$body_class">
		$body
	</body>
</html>
  • No labels