Created
August 20, 2011 21:07
-
-
Save MrMaksimize/1159668 to your computer and use it in GitHub Desktop.
Event Layout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $handler = new stdClass; | |
| $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */ | |
| $handler->api_version = 1; | |
| $handler->name = 'node_view_panel_context'; | |
| $handler->task = 'node_view'; | |
| $handler->subtask = ''; | |
| $handler->handler = 'panel_context'; | |
| $handler->weight = 0; | |
| $handler->conf = array( | |
| 'title' => 'Events', | |
| 'no_blocks' => 0, | |
| 'pipeline' => 'standard', | |
| 'css_id' => 'events', | |
| 'css' => '', | |
| 'contexts' => array(), | |
| 'relationships' => array( | |
| 0 => array( | |
| 'identifier' => 'Group from node', | |
| 'keyword' => 'og_group', | |
| 'name' => 'og_group_from_node', | |
| 'context' => 'argument_entity_id:node_1', | |
| 'id' => 1, | |
| ), | |
| ), | |
| 'access' => array( | |
| 'plugins' => array( | |
| 0 => array( | |
| 'name' => 'og_is_node_group', | |
| 'settings' => array( | |
| 'is_group_content' => '1', | |
| ), | |
| 'context' => 'argument_entity_id:node_1', | |
| 'not' => FALSE, | |
| ), | |
| ), | |
| 'logic' => 'and', | |
| ), | |
| ); | |
| $display = new panels_display; | |
| $display->layout = 'flexible'; | |
| $display->layout_settings = array( | |
| 'items' => array( | |
| 'canvas' => array( | |
| 'type' => 'row', | |
| 'contains' => 'column', | |
| 'children' => array( | |
| 0 => 'main', | |
| ), | |
| 'parent' => NULL, | |
| ), | |
| 'main' => array( | |
| 'type' => 'column', | |
| 'width' => 100, | |
| 'width_type' => '%', | |
| 'children' => array( | |
| 0 => 3, | |
| 1 => 4, | |
| 2 => 5, | |
| ), | |
| 'parent' => 'canvas', | |
| ), | |
| 3 => array( | |
| 'type' => 'row', | |
| 'contains' => 'column', | |
| 'children' => array( | |
| 0 => 6, | |
| 1 => 7, | |
| ), | |
| 'parent' => 'main', | |
| 'class' => 'titles', | |
| ), | |
| 4 => array( | |
| 'type' => 'row', | |
| 'contains' => 'region', | |
| 'children' => array( | |
| 0 => 'image', | |
| 1 => 'event_summary_region', | |
| ), | |
| 'parent' => 'main', | |
| 'class' => 'ev-summary', | |
| ), | |
| 'event_summary_region' => array( | |
| 'type' => 'region', | |
| 'title' => 'Event Summary Region', | |
| 'width' => '75.00615915250062', | |
| 'width_type' => '%', | |
| 'parent' => '4', | |
| 'class' => 'ev-summary-region', | |
| ), | |
| 5 => array( | |
| 'type' => 'row', | |
| 'contains' => 'region', | |
| 'children' => array( | |
| 0 => 'left_col_blocks', | |
| 1 => 'right_col_blocks', | |
| ), | |
| 'parent' => 'main', | |
| 'class' => 'blocks', | |
| ), | |
| 'left_col_blocks' => array( | |
| 'type' => 'region', | |
| 'title' => 'Left Col Blocks', | |
| 'width' => 50, | |
| 'width_type' => '%', | |
| 'parent' => '5', | |
| 'class' => 'left-col-blocks', | |
| ), | |
| 'right_col_blocks' => array( | |
| 'type' => 'region', | |
| 'title' => 'Right Col Blocks', | |
| 'width' => 50, | |
| 'width_type' => '%', | |
| 'parent' => '5', | |
| 'class' => 'right-col-blocks', | |
| ), | |
| 'image' => array( | |
| 'type' => 'region', | |
| 'title' => 'Image', | |
| 'width' => '24.993840847499385', | |
| 'width_type' => '%', | |
| 'parent' => '4', | |
| 'class' => '', | |
| ), | |
| 6 => array( | |
| 'type' => 'column', | |
| 'width' => 50, | |
| 'width_type' => '%', | |
| 'parent' => '3', | |
| 'children' => array( | |
| 0 => 8, | |
| 1 => 9, | |
| 2 => 10, | |
| 3 => 11, | |
| ), | |
| 'class' => '', | |
| ), | |
| 7 => array( | |
| 'type' => 'column', | |
| 'width' => 50, | |
| 'width_type' => '%', | |
| 'parent' => '3', | |
| 'children' => array( | |
| 0 => 12, | |
| ), | |
| 'class' => '', | |
| ), | |
| 8 => array( | |
| 'type' => 'row', | |
| 'contains' => 'region', | |
| 'children' => array( | |
| 0 => 'event_title_out', | |
| ), | |
| 'parent' => '6', | |
| 'class' => 'ev-title-out', | |
| ), | |
| 9 => array( | |
| 'type' => 'row', | |
| 'contains' => 'region', | |
| 'children' => array( | |
| 0 => 'event_sub_out', | |
| ), | |
| 'parent' => '6', | |
| 'class' => 'ev-sub-out', | |
| ), | |
| 10 => array( | |
| 'type' => 'row', | |
| 'contains' => 'region', | |
| 'children' => array( | |
| 0 => 'event_date_out', | |
| ), | |
| 'parent' => '6', | |
| 'class' => 'ev-date-out', | |
| ), | |
| 11 => array( | |
| 'type' => 'row', | |
| 'contains' => 'region', | |
| 'children' => array( | |
| 0 => 'event_loc_out', | |
| ), | |
| 'parent' => '6', | |
| 'class' => 'ev-loc-out', | |
| ), | |
| 12 => array( | |
| 'type' => 'row', | |
| 'contains' => 'region', | |
| 'children' => array( | |
| 0 => 'event_summary_out', | |
| ), | |
| 'parent' => '7', | |
| 'class' => 'ev-summary-out', | |
| ), | |
| 'event_summary_out' => array( | |
| 'type' => 'region', | |
| 'title' => 'Event Summary Out', | |
| 'width' => 100, | |
| 'width_type' => '%', | |
| 'parent' => '12', | |
| 'class' => 'ev-summary-out-reg', | |
| ), | |
| 'event_title_out' => array( | |
| 'type' => 'region', | |
| 'title' => 'Event Title Out', | |
| 'width' => 100, | |
| 'width_type' => '%', | |
| 'parent' => '8', | |
| 'class' => 'ev-title-out-reg', | |
| ), | |
| 'event_sub_out' => array( | |
| 'type' => 'region', | |
| 'title' => 'Event Sub Out', | |
| 'width' => 100, | |
| 'width_type' => '%', | |
| 'parent' => '9', | |
| 'class' => 'ev-sub-out-reg', | |
| ), | |
| 'event_date_out' => array( | |
| 'type' => 'region', | |
| 'title' => 'Event Date Out', | |
| 'width' => 100, | |
| 'width_type' => '%', | |
| 'parent' => '10', | |
| 'class' => 'ev-date-out-reg', | |
| ), | |
| 'event_loc_out' => array( | |
| 'type' => 'region', | |
| 'title' => 'Event Loc Out', | |
| 'width' => 100, | |
| 'width_type' => '%', | |
| 'parent' => '11', | |
| 'class' => 'ev-loc-out-reg', | |
| ), | |
| ), | |
| ); | |
| $display->panel_settings = array( | |
| 'style_settings' => array( | |
| 'default' => NULL, | |
| 'left' => NULL, | |
| 'right' => NULL, | |
| 'sidebar' => NULL, | |
| 'event_title' => NULL, | |
| 'loc_and_date' => NULL, | |
| 'event_summary_region' => NULL, | |
| 'left_col_blocks' => NULL, | |
| 'right_col_blocks' => NULL, | |
| 'image' => NULL, | |
| ), | |
| ); | |
| $display->cache = array(); | |
| $display->title = '%event:title'; | |
| $display->content = array(); | |
| $display->panels = array(); | |
| $pane = new stdClass; | |
| $pane->pid = 'new-1'; | |
| $pane->panel = 'event_summary_region'; | |
| $pane->type = 'custom'; | |
| $pane->subtype = 'custom'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'admin_title' => 'Events Header', | |
| 'title' => '', | |
| 'body' => 'events', | |
| 'format' => 'plain_text', | |
| 'substitute' => 1, | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array( | |
| 'css_id' => '', | |
| 'css_class' => 'ev-summary-head', | |
| ); | |
| $pane->extras = array(); | |
| $pane->position = 0; | |
| $display->content['new-1'] = $pane; | |
| $display->panels['event_summary_region'][0] = 'new-1'; | |
| $pane = new stdClass; | |
| $pane->pid = 'new-2'; | |
| $pane->panel = 'event_summary_region'; | |
| $pane->type = 'entity_field'; | |
| $pane->subtype = 'node:body'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'label' => 'hidden', | |
| 'formatter' => 'text_summary_or_trimmed', | |
| 'formatter_settings' => array( | |
| 'trim_length' => '300', | |
| ), | |
| 'context' => 'argument_entity_id:node_1', | |
| 'override_title' => 1, | |
| 'override_title_text' => '', | |
| 'body' => '', | |
| 'format' => 'plain_text', | |
| 'admin_title' => 'Events Header', | |
| 'title' => 'Events', | |
| 'substitute' => 1, | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array( | |
| 'css_id' => '', | |
| 'css_class' => 'ev-summary-text', | |
| ); | |
| $pane->extras = array(); | |
| $pane->position = 1; | |
| $display->content['new-2'] = $pane; | |
| $display->panels['event_summary_region'][1] = 'new-2'; | |
| $pane = new stdClass; | |
| $pane->pid = 'new-3'; | |
| $pane->panel = 'event_title'; | |
| $pane->type = 'node_title'; | |
| $pane->subtype = 'node_title'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'link' => 0, | |
| 'context' => 'argument_entity_id:node_1', | |
| 'override_title' => 1, | |
| 'override_title_text' => '', | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array(); | |
| $pane->extras = array(); | |
| $pane->position = 0; | |
| $display->content['new-3'] = $pane; | |
| $display->panels['event_title'][0] = 'new-3'; | |
| $pane = new stdClass; | |
| $pane->pid = 'new-4'; | |
| $pane->panel = 'image'; | |
| $pane->type = 'entity_field'; | |
| $pane->subtype = 'node:field_ev_img'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'label' => 'hidden', | |
| 'formatter' => 'image', | |
| 'formatter_settings' => array( | |
| 'image_style' => '', | |
| 'image_link' => '', | |
| ), | |
| 'context' => 'argument_entity_id:node_1', | |
| 'override_title' => 0, | |
| 'override_title_text' => '', | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array(); | |
| $pane->extras = array(); | |
| $pane->position = 0; | |
| $display->content['new-4'] = $pane; | |
| $display->panels['image'][0] = 'new-4'; | |
| $pane = new stdClass; | |
| $pane->pid = 'new-5'; | |
| $pane->panel = 'left_col_blocks'; | |
| $pane->type = 'views'; | |
| $pane->subtype = 'events'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'override_pager_settings' => 0, | |
| 'use_pager' => 1, | |
| 'nodes_per_page' => '5', | |
| 'pager_id' => '0', | |
| 'offset' => '0', | |
| 'more_link' => 0, | |
| 'feed_icons' => 0, | |
| 'panel_args' => 0, | |
| 'link_to_view' => 0, | |
| 'args' => '', | |
| 'url' => '', | |
| 'display' => 'ev_blogs', | |
| 'context' => array( | |
| 0 => 'relationship_og_group_from_node_1.gid', | |
| ), | |
| 'override_title' => 0, | |
| 'override_title_text' => '', | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array( | |
| 'css_id' => '', | |
| 'css_class' => 'blogs-accordion', | |
| ); | |
| $pane->extras = array(); | |
| $pane->position = 0; | |
| $display->content['new-5'] = $pane; | |
| $display->panels['left_col_blocks'][0] = 'new-5'; | |
| $pane = new stdClass; | |
| $pane->pid = 'new-6'; | |
| $pane->panel = 'left_col_blocks'; | |
| $pane->type = 'views'; | |
| $pane->subtype = 'events_users'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'override_pager_settings' => 0, | |
| 'use_pager' => 1, | |
| 'nodes_per_page' => '5', | |
| 'pager_id' => '0', | |
| 'offset' => '0', | |
| 'more_link' => 0, | |
| 'feed_icons' => 0, | |
| 'panel_args' => 0, | |
| 'link_to_view' => 0, | |
| 'args' => '', | |
| 'url' => '', | |
| 'display' => 'block', | |
| 'context' => array( | |
| 0 => 'relationship_og_group_from_node_1.gid', | |
| ), | |
| 'override_title' => 0, | |
| 'override_title_text' => '', | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array( | |
| 'css_id' => '', | |
| 'css_class' => 'speakers-accordion', | |
| ); | |
| $pane->extras = array(); | |
| $pane->position = 1; | |
| $display->content['new-6'] = $pane; | |
| $display->panels['left_col_blocks'][1] = 'new-6'; | |
| $pane = new stdClass; | |
| $pane->pid = 'new-7'; | |
| $pane->panel = 'loc_and_date'; | |
| $pane->type = 'entity_field'; | |
| $pane->subtype = 'node:field_date_time'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'label' => 'hidden', | |
| 'formatter' => 'date_date_with_slashes', | |
| 'formatter_settings' => array( | |
| 'format_type' => 'date_with_slashes', | |
| 'show_repeat_rule' => 'show', | |
| 'multiple_number' => '', | |
| 'multiple_from' => '', | |
| 'multiple_to' => '', | |
| 'fromto' => 'both', | |
| ), | |
| 'context' => 'argument_entity_id:node_1', | |
| 'override_title' => 0, | |
| 'override_title_text' => '', | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array(); | |
| $pane->extras = array(); | |
| $pane->position = 0; | |
| $display->content['new-7'] = $pane; | |
| $display->panels['loc_and_date'][0] = 'new-7'; | |
| $pane = new stdClass; | |
| $pane->pid = 'new-8'; | |
| $pane->panel = 'loc_and_date'; | |
| $pane->type = 'entity_field'; | |
| $pane->subtype = 'node:field_ev_location'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'label' => 'hidden', | |
| 'formatter' => 'location_default', | |
| 'formatter_settings' => array(), | |
| 'context' => 'argument_entity_id:node_1', | |
| 'override_title' => 0, | |
| 'override_title_text' => '', | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array(); | |
| $pane->extras = array(); | |
| $pane->position = 1; | |
| $display->content['new-8'] = $pane; | |
| $display->panels['loc_and_date'][1] = 'new-8'; | |
| $pane = new stdClass; | |
| $pane->pid = 'new-9'; | |
| $pane->panel = 'loc_and_date'; | |
| $pane->type = 'custom'; | |
| $pane->subtype = 'custom'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'admin_title' => 'Register For Event', | |
| 'title' => '', | |
| 'body' => 'Register', | |
| 'format' => 'full_html', | |
| 'substitute' => 1, | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array(); | |
| $pane->extras = array(); | |
| $pane->position = 2; | |
| $display->content['new-9'] = $pane; | |
| $display->panels['loc_and_date'][2] = 'new-9'; | |
| $pane = new stdClass; | |
| $pane->pid = 'new-10'; | |
| $pane->panel = 'right_col_blocks'; | |
| $pane->type = 'views'; | |
| $pane->subtype = 'events'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'override_pager_settings' => 0, | |
| 'use_pager' => 1, | |
| 'nodes_per_page' => '5', | |
| 'pager_id' => '0', | |
| 'offset' => '0', | |
| 'more_link' => 0, | |
| 'feed_icons' => 0, | |
| 'panel_args' => 0, | |
| 'link_to_view' => 0, | |
| 'args' => '', | |
| 'url' => '', | |
| 'display' => 'ev_sponsors', | |
| 'context' => array( | |
| 0 => 'relationship_og_group_from_node_1.gid', | |
| ), | |
| 'override_title' => 0, | |
| 'override_title_text' => '', | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array( | |
| 'css_id' => '', | |
| 'css_class' => 'sponsors-accordion', | |
| ); | |
| $pane->extras = array(); | |
| $pane->position = 0; | |
| $display->content['new-10'] = $pane; | |
| $display->panels['right_col_blocks'][0] = 'new-10'; | |
| $pane = new stdClass; | |
| $pane->pid = 'new-11'; | |
| $pane->panel = 'right_col_blocks'; | |
| $pane->type = 'views'; | |
| $pane->subtype = 'events'; | |
| $pane->shown = TRUE; | |
| $pane->access = array(); | |
| $pane->configuration = array( | |
| 'override_pager_settings' => 0, | |
| 'use_pager' => 1, | |
| 'nodes_per_page' => '5', | |
| 'pager_id' => '0', | |
| 'offset' => '0', | |
| 'more_link' => 0, | |
| 'feed_icons' => 0, | |
| 'panel_args' => 0, | |
| 'link_to_view' => 0, | |
| 'args' => '', | |
| 'url' => '', | |
| 'display' => 'ev_video', | |
| 'context' => array( | |
| 0 => 'relationship_og_group_from_node_1.gid', | |
| ), | |
| 'override_title' => 0, | |
| 'override_title_text' => '', | |
| ); | |
| $pane->cache = array(); | |
| $pane->style = array( | |
| 'settings' => NULL, | |
| ); | |
| $pane->css = array( | |
| 'css_id' => '', | |
| 'css_class' => 'videos-accordion', | |
| ); | |
| $pane->extras = array(); | |
| $pane->position = 1; | |
| $display->content['new-11'] = $pane; | |
| $display->panels['right_col_blocks'][1] = 'new-11'; | |
| $display->hide_title = PANELS_TITLE_FIXED; | |
| $display->title_pane = '0'; | |
| $handler->conf['display'] = $display; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment