$view = new view; $view->name = 'events_frontpage'; $view->description = 'Events front page'; $view->tag = ''; $view->base_table = 'node'; $view->core = 6; $view->api_version = '2'; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ $handler = $view->new_display('default', 'Defaults', 'default'); $handler->override_option('relationships', array( 'group_nid' => array( 'label' => 'Group node (post)', 'required' => 0, 'id' => 'group_nid', 'table' => 'og_ancestry', 'field' => 'group_nid', 'relationship' => 'none', ), )); $handler->override_option('fields', array( 'title' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'absolute' => 0, 'link_class' => '', 'alt' => '', 'rel' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 1, 'max_length' => '35', 'word_boundary' => 0, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'hide_alter_empty' => 1, 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title', 'table' => 'node', 'field' => 'title', 'relationship' => 'none', ), 'field_start7_value' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => 'format_date([field_start7_value]->node_data_field_date_field_date_value, \'custom\', \'l M j, Y\');', 'make_link' => 0, 'path' => '', 'absolute' => 0, 'link_class' => '', 'alt' => '', 'rel' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'hide_alter_empty' => 1, 'link_to_node' => 0, 'label_type' => 'none', 'format' => 'month_day', 'multiple' => array( 'multiple_number' => '', 'multiple_from' => '', 'multiple_to' => '', 'group' => TRUE, ), 'repeat' => array( 'show_repeat_rule' => '', ), 'fromto' => array( 'fromto' => 'both', ), 'exclude' => 0, 'id' => 'field_start7_value', 'table' => 'node_data_field_start7', 'field' => 'field_start7_value', 'relationship' => 'none', ), 'title_1' => array( 'label' => '', 'alter' => array( 'alter_text' => 0, 'text' => '', 'make_link' => 0, 'path' => '', 'absolute' => 0, 'link_class' => '', 'alt' => '', 'rel' => '', 'prefix' => '', 'suffix' => '', 'target' => '', 'help' => '', 'trim' => 0, 'max_length' => '', 'word_boundary' => 1, 'ellipsis' => 1, 'html' => 0, 'strip_tags' => 0, ), 'empty' => '', 'hide_empty' => 0, 'empty_zero' => 0, 'hide_alter_empty' => 1, 'link_to_node' => 1, 'exclude' => 0, 'id' => 'title_1', 'table' => 'node', 'field' => 'title', 'relationship' => 'group_nid', ), )); $handler->override_option('sorts', array( 'field_start7_value' => array( 'order' => 'ASC', 'delta' => -1, 'id' => 'field_start7_value', 'table' => 'node_data_field_start7', 'field' => 'field_start7_value', 'relationship' => 'none', ), )); $handler->override_option('filters', array( 'type' => array( 'operator' => 'in', 'value' => array( 'event' => 'event', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), 'field_event_type_value_many_to_one' => array( 'operator' => 'or', 'value' => array( 'regional' => 'regional', 'drupalcon' => 'drupalcon', 'virtual' => 'virtual', 'training' => 'training', 'sprint' => 'sprint', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'field_event_type_value_many_to_one', 'table' => 'node_data_field_event_type', 'field' => 'field_event_type_value_many_to_one', 'relationship' => 'none', 'reduce_duplicates' => 0, ), 'field_start7_value' => array( 'operator' => '>=', 'value' => array( 'min' => NULL, 'max' => NULL, 'value' => NULL, 'default_date' => 'now', 'default_to_date' => '', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'date_fields' => array( 'node_data_field_start7.field_start7_value' => 'node_data_field_start7.field_start7_value', 'node_data_field_start7.field_start7_value2' => 'node_data_field_start7.field_start7_value2', ), 'date_method' => 'OR', 'granularity' => 'day', 'form_type' => 'date_select', 'default_date' => 'now', 'default_to_date' => '', 'year_range' => '-3:+3', 'id' => 'field_start7_value', 'table' => 'node_data_field_start7', 'field' => 'field_start7_value', 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'none', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('header', '

Find a Drupal event near you

This is a listing of locally-run events that bring together users in a specific area to teach new ideas, lead brainstorming to solve problems, and oftentimes hold code sprints to make Drupal better.

Below are major community events that are coming up. Looking for more events? Check the calendar.
Post an event
'); $handler->override_option('header_format', '3'); $handler->override_option('header_empty', 1); $handler->override_option('footer', '
More Events or Ical Feed.'); $handler->override_option('footer_format', '3'); $handler->override_option('footer_empty', 1); $handler->override_option('items_per_page', 12); $handler->override_option('style_plugin', 'list'); $handler->override_option('row_options', array( 'inline' => array( 'title_1' => 'title_1', ), 'separator' => '', 'hide_empty' => 0, )); $handler = $view->new_display('page', 'Upcoming events!', 'page_1'); $handler->override_option('title', 'Community Events'); $handler->override_option('path', 'event'); $handler->override_option('menu', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', )); $handler->override_option('tab_options', array( 'type' => 'none', 'title' => '', 'description' => '', 'weight' => 0, 'name' => 'navigation', ));