$handler = new stdClass; $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */ $handler->api_version = 1; $handler->name = 'page_article_comments_as_menu_tag_panel_context'; $handler->task = 'page'; $handler->subtask = 'article_comments_as_menu_tag'; $handler->handler = 'panel_context'; $handler->weight = 0; $handler->conf = array( 'title' => 'Article Comment', 'no_blocks' => 0, 'pipeline' => 'standard', 'css_id' => '', 'css' => '', 'contexts' => array(), 'relationships' => array(), 'access' => array( 'plugins' => array( 0 => array( 'name' => 'node_type', 'settings' => array( 'type' => array( 'article' => 'article', ), ), 'context' => 'argument_entity_id:node_1', 'not' => FALSE, ), ), 'logic' => 'and', ), ); $display = new panels_display; $display->layout = 'onecol'; $display->layout_settings = array(); $display->panel_settings = array( 'style_settings' => array( 'default' => NULL, 'middle' => NULL, ), ); $display->cache = array(); $display->title = ''; $display->content = array(); $display->panels = array(); $pane = new stdClass; $pane->pid = 'new-1'; $pane->panel = 'middle'; $pane->type = 'node_comments'; $pane->subtype = 'node_comments'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'mode' => '1', 'comments_per_page' => '10', 'context' => 'argument_entity_id:node_1', 'override_title' => 1, 'override_title_text' => '', ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array( 'css_id' => '', 'css_class' => 'page-manager-comment', ); $pane->extras = array(); $pane->position = 0; $pane->locks = array(); $display->content['new-1'] = $pane; $display->panels['middle'][0] = 'new-1'; $pane = new stdClass; $pane->pid = 'new-2'; $pane->panel = 'middle'; $pane->type = 'node_comment_form'; $pane->subtype = 'node_comment_form'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'anon_links' => 1, 'context' => 'argument_entity_id:node_1', 'override_title' => 0, 'override_title_text' => '', ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array( 'css_id' => '', 'css_class' => 'page-manager-add-comment', ); $pane->extras = array(); $pane->position = 1; $pane->locks = array(); $display->content['new-2'] = $pane; $display->panels['middle'][1] = 'new-2'; $display->hide_title = PANELS_TITLE_FIXED; $display->title_pane = 'new-1'; $handler->conf['display'] = $display;