Commit fd73d6a0 authored by l26yan's avatar l26yan
Browse files

tag version of 1.15

parent c3905e7a
......@@ -79,7 +79,7 @@
*/
?>
<?php
$feed_url = "feed/" . $node->nid;
$feed_url = "ical/" . $node->nid . "/calendar.ics";
$img_variables = array(
//'path' => path_to_theme() . '/images/add-calendar-icon-33x20.png',
'path' => drupal_get_path('module', 'uw_ct_event') . '/css/images/add-calendar-icon-33x20.png',
......@@ -89,8 +89,7 @@
'height' => '20',
);
?>
<h1<?php print $title_attributes; ?> class="individual-event-ical"><?php print $title; ?><a href="<?php print $feed_url; ?>"><?php print theme('image', $img_variables);?></a>
</h1>
<h1<?php print $title_attributes; ?> class="individual-event-ical"><?php print $title; ?><a href="<?php print $feed_url; ?>"><?php print theme('image', $img_variables);?></a></h1>
<div class="clearfix"<?php print $attributes; ?>>
<div class="event-content"<?php print $content_attributes; ?>>
<?php if (!$page): ?>
......
......@@ -570,8 +570,8 @@ function uw_ct_event_views_default_views() {
);
$handler->display->display_options['sitename_title'] = 1;
/* Display: Individual Events Feed */
$handler = $view->new_display('feed', 'Individual Events Feed', 'uw_individual_event_feed');
/* Display: Individual Events iCal Feed */
$handler = $view->new_display('feed', 'Individual Events iCal Feed', 'uw_individual_event_feed');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Events Feed';
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
......@@ -655,7 +655,7 @@ function uw_ct_event_views_default_views() {
$handler->display->display_options['filters']['field_event_date_value']['operator'] = '>=';
$handler->display->display_options['filters']['field_event_date_value']['group'] = 2;
$handler->display->display_options['filters']['field_event_date_value']['default_date'] = 'today';
$handler->display->display_options['path'] = 'events/feed';
$handler->display->display_options['path'] = 'events/ical/%/calendar.ics';
$handler->display->display_options['displays'] = array(
'default' => 0,
'page' => 0,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment