This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:otml [2025/02/27 10:47] – bk | en:otml [2025/02/27 11:01] (current) – bk | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== How doI develop email templates for promio.connect? | + | ====== How do I develop email templates for promio.connect? |
Line 7: | Line 7: | ||
===== General information ===== | ===== General information ===== | ||
- | * Special characters must use XML conform entities: | + | * Special characters must use XML-conform entities: |
* ''& | * ''& | ||
* ''& | * ''& | ||
Line 13: | Line 13: | ||
* ''& | * ''& | ||
* ''& | * ''& | ||
- | * for all other entities you have to use decimal syntax; e.g.: use ''&# | + | * for all other entities, you have to use decimal syntax; e.g., use ''&# |
- | * UTF-8 4-byte characters are not supported at the moment. You can check the byte length with several tools, e.g. [[http:// | + | * UTF-8 4-byte characters are not supported at the moment. You can check the byte length with several tools, e.g., [[http:// |
* The length of lines in the source code **must not exceed 700 characters**. | * The length of lines in the source code **must not exceed 700 characters**. | ||
Line 36: | Line 36: | ||
OTML is an extension of the HTML standard, specifically created for usage in promio.connect' | OTML is an extension of the HTML standard, specifically created for usage in promio.connect' | ||
- | Because of this, an undestanding | + | Because of this, an understanding |
OTML serves the cause to make designated parts of an email editable. The global structure of the email will not be affected. | OTML serves the cause to make designated parts of an email editable. The global structure of the email will not be affected. | ||
Line 42: | Line 42: | ||
The OTML elements are separated into two namespaces: '' | The OTML elements are separated into two namespaces: '' | ||
- | * '' | + | * '' |
- | * '' | + | * '' |
- | + | ||
==== Editable Title ==== | ==== Editable Title ==== | ||
Line 80: | Line 78: | ||
^ Attribute ^ Type ^ Required ^ Description | ^ Attribute ^ Type ^ Required ^ Description | ||
- | | title | string | No | Title of the repeater. This is useful, if you use more than one repeater in your template. | | + | | title | string | No | Title of the repeater. This is useful if you use more than one repeater in your template. | |
Line 147: | Line 145: | ||
- | ==== Repeatercontent | + | ==== Repeater content |
- | A repeatercontent | + | A repeater content |
- | The repeatercontent | + | The repeater content |
- | It's a sub-element of the ''< | + | It's a sub-element of the ''< |
to pre-fill a ''< | to pre-fill a ''< | ||
Line 840: | Line 838: | ||
With the help of placeholders, | With the help of placeholders, | ||
- | You can access each user data field, if you place a '' | + | You can access each user data field if you place a '' |
- | A list of all universal | + | A list of all universally |
- | If custom placeholders are requried, please contact our support team via ticket. | + | If custom placeholders are requried please contact our support team via ticket. |
=== Example === | === Example === | ||
- | '' | + | '' |
If no gender is given, it will fall back to "Dear Sir or Madam," | If no gender is given, it will fall back to "Dear Sir or Madam," | ||
Line 990: | Line 988: | ||
^ Value ^ Description ^ | ^ Value ^ Description ^ | ||
- | |frame | + | |frame |
- | |shadow | Save the contents from a shadow copy of the email. This assures that the emails | + | |shadow | Save the contents from a shadow copy of the email. This assures that the email' |