Commit ff6e1918 authored by Lily Yan's avatar Lily Yan
Browse files

ISTWCMS-3156 Set 'Events by month' for calendar pages and 'Events by date' for day pages

parent 5ad4ded5
......@@ -3116,6 +3116,8 @@ echo uw_ct_web_page_filter_summary($data->field_body);
/* Display: Month */
$handler = $view->new_display('page', 'Month', 'page_1');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Events by month';
$handler->display->display_options['defaults']['group_by'] = FALSE;
$handler->display->display_options['group_by'] = TRUE;
$handler->display->display_options['defaults']['pager'] = FALSE;
......@@ -3261,6 +3263,8 @@ echo uw_ct_web_page_filter_summary($data->field_body);
/* Display: Day */
$handler = $view->new_display('page', 'Day', 'page_3');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Events by date';
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'date_views_pager';
$handler->display->display_options['pager']['options']['date_id'] = 'day';
......@@ -3846,10 +3850,12 @@ echo uw_ct_web_page_filter_summary($data->field_body);
t('Asc'),
t('Desc'),
t('Month'),
t('Events by month'),
t('All'),
t('Type'),
t('Audience'),
t('Day'),
t('Events by date'),
t('<p>No events found.</p>'),
t('Block'),
t('Attachment'),
......
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