Event module Calendar link in a View?
Quick question. I've created a View for a site home page that is displaying all event content type content.
However I have an issue and I'm wondering if someone can help/suggestions:
I'm trying to get the CALENDAR link into my View as a field (that variable links to the event Calendar (highlighting the day) dynamically) but the View fields (via Views admin) does not include any event module variables. This is the variable (here as a print function from Contemplate module) I'm looking for:
<?php print $node->links['event_calendar']['href'] ?>If I try adding this print function to my View (just as a header with PHP) it doesn't show. I'm probably doing something wrong here but if anyone can point me in the right direction that would be cool.
Thanks!
-backdrifting

Here's the code in the Event
Here's the code in the Event module - this is the Calendar link I'd like to show in my View. Is it possible to take this function and output the link in a View?
if ($type == 'node') {// node links
if (event_enabled_state($node->type) == 'all') {
$links['event_calendar'] = array('title' => t('Calendar'), 'href' => 'event/'. _event_format_url($node->event['start_exploded']));
}
That's line 111-115 in event.module.
-backdrifting