Saving ... please wait
Access to [admin:bar] (with default [deny]) denied.
Intranet
Login >>
You are here: Home / Documentation / Emailer / Templates

An email template is any content page.

Creating a template

To just create a section of the site with templates in it, and create a new page for each template. The id for the template can be found in the right-hand column by clicking the technical > open and get the topic_id. Use those in the configuration.ini file.

Variables in templates

$topic/* - any property of the topic
$user/* - any property of the user
$request/* - any property of the request object (URI parameters, etc.)
$dir/* - any of the predefined directories

Example

Hi [$user/label],

A new draft for the document "[$topic/label]" has been created on the
system (at [$topic/m_c_date] by [$topic/m_c_who/label]). Please have a
look:

http:/[$dir/home]/documents/[$topic/id]

Tags

Access to [tags_controlled:edit] (with default [deny]) denied. Access to [admin:bar] (with default [deny]) denied.