Forums

Home » Liferay Portal » English » Liferay Legacy

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Wayne Christian
Calendar portlet email to entire community
July 25, 2007 8:15 PM
Answer

Wayne Christian

Rank: Regular Member

Posts: 104

Join Date: June 11, 2007

Recent Posts

Is there a way to get the calendar portlet to email to an entire community, or a group (like a mailing list, but members of a liferay user group would work as well)???
Jorge Ferrer
RE: Calendar portlet email to entire community
August 2, 2007 3:05 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2771

Join Date: August 31, 2006

Recent Posts

Hi Wayne,

No, I'm afraid does not possible yet.
Chintan Akhani
RE: Calendar portlet email to entire community
April 17, 2008 10:18 PM
Answer

Chintan Akhani

Rank: Regular Member

Posts: 111

Join Date: March 13, 2008

Recent Posts

hi, if u want to send reminder for particular event to all existing users, or u want to send reminder to selected users then it's possible .
for that u have to modify 4 to 5 files of calendar portlet.

If u want any details then just message me.
Becoz i did it. i mean to send reminder to all active or some of them which i select for particular event.
Eric Lawrence
RE: Calendar portlet email to entire community
June 26, 2010 6:08 AM
Answer

Eric Lawrence

Rank: New Member

Posts: 6

Join Date: June 1, 2008

Recent Posts

I am interested in learning how you did this. Can you contact me. eric.lawrence@vennware.com

Thanks
Ivano Masiero
RE: Calendar portlet email to entire community
July 27, 2010 8:37 AM
Answer

Ivano Masiero

Rank: New Member

Posts: 15

Join Date: July 7, 2010

Recent Posts

Hi, I'm interested too, could you please contact me at: masieroi at dei dot unipd dot it, thanks in advance!
Arne Leeman
RE: Calendar portlet email to entire community
July 9, 2011 3:21 AM
Answer

Arne Leeman

Rank: Junior Member

Posts: 29

Join Date: February 24, 2011

Recent Posts

Hi, this is what I was looking for as well.

Will somebody share the coding details with me?

arnel at planet dot nl...

Thanks,
Arne
Felix J Christy
RE: Calendar portlet email to entire community
July 11, 2011 12:23 AM
Answer

Felix J Christy

Rank: Regular Member

Posts: 111

Join Date: August 25, 2009

Recent Posts

Hi,

To ahieve this, extend the class CalEventLocalServiceImpl and create the new one. Inside this class, there is a method remindUser().

In that method, take the group users from

List<User> users = UserLocalServiceUtil.getGroupUsers(ownerId);

and then, do a loop

for (User groupUser : users) {
toName = groupUser.getFullName();
toAddress = groupUser.getEmailAddress();
InternetAddress to = new InternetAddress(toAddress,toName);
MailMessage message = new MailMessage(from, to,subject, body, true);
MailServiceUtil.sendEmail(message);

}

Thanks,
Felix
Arne Leeman
RE: Calendar portlet email to entire community
July 11, 2011 3:04 AM
Answer

Arne Leeman

Rank: Junior Member

Posts: 29

Join Date: February 24, 2011

Recent Posts

Hi Felix,

Thanks for your swift reply.
Implementation should be straightforward...

Thanks,
Arne.
Juni Elisabeth
RE: Calendar portlet email to entire community
August 2, 2012 3:13 AM
Answer

Juni Elisabeth

Rank: New Member

Posts: 2

Join Date: July 24, 2012

Recent Posts

Hai...

Will somebody share details explain about this, please..?

i'm using Liferay 6.1

Thanks,
Chintan Akhani
RE: Calendar portlet email to entire community
August 27, 2012 4:24 AM
Answer

Chintan Akhani

Rank: Regular Member

Posts: 111

Join Date: March 13, 2008

Recent Posts

In Calendar portlet, we have a notification feature available OOTB, which sends a reminder to the owner of the event at selected time interval.

But if you want to send a notification to entire community ( in Liferay 6.1 it is 'Site') than code change is required. So you have to modify the remidUser() method of CalEventLocalServiceImpl.java.

You have to do changes mentioned by Felix, apart from that no other changes are required.

Thanks,
Chintan
Santiago Pérez de la Cámara
RE: Calendar portlet email to entire community
September 27, 2012 12:35 PM
Answer

Santiago Pérez de la Cámara

Rank: New Member

Posts: 21

Join Date: March 23, 2012

Recent Posts

Hi everyone,
I'm using liferay 6.1 and I'm interested in this functionality but taking into account that an event could be private. In that case, only the reminder for the owner has to be generated.

My question is how can I distinguish between a private event and a group's event? The field "groupId" in CalEvent table is always filled.

Thanks, Santiago
Chintan Akhani
RE: Calendar portlet email to entire community
December 19, 2012 11:01 AM
Answer

Chintan Akhani

Rank: Regular Member

Posts: 111

Join Date: March 13, 2008

Recent Posts

Can you please provide more details of public event vs private event, I mean how do you distinguish both type of events from each other?
Gabriel Leon Leyva
RE: Calendar portlet email to entire community
June 5, 2013 8:30 AM
Answer

Gabriel Leon Leyva

Rank: Regular Member

Posts: 243

Join Date: June 20, 2009

Recent Posts

How can we implement the change in liferay code (which file??) in order to choose to who send the reminder (group of persons, only community or all site.
Thanks in advance
Chintan Akhani
RE: Calendar portlet email to entire community
June 17, 2013 11:02 AM
Answer

Chintan Akhani

Rank: Regular Member

Posts: 111

Join Date: March 13, 2008

Recent Posts

CalEventLocalServiceImpl.java, you can create an ext for this.