How to get the calendar of a specific group?
advseb - April 23, 2009 - 14:43
| Project: | OG Calendar |
| Version: | 6.x-1.0 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi,
is there a function in the og_calendar module which I can call to get the calendar of a given group? Something like:
og_calendar_get_calendar_link($nid)
If not, how would you do that in PHP?
Regards,
Sebastian

#1
I solved it by constructing the alias on my own. The calendar belonging to a group has the same ID as the group's main page. So you can extract there the node ID and use it in the alias, which looks as follows in my case:
/og_calendar/NIDRegards,
Sebastian
#2
Thank you. But, is not necessary create alias.