Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
email format for comment in liferay?
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
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
Not sure about your question. Do you want to disable email, change content of the message, or change the format of the message?
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.
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}.
where is dis language.ext properties file.....want to chnge content of comment in blogs,how to mention in dis file??
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
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
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..
..........Subject: New Comments by admin......
plzz tell me wat i hv to mention in language.properties,i still din't find solution..
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.
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.
liferay 6.1 version m using..
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..