• URGENT-Help with customising emails

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #26241  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

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.