complete refactoring of thematique list display : entityfieldquery + viewmode
This commit is contained in:
@@ -100,11 +100,11 @@ function clameurs_default_panels_mini() {
|
||||
$pane->panel = 'left';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:body';
|
||||
$pane->shown = TRUE;
|
||||
$pane->shown = FALSE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'label' => 'hidden',
|
||||
'formatter' => 'text_summary_or_trimmed',
|
||||
'formatter' => 'text_default',
|
||||
'delta_limit' => 0,
|
||||
'delta_offset' => '0',
|
||||
'delta_reversed' => FALSE,
|
||||
@@ -133,7 +133,7 @@ function clameurs_default_panels_mini() {
|
||||
$pane->panel = 'left';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_emvideo';
|
||||
$pane->shown = TRUE;
|
||||
$pane->shown = FALSE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'label' => 'hidden',
|
||||
@@ -166,6 +166,31 @@ function clameurs_default_panels_mini() {
|
||||
$display->content['new-5cb200c4-da2c-4eba-972d-24012a9136b7'] = $pane;
|
||||
$display->panels['left'][1] = 'new-5cb200c4-da2c-4eba-972d-24012a9136b7';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-5706499d-b09f-430e-a96b-40c75be56c32';
|
||||
$pane->panel = 'left';
|
||||
$pane->type = 'entity_view';
|
||||
$pane->subtype = 'node';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'view_mode' => 'teaser',
|
||||
'context' => 'requiredcontext_entity:node_1',
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '',
|
||||
'override_title_heading' => 'h2',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 2;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '5706499d-b09f-430e-a96b-40c75be56c32';
|
||||
$display->content['new-5706499d-b09f-430e-a96b-40c75be56c32'] = $pane;
|
||||
$display->panels['left'][2] = 'new-5706499d-b09f-430e-a96b-40c75be56c32';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-5c424baf-2ef8-471e-a7f5-d8a5d8048b59';
|
||||
$pane->panel = 'right';
|
||||
$pane->type = 'entity_field';
|
||||
|
||||
Reference in New Issue
Block a user