|
UserProfileTemplateUK
D7 User Profile Template.
$handler = new stdClass();
$handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
$handler->api_version = 1;
$handler->name = 'user_view_panel_context';
$handler->task = 'user_view';
$handler->subtask = '';
$handler->handler = 'panel_context';
$handler->weight = 0;
$handler->conf = array(
'title' => 'User',
'no_blocks' => 1,
'pipeline' => 'standard',
'body_classes_to_remove' => '',
'body_classes_to_add' => '',
'css_id' => '',
'css' => '',
'contexts' => array(),
'relationships' => array(),
);
$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 => 'main-row',
),
'parent' => 'canvas',
),
'main-row' => array(
'type' => 'row',
'contains' => 'region',
'children' => array(
0 => 'left',
1 => 'right',
),
'parent' => 'main',
),
'left' => array(
'type' => 'region',
'title' => 'Left',
'width' => '70.00000000000000',
'width_type' => '%',
'parent' => 'main-row',
'class' => '',
),
'right' => array(
'type' => 'region',
'title' => 'Right',
'width' => '30.00000000000000',
'width_type' => '%',
'parent' => 'main-row',
'class' => '',
),
),
);
$display->panel_settings = array(
'style_settings' => array(
'default' => NULL,
'left' => NULL,
'right' => NULL,
),
);
$display->cache = array();
$display->title = '%user:name';
$display->content = array();
$display->panels = array();
$pane = new stdClass();
$pane->pid = 'new-1';
$pane->panel = 'left';
$pane->type = 'entity_field';
$pane->subtype = 'user:field_my_blog';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'label' => 'title',
'formatter' => 'text_default',
'delta_limit' => 0,
'delta_offset' => '0',
'delta_reversed' => FALSE,
'formatter_settings' => array(),
'context' => 'argument_entity_id:user_1',
'override_title' => 0,
'override_title_text' => '',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$pane->extras = array();
$pane->position = 0;
$pane->locks = array();
$display->content['new-1'] = $pane;
$display->panels['left'][0] = 'new-1';
$pane = new stdClass();
$pane->pid = 'new-2';
$pane->panel = 'left';
$pane->type = 'entity_field';
$pane->subtype = 'user:field_blog_url';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'label' => 'title',
'formatter' => 'text_default',
'delta_limit' => 0,
'delta_offset' => '0',
'delta_reversed' => FALSE,
'formatter_settings' => array(),
'context' => 'argument_entity_id:user_1',
'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 = array();
$display->content['new-2'] = $pane;
$display->panels['left'][1] = 'new-2';
$pane = new stdClass();
$pane->pid = 'new-3';
$pane->panel = 'right';
$pane->type = 'entity_field';
$pane->subtype = 'user:field_imagefield';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'label' => 'hidden',
'formatter' => 'lightbox2__lightbox__medium__large',
'delta_limit' => 0,
'delta_offset' => '0',
'delta_reversed' => FALSE,
'formatter_settings' => array(),
'context' => 'argument_entity_id:user_1',
'override_title' => 0,
'override_title_text' => '',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$pane->extras = array();
$pane->position = 0;
$pane->locks = array();
$display->content['new-3'] = $pane;
$display->panels['right'][0] = 'new-3';
$display->hide_title = PANELS_TITLE_FIXED;
$display->title_pane = '0';
$handler->conf['display'] = $display;
|