$handler = new stdClass; $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */ $handler->api_version = 1; $handler->name = 'term_view_panel_context'; $handler->task = 'term_view'; $handler->subtask = ''; $handler->handler = 'panel_context'; $handler->weight = 0; $handler->conf = array( 'title' => 'Panel Articole', 'no_blocks' => 0, 'pipeline' => 'standard', 'css_id' => '', 'css' => '', 'contexts' => array(), 'relationships' => array(), 'access' => array( 'plugins' => array( 0 => array( 'name' => 'context_exists', 'settings' => array( 'exists' => '1', ), 'context' => 'argument_entity_id:taxonomy_term_1', 'not' => FALSE, ), 1 => array( 'name' => 'term_vocabulary', 'settings' => array( 'vids' => array( 2 => '2', ), ), 'context' => 'argument_entity_id:taxonomy_term_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, 'top' => NULL, 'left' => NULL, 'right' => NULL, 'bottom' => 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 = 'term_list'; $pane->subtype = 'term_list'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'title' => NULL, 'type' => 'child', 'list_type' => 'ol', 'context' => 'argument_term_1', 'override_title' => 1, 'override_title_text' => '', 'path' => 'taxonomy/term/%tid', ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array( 'css_id' => '', 'css_class' => 'lista-categorii', ); $pane->extras = array(); $pane->position = 0; $pane->locks = ''; $display->content['new-1'] = $pane; $display->panels['middle'][0] = 'new-1'; $pane = new stdClass; $pane->pid = 'new-2'; $pane->panel = 'middle'; $pane->type = 'views'; $pane->subtype = 'povesti_view'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'override_pager_settings' => 0, 'use_pager' => 0, 'nodes_per_page' => '20', 'pager_id' => '0', 'offset' => '0', 'more_link' => 0, 'feed_icons' => 0, 'panel_args' => 1, 'link_to_view' => 0, 'args' => '', 'url' => '', 'display' => 'default', 'override_title' => 0, 'override_title_text' => '', 'context' => array( 0 => '', ), ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $pane->extras = array(); $pane->position = 1; $pane->locks = ''; $display->content['new-2'] = $pane; $display->panels['middle'][1] = 'new-2'; $display->hide_title = PANELS_TITLE_FIXED; $display->title_pane = '0'; $handler->conf['display'] = $display;