The documentation states that I can configure the liferay server to use my own templates for the email messages. Specifically, if I add these properties to a portal-ext-env.properties
in $CATALINA_BASE/conf/liferay
:
blogs.email.entry.added.enabled=true
blogs.email.entry.added.subject=${resource:com/liferay/portlet/blogs/dependencies/email_entry_added_subject.tmpl}
blogs.email.entry.added.body=${resource:com/liferay/portlet/blogs/dependencies/email_entry_added_body.tmpl}
Liferay will supposedly use the templates in the specified paths (com/liferay/portlet/blogs/dependencies/email_entry_added_subject.tmpl
and com/liferay/portlet/blogs/dependencies/email_entry_added_body.tmpl
). The thing is, it's not very clear what these paths are relative to. Are these files relative to $CATALINA_BASE
? For example, would the above configuration result in Liferay looking up $CATALINA_BASE/com/liferay/portlet/blogs/dependencies/email_entry_added_body.tmpl
for creating the body of an email message? If this is not the case, where does Liferay lookup templates for Blog-related email messages?