Commit 119f6df8 authored by drumm's avatar drumm
Browse files

Remove unused View display

parent fb34d98c
......@@ -2628,145 +2628,6 @@ function drupalorg_community_events_views_default_views() {
),
);
/* Display: 8-Past events */
$handler = $view->new_display('panel_pane', '8-Past events', 'recent_events');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['defaults']['css_class'] = FALSE;
$handler->display->display_options['css_class'] = 'events-list';
$handler->display->display_options['defaults']['exposed_form'] = FALSE;
$handler->display->display_options['exposed_form']['type'] = 'better_exposed_filters';
$handler->display->display_options['defaults']['footer'] = FALSE;
/* Footer: Global: Text area */
$handler->display->display_options['footer']['area']['id'] = 'area';
$handler->display->display_options['footer']['area']['table'] = 'views';
$handler->display->display_options['footer']['area']['field'] = 'area';
$handler->display->display_options['footer']['area']['content'] = '<p align="right"><a class="action-button" href="/community/events/past-events?field_event_format_value[]=online&field_event_format_value[]=in_person&field_event_type_value[]=drupalcamp&field_event_type_value[]=localmeetup&field_event_type_value[]=drupalinitiativemeeting&field_event_type_value[]=drupalcon&field_event_type_value[]=drupalfest&field_event_type_value[]=training&field_event_type_value[]=contribution">See more past events</a></p>';
$handler->display->display_options['footer']['area']['format'] = '1';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Field: Content: Title */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
/* Field: Content: Event date(s) */
$handler->display->display_options['fields']['field_date_of_event']['id'] = 'field_date_of_event';
$handler->display->display_options['fields']['field_date_of_event']['table'] = 'field_data_field_date_of_event';
$handler->display->display_options['fields']['field_date_of_event']['field'] = 'field_date_of_event';
$handler->display->display_options['fields']['field_date_of_event']['label'] = '';
$handler->display->display_options['fields']['field_date_of_event']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_date_of_event']['settings'] = array(
'format_type' => 'custom',
'custom_date_format' => 'Y-m-d',
'fromto' => 'both',
'multiple_number' => '',
'multiple_from' => '',
'multiple_to' => '',
'show_remaining_days' => 0,
);
/* Field: Content: Location */
$handler->display->display_options['fields']['field_event_address']['id'] = 'field_event_address';
$handler->display->display_options['fields']['field_event_address']['table'] = 'field_data_field_event_address';
$handler->display->display_options['fields']['field_event_address']['field'] = 'field_event_address';
$handler->display->display_options['fields']['field_event_address']['label'] = '';
$handler->display->display_options['fields']['field_event_address']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_event_address']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_event_address']['click_sort_column'] = 'country';
$handler->display->display_options['fields']['field_event_address']['settings'] = array(
'use_widget_handlers' => 1,
'format_handlers' => array(
'address' => 'address',
'address-hide-postal-code' => 'address-hide-postal-code',
),
);
$handler->display->display_options['defaults']['sorts'] = FALSE;
/* Sort criterion: Content: Event date(s) - start date (field_date_of_event) */
$handler->display->display_options['sorts']['field_date_of_event_value']['id'] = 'field_date_of_event_value';
$handler->display->display_options['sorts']['field_date_of_event_value']['table'] = 'field_data_field_date_of_event';
$handler->display->display_options['sorts']['field_date_of_event_value']['field'] = 'field_date_of_event_value';
$handler->display->display_options['sorts']['field_date_of_event_value']['order'] = 'DESC';
$handler->display->display_options['defaults']['filter_groups'] = FALSE;
$handler->display->display_options['filter_groups']['groups'] = array(
1 => 'AND',
2 => 'OR',
);
$handler->display->display_options['defaults']['filters'] = FALSE;
/* Filter criterion: Content: Published */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 1;
$handler->display->display_options['filters']['status']['group'] = 1;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
/* Filter criterion: Content: Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
'event' => 'event',
);
$handler->display->display_options['filters']['type']['group'] = 1;
/* Filter criterion: Content: Status (field_event_status) */
$handler->display->display_options['filters']['field_event_status_value']['id'] = 'field_event_status_value';
$handler->display->display_options['filters']['field_event_status_value']['table'] = 'field_data_field_event_status';
$handler->display->display_options['filters']['field_event_status_value']['field'] = 'field_event_status_value';
$handler->display->display_options['filters']['field_event_status_value']['value'] = array(
'confirmed' => 'confirmed',
);
$handler->display->display_options['filters']['field_event_status_value']['group'] = 1;
/* Filter criterion: Content: Event date(s) - end date (field_date_of_event:value2) */
$handler->display->display_options['filters']['field_date_of_event_value2']['id'] = 'field_date_of_event_value2';
$handler->display->display_options['filters']['field_date_of_event_value2']['table'] = 'field_data_field_date_of_event';
$handler->display->display_options['filters']['field_date_of_event_value2']['field'] = 'field_date_of_event_value2';
$handler->display->display_options['filters']['field_date_of_event_value2']['operator'] = 'empty';
$handler->display->display_options['filters']['field_date_of_event_value2']['group'] = 2;
/* Filter criterion: Date: Date (node) */
$handler->display->display_options['filters']['date_filter']['id'] = 'date_filter';
$handler->display->display_options['filters']['date_filter']['table'] = 'node';
$handler->display->display_options['filters']['date_filter']['field'] = 'date_filter';
$handler->display->display_options['filters']['date_filter']['operator'] = '<=';
$handler->display->display_options['filters']['date_filter']['group'] = 2;
$handler->display->display_options['filters']['date_filter']['default_date'] = 'now';
$handler->display->display_options['filters']['date_filter']['default_to_date'] = 'now +1 year';
$handler->display->display_options['filters']['date_filter']['year_range'] = '-0:+1';
$handler->display->display_options['filters']['date_filter']['date_fields'] = array(
'field_data_field_date_of_event.field_date_of_event_value' => 'field_data_field_date_of_event.field_date_of_event_value',
'field_data_field_date_of_event.field_date_of_event_value2' => 'field_data_field_date_of_event.field_date_of_event_value2',
);
$handler->display->display_options['filters']['date_filter']['date_method'] = 'AND';
/* Filter criterion: Content: Event type (field_event_type) */
$handler->display->display_options['filters']['field_event_type_value']['id'] = 'field_event_type_value';
$handler->display->display_options['filters']['field_event_type_value']['table'] = 'field_data_field_event_type';
$handler->display->display_options['filters']['field_event_type_value']['field'] = 'field_event_type_value';
$handler->display->display_options['filters']['field_event_type_value']['exposed'] = TRUE;
$handler->display->display_options['filters']['field_event_type_value']['expose']['operator_id'] = 'field_event_type_value_op';
$handler->display->display_options['filters']['field_event_type_value']['expose']['label'] = 'Event type';
$handler->display->display_options['filters']['field_event_type_value']['expose']['operator'] = 'field_event_type_value_op';
$handler->display->display_options['filters']['field_event_type_value']['expose']['identifier'] = 'field_event_type_value';
$handler->display->display_options['filters']['field_event_type_value']['expose']['multiple'] = TRUE;
$handler->display->display_options['filters']['field_event_type_value']['expose']['remember_roles'] = array(
2 => '2',
3 => 0,
1 => 0,
39 => 0,
36 => 0,
7 => 0,
34 => 0,
32 => 0,
22 => 0,
20 => 0,
24 => 0,
41 => 0,
28 => 0,
26 => 0,
14 => 0,
38 => 0,
4 => 0,
42 => 0,
);
$handler->display->display_options['pane_category']['weight'] = '0';
/* Display: Contribution Events */
$handler = $view->new_display('block', 'Contribution Events', 'contribution_events');
$handler->display->display_options['defaults']['title'] = FALSE;
......@@ -3037,8 +2898,6 @@ function drupalorg_community_events_views_default_views() {
t('7-Localmeetups'),
t('Local meetups'),
t('<p align="right"><a class="action-button" href="/community/events/upcoming-events?field_event_format_value[]=online&field_event_format_value[]=in_person&field_event_type_value[]=localmeetup">See more meetups</a></p> '),
t('8-Past events'),
t('<p align="right"><a class="action-button" href="/community/events/past-events?field_event_format_value[]=online&field_event_format_value[]=in_person&field_event_type_value[]=drupalcamp&field_event_type_value[]=localmeetup&field_event_type_value[]=drupalinitiativemeeting&field_event_type_value[]=drupalcon&field_event_type_value[]=drupalfest&field_event_type_value[]=training&field_event_type_value[]=contribution">See more past events</a></p>'),
t('Contribution Events'),
t('Events: Contribution'),
t('DrupalCon Events'),
......
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