Foren
Changing Message Boards Email Notification templates
Javier Barrio, geändert vor 11 Jahren.
Changing Message Boards Email Notification templates
New Member Beiträge: 14 Beitrittsdatum: 29.09.11 Neueste Beiträge
Hi,
I have modified the file email_message_added_body.tmpl and reflected the change on portal-ext.properties with a content like this one:
This has been sent by email, but there are some variables that appear not to be "working":
[$TO_ADDRESS$]: That one appears empty. Tried with TO_NAME with the same results.
[$COMMENTS_USER_NAME$] / [$CATEGORY_NAME]: These variables are not rendered to the user in the email body. They appear as text (as if the parsers were ignoring the dollar symbol).
I would like to know where may I find the complete list of variables that I can use for such a notification.
Thanks in advance!
I have modified the file email_message_added_body.tmpl and reflected the change on portal-ext.properties with a content like this one:
Hi [$TO_ADDRESS$]:<br><br>
The users [$COMMENTS_USER_NAME$] has written the following on the thread [$CATEGORY_NAME]:<br><br>
<i>"[$MESSAGE_BODY$]</i>"<br><br>
To read it and and answer, click the following link:
[$MESSAGE_URL$]<br><br>
This has been sent by email, but there are some variables that appear not to be "working":
[$TO_ADDRESS$]: That one appears empty. Tried with TO_NAME with the same results.
[$COMMENTS_USER_NAME$] / [$CATEGORY_NAME]: These variables are not rendered to the user in the email body. They appear as text (as if the parsers were ignoring the dollar symbol).
I would like to know where may I find the complete list of variables that I can use for such a notification.
Thanks in advance!
jelmer kuperus, geändert vor 11 Jahren.
RE: Changing Message Boards Email Notification templates (Antwort)
Liferay Legend Beiträge: 1191 Beitrittsdatum: 10.03.10 Neueste Beiträge
You can always use the source
This seems to be the list :
[$MESSAGE_BODY$]
[$CATEGORY_NAME$]
[$MAILING_LIST_ADDRESS$]
[$MESSAGE_ID$]
[$MESSAGE_SUBJECT$]
[$MESSAGE_URL$]
[$MESSAGE_USER_ADDRESS$]
[$MESSAGE_USER_NAME$]
Your [$CATEGORY_NAME] variable is missting the trailing $
This seems to be the list :
[$MESSAGE_BODY$]
[$CATEGORY_NAME$]
[$MAILING_LIST_ADDRESS$]
[$MESSAGE_ID$]
[$MESSAGE_SUBJECT$]
[$MESSAGE_URL$]
[$MESSAGE_USER_ADDRESS$]
[$MESSAGE_USER_NAME$]
Your [$CATEGORY_NAME] variable is missting the trailing $
Javier Barrio, geändert vor 11 Jahren.
RE: Changing Message Boards Email Notification templates
New Member Beiträge: 14 Beitrittsdatum: 29.09.11 Neueste Beiträge
Thanks a lot, Jelmer. I did search before asking, but was unable to find the full list.
Shankar Baba, geändert vor 10 Jahren.
RE: Changing Message Boards Email Notification templates
Regular Member Beiträge: 143 Beitrittsdatum: 18.10.12 Neueste Beiträge
Hi javier , could you please tell me the location, where can i find this email_message_added_body.tmpl file in windows machine.Thanks in advance.