$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' => 'Dining outlet', 'no_blocks' => 0, 'pipeline' => 'standard', 'css_id' => '', 'css' => '', 'contexts' => array(), 'relationships' => array( 0 => array( 'identifier' => 'Taxonomy term from Node (on Node: Precinct)', 'keyword' => 'taxonomy_term', 'name' => 'entity_from_field:field_precinct-node-taxonomy_term', 'context' => 'argument_entity_id:node_1', 'id' => 1, ), ), 'access' => array( 'plugins' => array( 0 => array( 'name' => 'node_type', 'settings' => array( 'type' => array( 'dining_outlet' => 'dining_outlet', ), ), 'context' => 'argument_entity_id:node_1', 'not' => FALSE, ), ), 'logic' => 'and', ), ); $display = new panels_display; $display->layout = 'flexible:profile_page'; $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 => 'main-row', 1 => 1, ), 'parent' => 'canvas', ), 'main-row' => array( 'type' => 'row', 'contains' => 'region', 'children' => array( 0 => 'center', ), 'parent' => 'main', ), 'center' => array( 'type' => 'region', 'title' => 'Top', 'width' => 100, 'width_type' => '%', 'parent' => 'main-row', 'class' => '', ), 1 => array( 'type' => 'row', 'contains' => 'region', 'children' => array( 0 => 'left', 1 => 'middle', ), 'parent' => 'main', 'class' => '', ), 'left' => array( 'type' => 'region', 'title' => 'Left', 'width' => '264', 'width_type' => 'px', 'parent' => '1', 'class' => '', ), 'middle' => array( 'type' => 'region', 'title' => 'Middle', 'width' => '410', 'width_type' => 'px', 'parent' => '1', 'class' => '', ), ), ); $display->panel_settings = array( 'style_settings' => array( 'default' => array(), 'center' => array(), 'left' => array(), 'middle' => NULL, 'top' => NULL, 'right' => NULL, 'main_' => array(), 'bottom' => NULL, ), 'left' => array( 'style' => 'stylizer', ), 'center' => array( 'style' => 'stylizer', ), 'main_' => array( 'style' => 'stylizer', ), 'bottom' => array( 'style' => 'default', ), 'style' => 'stylizer', ); $display->cache = array(); $display->title = '%node:title'; $display->content = array(); $display->panels = array(); $pane = new stdClass; $pane->pid = 'new-1'; $pane->panel = 'bottom'; $pane->type = 'views'; $pane->subtype = 'outlets'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'override_pager_settings' => 0, 'use_pager' => 0, 'nodes_per_page' => '4', 'pager_id' => '0', 'offset' => '0', 'more_link' => 0, 'feed_icons' => 0, 'panel_args' => 0, 'link_to_view' => 0, 'args' => 'dining_outlet', 'url' => '', 'display' => 'block_1', 'context' => array( 0 => 'relationship_entity_from_field:field_precinct-node-taxonomy_term_1.tid', 1 => 'argument_entity_id:node_1.content-type', 2 => 'argument_entity_id:node_1.nid', ), 'override_title' => 1, 'override_title_text' => 'More of %taxonomy_term:name\'s restaurants and cafés you might like:', ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $pane->extras = array(); $pane->position = 0; $display->content['new-1'] = $pane; $display->panels['bottom'][0] = 'new-1'; $pane = new stdClass; $pane->pid = 'new-2'; $pane->panel = 'center'; $pane->type = 'block'; $pane->subtype = 'views-outlet_details-block_1'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'override_title' => 0, 'override_title_text' => '', ); $pane->cache = array(); $pane->style = array( 'settings' => array(), 'style' => 'stylizer', ); $pane->css = array(); $pane->extras = array(); $pane->position = 0; $display->content['new-2'] = $pane; $display->panels['center'][0] = 'new-2'; $pane = new stdClass; $pane->pid = 'new-3'; $pane->panel = 'left'; $pane->type = 'block'; $pane->subtype = 'views-outlet_details-block_2'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'override_title' => 0, 'override_title_text' => '', ); $pane->cache = array( 'method' => 0, ); $pane->style = array( 'settings' => array(), 'style' => 'stylizer', ); $pane->css = array( 'css_id' => '', 'css_class' => 'grey-rounded-box', ); $pane->extras = array(); $pane->position = 0; $display->content['new-3'] = $pane; $display->panels['left'][0] = 'new-3'; $pane = new stdClass; $pane->pid = 'new-4'; $pane->panel = 'main_'; $pane->type = 'node_body'; $pane->subtype = 'node_body'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'context' => 'argument_entity_id:node_1', 'override_title' => 1, 'override_title_text' => '', ); $pane->cache = array(); $pane->style = array( 'settings' => array(), 'style' => 'stylizer', ); $pane->css = array(); $pane->extras = array(); $pane->position = 0; $display->content['new-4'] = $pane; $display->panels['main_'][0] = 'new-4'; $display->hide_title = PANELS_TITLE_FIXED; $display->title_pane = '0'; $handler->conf['display'] = $display;