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
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

advseb - April 24, 2009 - 11:09
Status:active» closed

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/NID

Regards,

Sebastian

#2

scs_calleros - July 9, 2009 - 05:44

Thank you. But, is not necessary create alias.

 
 

Drupal is a registered trademark of Dries Buytaert.