|
uk7_NodeVariant_Blog
D7 Node variant blog.
$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 = -30;
$handler->conf = array(
'title' => 'Blog',
'no_blocks' => 1,
'pipeline' => 'standard',
'css_id' => '',
'css' => '',
'contexts' => array(),
'relationships' => array(),
'access' => array(
'plugins' => array(
0 => array(
'name' => 'node_type',
'settings' => array(
'type' => array(
'blog' => 'blog',
),
),
'context' => 'argument_nid_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 => 1,
1 => 'main-row',
2 => 2,
),
'parent' => 'canvas',
),
'main-row' => array(
'type' => 'row',
'contains' => 'region',
'children' => array(
0 => 'left',
1 => 'right',
),
'parent' => 'main',
),
1 => array(
'type' => 'row',
'contains' => 'region',
'children' => array(),
'parent' => 'main',
'class' => '',
),
2 => array(
'type' => 'row',
'contains' => 'region',
'children' => array(),
'parent' => 'main',
'class' => '',
),
'left' => array(
'type' => 'region',
'title' => 'Left',
'width' => '60.90597491625769',
'width_type' => '%',
'parent' => 'main-row',
'class' => '',
),
'right' => array(
'type' => 'region',
'title' => 'Right',
'width' => '39.09402508374231',
'width_type' => '%',
'parent' => 'main-row',
'class' => '',
),
),
);
$display->panel_settings = array(
'style_settings' => array(
'default' => NULL,
'top_centre' => NULL,
'bottom_centre' => 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' => 0,
'page' => 0,
'no_extras' => 0,
'override_title' => 0,
'override_title_text' => '',
'identifier' => '',
'link' => 0,
'leave_node_title' => 0,
'build_mode' => 'full',
'context' => 'argument_nid_1',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$pane->extras = array();
$pane->position = 0;
$pane->locks = '';
$display->content['new-1'] = $pane;
$display->panels['left'][0] = 'new-1';
$pane = new stdClass();
$pane->pid = 'new-2';
$pane->panel = 'left';
$pane->type = 'panels_mini';
$pane->subtype = 'like_buttons';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'override_title' => 0,
'override_title_text' => '',
);
$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['left'][1] = 'new-2';
$pane = new stdClass();
$pane->pid = 'new-3';
$pane->panel = 'right';
$pane->type = 'views';
$pane->subtype = 'blogger';
$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' => 'ctools_context_1',
'context' => array(
0 => 'argument_entity_id:node_1.nid',
),
'override_title' => 0,
'override_title_text' => '',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
'style' => 'rounded_corners',
);
$pane->css = array();
$pane->extras = array();
$pane->position = 0;
$pane->locks = array();
$display->content['new-3'] = $pane;
$display->panels['right'][0] = 'new-3';
$pane = new stdClass();
$pane->pid = 'new-4';
$pane->panel = 'right';
$pane->type = 'views';
$pane->subtype = 'recent_blog_posts';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'override_pager_settings' => 0,
'use_pager' => 0,
'nodes_per_page' => '10',
'pager_id' => '0',
'offset' => '0',
'more_link' => 0,
'feed_icons' => 0,
'panel_args' => 0,
'link_to_view' => 0,
'args' => '',
'url' => '',
'display' => 'default',
'override_title' => 0,
'override_title_text' => '',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
'style' => 'rounded_corners',
);
$pane->css = array();
$pane->extras = array();
$pane->position = 1;
$pane->locks = array();
$display->content['new-4'] = $pane;
$display->panels['right'][1] = 'new-4';
$display->hide_title = PANELS_TITLE_PANE;
$display->title_pane = '0';
$handler->conf['display'] = $display;
|