$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_2'; $handler->task = 'node_view'; $handler->subtask = ''; $handler->handler = 'panel_context'; $handler->weight = 1; $handler->conf = array( 'title' => 'Church Layout', 'no_blocks' => 1, 'pipeline' => 'standard', 'css_id' => '', 'css' => '', 'contexts' => array(), 'relationships' => array( 0 => array( 'identifier' => 'OG group from node', 'keyword' => 'group', 'name' => 'og_group_from_node', 'context' => 'argument_entity_id:node_1', 'id' => 1, ), ), 'access' => array( 'plugins' => array( 1 => array( 'name' => 'node_type', 'settings' => array( 'type' => array( 'church' => 'church', ), ), 'context' => 'argument_entity_id:node_1', 'not' => FALSE, ), 2 => array( 'name' => 'og_is_node_group', 'settings' => NULL, '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 => 2, 1 => 'main-row', 2 => 1, ), 'parent' => 'canvas', ), 'main-row' => array( 'type' => 'row', 'contains' => 'region', 'children' => array( 0 => 'center', 1 => 'top_right', ), 'parent' => 'main', ), 'center' => array( 'type' => 'region', 'title' => 'Center', 'width' => '100', 'width_type' => '%', 'parent' => 'main-row', ), 'top_right' => array( 'type' => 'region', 'title' => 'Top right', 'width' => '220', 'width_type' => 'px', 'parent' => 'main-row', 'class' => '', ), 1 => array( 'type' => 'row', 'contains' => 'region', 'children' => array( 0 => 'bottom_left', 1 => 'bottom_right', ), 'parent' => 'main', 'class' => '', ), 'bottom_right' => array( 'type' => 'region', 'title' => 'Bottom Right', 'width' => '220', 'width_type' => 'px', 'parent' => '1', 'class' => '', ), 'bottom_left' => array( 'type' => 'region', 'title' => 'Bottom Left', 'width' => '669', 'width_type' => 'px', 'parent' => '1', 'class' => '', ), 2 => array( 'type' => 'row', 'contains' => 'region', 'children' => array( 0 => 'menu', ), 'parent' => 'main', 'class' => '', ), 'menu' => array( 'type' => 'region', 'title' => 'Menu', 'width' => 100, 'width_type' => '%', 'parent' => '2', 'class' => '', ), ), ); $display->panel_settings = array( 'style_settings' => array( 'default' => NULL, 'top' => NULL, 'left_above' => NULL, 'right_above' => NULL, 'middle' => NULL, 'left_below' => NULL, 'right_below' => NULL, 'bottom' => NULL, 'center' => NULL, 'top_right' => NULL, 'bottom_right' => NULL, 'bottom_left' => NULL, 'menu' => NULL, ), 'menu' => array( 'style' => 'default', ), ); $display->cache = array(); $display->title = ''; $display->content = array(); $display->panels = array(); $pane = new stdClass; $pane->pid = 'new-1'; $pane->panel = 'center'; $pane->type = 'views'; $pane->subtype = 'church_sermons'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'override_pager_settings' => 0, 'use_pager' => 0, 'nodes_per_page' => '1', 'pager_id' => '0', 'offset' => '0', 'more_link' => 0, 'feed_icons' => 0, 'panel_args' => 0, 'link_to_view' => 0, 'args' => '', 'url' => '', 'display' => 'default', 'context' => array( 0 => 'relationship_og_group_from_node_1.gid', ), 'override_title' => 1, 'override_title_text' => 'Latest Sermon', ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $pane->extras = array(); $pane->position = 0; $display->content['new-1'] = $pane; $display->panels['center'][0] = 'new-1'; $pane = new stdClass; $pane->pid = 'new-2'; $pane->panel = 'center'; $pane->type = 'entity_field'; $pane->subtype = 'node:body'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'label' => 'title', 'formatter' => 'text_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-2'] = $pane; $display->panels['center'][1] = 'new-2'; $pane = new stdClass; $pane->pid = 'new-3'; $pane->panel = 'top_right'; $pane->type = 'node_create_links'; $pane->subtype = 'node_create_links'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'context' => 'relationship_og_group_from_node_1', 'override_title' => 1, 'override_title_text' => 'Create %node Content', ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $pane->extras = array(); $pane->position = 0; $display->content['new-3'] = $pane; $display->panels['top_right'][0] = 'new-3'; $pane = new stdClass; $pane->pid = 'new-4'; $pane->panel = 'top_right'; $pane->type = 'entity_field'; $pane->subtype = 'node:field_location'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'label' => 'title', 'formatter' => 'location_all', '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-4'] = $pane; $display->panels['top_right'][1] = 'new-4'; $pane = new stdClass; $pane->pid = 'new-5'; $pane->panel = 'top_right'; $pane->type = 'views_panes'; $pane->subtype = 'og_members-panel_pane_1'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'context' => array( 0 => 'relationship_og_group_from_node_1', ), 'override_title' => 0, 'override_title_text' => '', ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $pane->extras = array(); $pane->position = 2; $display->content['new-5'] = $pane; $display->panels['top_right'][2] = 'new-5'; $pane = new stdClass; $pane->pid = 'new-6'; $pane->panel = 'top_right'; $pane->type = 'views_panes'; $pane->subtype = 'church_ministries-panel_pane_1'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'context' => array( 0 => 'relationship_og_group_from_node_1', ), 'override_title' => 0, 'override_title_text' => '', ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $pane->extras = array(); $pane->position = 3; $display->content['new-6'] = $pane; $display->panels['top_right'][3] = 'new-6'; $display->hide_title = PANELS_TITLE_PANE; $display->title_pane = 'new-2'; $handler->conf['display'] = $display;