I figured out what the problem was....

Originally Posted by
Bruceper
<begin_template>
<email_id>email_id:x</email_id>
<nameemail>nameemail:x</nameemail>
<subject>subject:x</subject>
<bodytemplate>bodytemplate:body of email here</bodytemplate>
<end_template>
Remove the text in red... So it should look like this

Originally Posted by
Bruceper
<begin_template>
<email_id>1</email_id>
<nameemail>add_ok</nameemail>
<subject>Resource Added</subject>
<bodytemplate><div style="font-weight:bold;">Thank you for your submission to <%$site_name%></div>
<p>
<div style="float:left;width:200px;">Resource ID</div>
<div style="float:left;width:10px;"> : </div>
<div style="float:left;width:200px;"><%$link_id%></div>
<div style="float:left;width:200px;">Title</div>
<div style="float:left;width:10px;"> : </div>
<div style="float:left;width:200px;"><%$title%></div>
<div style="float:left;width:200px;">Url</div>
<div style="float:left;width:10px;"> : </div>
<div style="float:left;width:200px;"><%$url%></div>
<div style="float:left;width:200px;">Description </div>
<div style="float:left;width:10px;"> : </div>
<div style="float:left;width:200px;"><%$description%></div>
<div style="float:left;width:200px;">Category </div>
<div style="float:left;width:10px;"> : </div>
<div style="float:left;width:200px;"><%$category%></div>
<div style="float:left;width:200px;">Contact name</div>
<div style="float:left;width:10px;"> : </div>
<div style="float:left;width:200px;"><%$contact_name%></div>
<div style="float:left;width:200px;">Email</div>
<div style="float:left;width:10px;"> : </div>
<div style="float:left;width:200px;"><%$email%></div>
<div style="float:left;width:200px;">Password </div>
<div style="float:left;width:10px;"> : </div>
<div style="float:left;width:200px;"><%$password%></div>
<p>
Your link has been added.
<p>
<p>
Regards,
<p>
<%$site_name%> Team
</bodytemplate>
<end_template>
I now had a TON of extra templates added to the DB... When keeping those items in red in the imported template, it adds them as new ones. I guess I have to go into the DB via phpMyAdmin and remove them manually if I dont want them there?
EDIT: Also ensure that there aren't any line breaks in between the statements.
Example :
Incorrect way
Code:
<email_id>1
</email_id>
<nameemail>add_ok
</nameemail>
<subject>Resource Added
</subject>
CORRECT WAY:
Code:
<email_id>1</email_id>
<nameemail>add_ok</nameemail>
<subject>Resource Added</subject>
Doing it the incorrect way will lead to duplicate / additional e-mail templates that wont work