I have a series of festivals that are not showing up in the day view apart from on the day they start. Have the latest version of calendar/date mods which automatically updated.
I called the calendar view "Events."
Where festivals span 2 months the festival is only showing up in Month View for the first month. So if a festival starts in July and ends in August, it does not appear in August.
$view = new stdClass();
$view->name = 'events';
$view->description = 'Events';
$view->access = array (
);
$view->view_args_php = '';
$view->page = TRUE;
$view->page_title = 'Events';
$view->page_header = '';
$view->page_header_format = '1';
$view->page_footer = '';
$view->page_footer_format = '1';
$view->page_empty = '
No events yet!
';
$view->page_empty_format = '1';
$view->page_type = 'calendar';
$view->url = 'events';
$view->use_pager = FALSE;
$view->nodes_per_page = '0';
$view->menu = TRUE;
$view->menu_title = 'Events';
$view->menu_tab = FALSE;
$view->menu_tab_weight = '0';
$view->menu_tab_default = FALSE;
$view->menu_tab_default_parent = NULL;
$view->menu_tab_default_parent_type = 'tab';
$view->menu_parent_tab_weight = '0';
$view->menu_parent_title = '';
$view->block = TRUE;
$view->block_title = 'Edinburgh events';
$view->block_header = '';
$view->block_header_format = '1';
$view->block_footer = '';
$view->block_footer_format = '1';
$view->block_empty = '';
$view->block_empty_format = '1';
$view->block_type = 'list';
$view->nodes_per_block = '8';
$view->block_more = TRUE;
$view->block_use_page_header = FALSE;
$view->block_use_page_footer = FALSE;
$view->block_use_page_empty = FALSE;
$view->sort = array (
array (
'tablename' => 'node_data_field_times',
'field' => 'field_times_value',
'sortorder' => 'ASC',
'options' => '',
),
);
$view->argument = array (
array (
'type' => 'calendar_year',
'argdefault' => '2',
'title' => '%1 Events',
'options' => '',
'wildcard' => '%1',
'wildcard_substitution' => '',
),
array (
'type' => 'calendar_month',
'argdefault' => '2',
'title' => '%2 Events',
'options' => '',
'wildcard' => '%2',
'wildcard_substitution' => '',
),
array (
'type' => 'calendar_day',
'argdefault' => '2',
'title' => '%3 Events',
'options' => '',
'wildcard' => '%3',
'wildcard_substitution' => '',
),
);
$view->field = array (
array (
'tablename' => 'node',
'field' => 'title',
'label' => '',
'handler' => 'views_handler_field_nodelink',
'options' => 'link',
),
array (
'tablename' => 'node_data_field_times',
'field' => 'field_times_value',
'label' => '',
'handler' => 'content_views_field_handler_ungroup',
'sortable' => '1',
'defaultsort' => 'ASC',
'options' => 'short',
),
);
$view->filter = array (
array (
'tablename' => 'node',
'field' => 'type',
'operator' => 'OR',
'options' => '',
'value' => array (
0 => 'event',
),
),
array (
'tablename' => 'node',
'field' => 'status',
'operator' => '=',
'options' => '',
'value' => '1',
),
);
$view->exposed_filter = array (
);
$view->requires = array(node_data_field_times, node);
$views[$view->name] = $view;
Comments
Comment #1
karens commentedThis was not a bug with Date Repeat but in the filter logic that was losing dates that started before the current period. Fix committed to both the D5.2 and D6.2 versions.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.