Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.


Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

New template for my newwsletter


4 Posts   837 Views


3 October 2008 at 11:25pm Community Member, 87 Posts

Hi! I try to insert a template form my newsletter.
so in folder Mysite/template I create the folder Email and inside this, file whit the following code:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
<html xmlns="" xml:lang="en" >
      <% base_tag %>
      <link rel="stylesheet" type="text/css" href="tutorial/css/layout.css" />
      <link rel="stylesheet" type="text/css" href="tutorial/css/typography.css" />
      <link rel="stylesheet" type="text/css" href="tutorial/css/form.css" />
      <div id="Main">
         <div id="Header">
            <h1>Template per la newsletter 2</h1>
         <div id="ContentContainer">
            <div id="Content" class="typography">
         <div id="Footer">
            <span>Visit <a href="" title="Visit"></a> to download the CMS</span>

The problem is that newsletter's member recive the mail with the tempalte that I choose but not the tex of newsletter: Why? The textof newsletter is defined inside the CMS in administartion of Newsletter page..


4 October 2008 at 3:51am Community Member, 470 Posts

You're using the wrong variable. Use $Body instead of $Content.

You can also access their first/last name by using $Member.FirstName and $Member.Surname


4 October 2008 at 4:11am Community Member, 87 Posts

I have an other question: when I try to insert an image (from html) in the mail of recipient I see a box whit the name of image but there is no the figure


4 October 2008 at 4:14am Community Member, 87 Posts

Sorry you can indicate me how to find all the possible variable that I can use: ex. $body, $member,...