$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' => 'Article with related content', 'no_blocks' => 1, 'pipeline' => 'standard', 'css_id' => '', 'css' => '', 'contexts' => array(), 'relationships' => array( 1 => array( 'identifier' => 'Multiple terms from node', 'keyword' => 'terms', 'name' => 'terms_from_node', 'context' => 'argument_entity_id:node_1', 'vid' => array( 1 => '1', ), 'concatenator' => ',', 'id' => 1, ), ), ); $display = new panels_display; $display->layout = 'twocol'; $display->layout_settings = array(); $display->panel_settings = array( 'style_settings' => array( 'default' => NULL, 'left' => NULL, 'right' => NULL, ), ); $display->cache = array(); $display->title = ''; $display->content = array(); $display->panels = array(); $pane = new stdClass; $pane->pid = 'new-1'; $pane->panel = 'left'; $pane->type = 'node_content'; $pane->subtype = 'node_content'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'links' => 1, 'no_extras' => 1, 'override_title' => 0, 'override_title_text' => '', 'identifier' => '', 'link' => 1, 'leave_node_title' => 0, 'build_mode' => 'full', 'context' => 'argument_entity_id:node_1', ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $pane->extras = array(); $pane->position = 0; $display->content['new-1'] = $pane; $display->panels['left'][0] = 'new-1'; $pane = new stdClass; $pane->pid = 'new-2'; $pane->panel = 'right'; $pane->type = 'views_panes'; $pane->subtype = 'based_on_terms-panel_pane_1'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'context' => array( 0 => 'relationship_terms_from_node_1', ), ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $pane->extras = array(); $pane->position = 0; $display->content['new-2'] = $pane; $display->panels['right'][0] = 'new-2'; $display->hide_title = PANELS_TITLE_FIXED; $display->title_pane = 'new-1'; $handler->conf['display'] = $display;