掲示板

Email notification for web content update

11年前 に Durai pandian によって更新されました。

Email notification for web content update

Junior Member 投稿: 53 参加年月日: 12/10/26 最新の投稿
Hi friends,
When a web_content display is updated, I need to write code for mail notification to all the users. So i need to know which method or class i have to customize.
Please tell me is there any other way to do this.

Regards,
Durai.
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: Email notification for web content update

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
Following blog may help you.

https://www.liferay.com/web/igor.beslic/blog/-/blogs/workflow-in-action-setup-email-notifications
thumbnail
11年前 に Bart Simpson によって更新されました。

RE: Email notification for web content update

Liferay Master 投稿: 522 参加年月日: 11/08/29 最新の投稿
In case you are not aware of the existing functionality, you can check in control panel-web content (configuration by clicking on spanner), you can configure emails to be sent on adding / update etc . of web content.
10年前 に Alexander Ishmuradov によって更新されました。

RE: Email notification for web content update

Junior Member 投稿: 48 参加年月日: 13/03/18 最新の投稿
What if I want to extend this existing functionality. Which .java class should be overridden?
10年前 に Alexander Ishmuradov によって更新されました。

RE: Email notification for web content update

Junior Member 投稿: 48 参加年月日: 13/03/18 最新の投稿
For those who are looking for the same thing:

liferay-src/portal-impl/src/com/liferay/portlet/journal/service/impl/JournalArticleLocalServiceImpl.java:

	protected void notifySubscribers(
			JournalArticle article, ServiceContext serviceContext)
		throws PortalException, SystemException {

...