Page 1 of 1

URGENT-Help with customising emails

PostPosted:Thu Nov 14, 2013 11:23 am
by Shakes
Hi,

How does one customise the default email template, Ive had a look at following:
you can configure these text using two properties in the OpenKM.cfg file. Default values are shown below:

subscription.message.subject=OpenKM - {0} - {1};
subscription.message.body=<b>Document: </b><a href=\"{0}\">{1}</a><br/><b>User: </b>{3}<br/><b>Event: </b>{4}<br/>

And these are the substitution variables used:

SUBSCRIPTION SUBJECT
{0} - event type
{1} - document path
{2} - document name

SUBSCRIPTION BODY
{0} - document url
{1} - document path
{2} - document name
{3} - user id
{4} - event type
{5} - comment

notify.message.subject=OpenKM - NOTIFICATION - {0}
notify.message.body=<b>Document: </b><a href=\"{0}\">{1}</a><br/><b>User: </b>{3}<br/><b>Message: </b>{4}<br/>

And these are the substitution variables used:

NOTIFY SUBJECT
{0} - document path
{2} - document name
NOTIFY BODY
{0} - document url
{1} - document path
{2} - document name
{3} - user id
{4} - message
BUT this doesnt work, if anyone can provide some assistance, this would be awesome.

Dan

Re: URGENT-Help with customising emails

PostPosted:Thu Nov 14, 2013 12:06 pm
by michaeled
Now this config is directly in the admin panel (no more in the .cfg file)

Michael.

Re: URGENT-Help with customising emails

PostPosted:Thu Nov 14, 2013 12:26 pm
by Shakes
Thanks very much, Only just realised.