Uploading custom templates doesn't work?


  • I get error messages when I want to upload my custom template
  • I can't upload mu custom template into the template library

 

How does it work

In our application you are able to upload your own custom templates.

These templates need to have the standard tags for

  • the Online link
  • the Unsubscribe link
  • The sendto link
  • the Poweredby link

The uploaded template will also be checked for the valid HTML code

 

What can happen?

A common mistake people make when making custom templates/html files to use within Addemar, is not integrate these standard REQUIRED addemar tags.

These are the different error message you can see :

1. The tag 'addemar' with name 'onlinelink' is a required tag.

This error occurs when the onlinelink tag isn't inside your template code. Please the table below in this document to get/add the correct tag.

2. The tag 'addemar' with name 'privacy' is a required tag.

This error occurs when the privacy tag isn't inside your template code. Please the table below in this document to get/add the correct tag.

3. The tag 'addemar' with name 'sendto' is a required tag.

This error occurs when the sendto tag isn't inside your template code. Please the table below in this document to get/add the correct tag.

4. The tag 'addemar' with name 'unsubscribe' is a required tag.

This error occurs when the unsubscribe tag isn't inside your template code. Please the table below in this document to get/add the correct tag.

5. The tag '1 article text' is not a valid tag name

This error occurs when the names inside the Addemar tags ( for editing your template inside our application ) don't follow the needed XML rules.

Make sure the names of your Addemar tags is conform these rules:

  1. Names can contain letters, numbers, and other characters
  2. Names cannot start with a number or punctuation character
  3. Names cannot start with the letters xml
  4. Names cannot contain spaces

5. There are tags with no name filled in.

All our tags need to have a name, if there are empty name tags the template can not be uploaded

6. The template contains invalid HTML code.

The html code contains errors, place run them through a validation tool such as Dreamweaver, Brackets, ... and fix the html errors.

7. The uploaded template isn't UTF-8 encoded.

The template needs to be UTF-8 encoded to proper work in our application.

8. There are tags which are placed inside tags

Tags can't be placed inside other tags. Most of the time this error occurs when a tag isn't well closed inside the html code.

9. There are lists inside lists, this functionality isn't allowed.

List can not be placed inside other lists. This functionality will work, but is not designed to deliver proper coded emails. Hence we block this to only allow quality templates to be uploaded.

10. The template contains non-unique tags names

All tags names need to have a unique name

 

The required tags

 

Online link

<ADDEMAR type='addemar' name='onlinelink' />

Send to link

<ADDEMAR type='addemar' name='sendto' />

Unsubscribe link

<ADDEMAR type='addemar' name='unsubscribe' />

Privacy policy

<ADDEMAR type='addemar' name='privacy' />

Powered by

<ADDEMAR type='addemar' name='poweredby' />

 

If you add these tags you should be able to upload your custom template / html file.