email format for comment in liferay?

abc xyz, modified 13 Years ago. New Member Posts: 11 Join Date: 1/5/13 Recent Posts
Subject:New Comments by Joe
Dear admin,


Joe added a new comment.

----------

good blog

----------



View comment.



Sincerely,

liferay

i am getting this mail format to my mailid from liferay while comment anything for blog..i search bt din't find this format for comment....can anybody help me
thumbnail
Hitoshi Ozawa, modified 13 Years ago. Liferay Legend Posts: 7942 Join Date: 3/24/10 Recent Posts
Not sure about your question. Do you want to disable email, change content of the message, or change the format of the message?
thumbnail
Bart Simpson, modified 13 Years ago. Liferay Master Posts: 522 Join Date: 8/29/11 Recent Posts
I think he's looking for the format of mail message. But I don't see it inside the configuration. There may be an option to add a language hook for some minor change in the format.
thumbnail
Hitoshi Ozawa, modified 13 Years ago. Liferay Legend Posts: 7942 Join Date: 3/24/10 Recent Posts
The message in the language.properties is as follows. I'm not sure where the comment he specified is coming from.

activity-blogs-add-comment-in={1} commented on {2}'s blog entry, {3}, in {0}.
activity-blogs-add-comment={1} commented on {2}'s blog entry, {3}.
abc xyz, modified 13 Years ago. New Member Posts: 11 Join Date: 1/5/13 Recent Posts
where is dis language.ext properties file.....want to chnge content of comment in blogs,how to mention in dis file??
thumbnail
Hitoshi Ozawa, modified 13 Years ago. Liferay Legend Posts: 7942 Join Date: 3/24/10 Recent Posts
language-ext.properties or more correctly Language-ext_en.properties should be CREATED under ROOT\WEB-INF\classes\content

Check "Customizations in language.properties and other language files #" in the following page.
http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Languagedisplay+customization
abc xyz, modified 13 Years ago. New Member Posts: 11 Join Date: 1/5/13 Recent Posts
wat to mention for content of comment.....want to change subject for comment
..........Subject: New Comments by admin......
plzz tell me wat i hv to mention in language.properties,i still din't find solution..
thumbnail
Bart Simpson, modified 13 Years ago. Liferay Master Posts: 522 Join Date: 8/29/11 Recent Posts
You'll have to add a language hook. http://www.liferay.com/documentation/liferay-portal/6.0/development/-/ai/overriding-a-language-properties-file

However the the lines you wrote are different then what I have in my server. Just curious to know are these the exact lines you get in the email. What is your liferay version.
abc xyz, modified 13 Years ago. New Member Posts: 11 Join Date: 1/5/13 Recent Posts
liferay 6.1 version m using..
abc xyz, modified 13 Years ago. New Member Posts: 11 Join Date: 1/5/13 Recent Posts
want to change content of comment......this comment content same for blogs,event whereever we r commenting in liferay....want to specify like if u r commenting for blog d subject line shud be in email "blog new comment by abc" bt d email m getting "new comment by abc" for all blogs ,events....hw to know dat email is cumin from blogs,events....i find 1 portlet page comment bt inside dat no configuration for email setting..i din't find ny configuration for page comment in liferay which will change d content of comment..