Posted by taite11 on November 29, 2008 at 6:15am
Jump to:
| Project: | OG Calendar |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Can the "Group calendar" link on the "Group details" block be set to automatically not show if there are no events?
Comments
#1
#2
I'll not implement this feature as i think it is best to have the link on the page permanently .
However you will need to add some more logic to ..
function og_calendar_og_create_links($group) {
$links = array();
$links[] = l(t('Group calendar'), "og_calendar/$group->nid");
return $links;
}
Best, Paul