Foren

Home » Liferay Portal » English » Liferay Legacy

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Wayne Christian
Calendar portlet email to entire community
25. Juli 2007 20:15
Antwort

Wayne Christian

Rang: Regular Member

Nachrichten: 104

Eintrittsdatum: 11. Juni 2007

Neue Beiträge

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
2. August 2007 03:05
Antwort

Jorge Ferrer

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 2768

Eintrittsdatum: 31. August 2006

Neue Beiträge

Hi Wayne,

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

Chintan Akhani

Rang: Regular Member

Nachrichten: 111

Eintrittsdatum: 13. März 2008

Neue Beiträge

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
26. Juni 2010 06:08
Antwort

Eric Lawrence

Rang: New Member

Nachrichten: 6

Eintrittsdatum: 1. Juni 2008

Neue Beiträge

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
27. Juli 2010 08:37
Antwort

Ivano Masiero

Rang: New Member

Nachrichten: 15

Eintrittsdatum: 7. Juli 2010

Neue Beiträge

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
9. Juli 2011 03:21
Antwort

Arne Leeman

Rang: New Member

Nachrichten: 18

Eintrittsdatum: 24. Februar 2011

Neue Beiträge

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
11. Juli 2011 00:23
Antwort

Felix J Christy

Rang: Regular Member

Nachrichten: 111

Eintrittsdatum: 25. August 2009

Neue Beiträge

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
11. Juli 2011 03:04
Antwort

Arne Leeman

Rang: New Member

Nachrichten: 18

Eintrittsdatum: 24. Februar 2011

Neue Beiträge

Hi Felix,

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

Thanks,
Arne.
Juni Elisabeth
RE: Calendar portlet email to entire community
2. August 2012 03:13
Antwort

Juni Elisabeth

Rang: New Member

Nachrichten: 2

Eintrittsdatum: 24. Juli 2012

Neue Beiträge

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
27. August 2012 04:24
Antwort

Chintan Akhani

Rang: Regular Member

Nachrichten: 111

Eintrittsdatum: 13. März 2008

Neue Beiträge

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 Perez
RE: Calendar portlet email to entire community
27. September 2012 12:35
Antwort

Santiago Perez

Rang: New Member

Nachrichten: 21

Eintrittsdatum: 23. März 2012

Neue Beiträge

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
19. Dezember 2012 11:01
Antwort

Chintan Akhani

Rang: Regular Member

Nachrichten: 111

Eintrittsdatum: 13. März 2008

Neue Beiträge

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
5. Juni 2013 08:30
Antwort

Gabriel Leon Leyva

Rang: Regular Member

Nachrichten: 243

Eintrittsdatum: 20. Juni 2009

Neue Beiträge

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
17. Juni 2013 11:02
Antwort

Chintan Akhani

Rang: Regular Member

Nachrichten: 111

Eintrittsdatum: 13. März 2008

Neue Beiträge

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