URGENT-Help with customising emails

We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
Shakes
Junior Boarder
Junior Boarder
Posts: 22
Joined: Tue Nov 12, 2013 4:42 pm

URGENT-Help with customising emails

Post 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

michaeled
Expert Boarder
Expert Boarder
Posts: 101
Joined: Mon Apr 23, 2012 9:37 am

Re: URGENT-Help with customising emails

Post by michaeled »

Now this config is directly in the admin panel (no more in the .cfg file)

Michael.

Shakes
Junior Boarder
Junior Boarder
Posts: 22
Joined: Tue Nov 12, 2013 4:42 pm

Re: URGENT-Help with customising emails

Post by Shakes »

Thanks very much, Only just realised.

Post Reply