Liferay Symposium 2016 | Reserve your seat today.
6. Portal Framework
(Opens New Window)
Mark as an Answer
Subscription: How to put the thread URL in the Subsciption mail
February 11, 2008 1:20 AM
Rank: New Member
Join Date: August 1, 2007
We are using Liferay 4. 2.2. What we want to do is that when we send the Subscription Mail, we want to send the URL of the thread in the mail as well.
For the URL, i have included a parameter in view_message_thread_message.jsp something like this
String cur_url = (String) request.getAttribute(WebKeys.CURRENT_URL);
However, I need to know how I can use this at the required place.
For what I have known till now, the Subsciption sending code is at notifySubscribers() in portlet/message_boards/service/impl/MBMessageLocalServiceImpl.java
Sign in to vote.
Please sign in to flag this as inappropriate.