MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Calendar  (Mono Support )

30245 put(a) pogledan, 5 odgovor(a) 22.9.2011. 13:07:52Kreirao(la) rule128

Povezane teme

rule128

rule128

22.9.2011. 13:07:52
Hello

Each registered user has a calendar assigned to him.

How can I assign a calendar to a group?
I would like to have the calendar of the users in the group updated when the group calendar is changed.
If a user is part of more then one group his calendar should contain all the entries in the group calendars.

How can I do that?

Regards
Ovaj sadržaj još nije ocijenjen. 
265 Reputacija 29 Ukupno objava
pajo

pajo

22.9.2011. 13:43:56
Hi,

This is not possible out of box. Event module is designed to display list of events not as a calendar manager. The easiest and cleanest way to achieve what you want is to write WebPart you need. It's possible to utilize MonoX infrastructure (calendars, calendar events and editor) when building such a part and if you're willing to develop it, I'll gladly help you.
Ovaj sadržaj još nije ocijenjen. 
629 Reputacija 83 Ukupno objava
rule128

rule128

22.9.2011. 15:45:39
Hello

My first question still stands: How can I assign a calendar to a group? And then how do I know that this is a group calendar ?

So to sink the calendars I have to replicate the CalendarEventEntity's from the group calendar to the user calendar.
What is the name of the event triggered when an event is added/deleted from a calendar?



Regards

Ovaj sadržaj još nije ocijenjen. 
265 Reputacija 29 Ukupno objava
pajo

pajo

22.9.2011. 16:26:18
Hi,

You can add new table that will connect group with calendar, but you will need to write code where you will assign calendar to group. Querying this table you can know if calendar is group calendar.

You will need to extend event module to customize adding and deleting. You can find more details how to extend event module in this post. But I think syncing calendars is not good idea as it is very hard to maintain everything in sync. Better approach would be to merge calendars when showing them to user, you don't have to take care of calendar sync you just need to read which groups user is member of, read theirs calendars, merge all events and display them to user.
Ovaj sadržaj još nije ocijenjen. 
629 Reputacija 83 Ukupno objava
rule128

rule128

23.9.2011. 12:58:57
Hello Pajo

Your solution sound better. I will go with this one.
If I will get stuck I will get back with questions.

Regards
Ovaj sadržaj još nije ocijenjen. 
265 Reputacija 29 Ukupno objava