complete refactoring of thematique list display : entityfieldquery + viewmode

This commit is contained in:
2017-02-10 18:06:32 +01:00
parent 46db2145e5
commit 30577d3c6b
11 changed files with 1000 additions and 98 deletions
@@ -44,7 +44,7 @@ function clameurs_default_page_manager_pages() {
'identifier' => 'T1',
'keyword' => 'node_1',
'name' => 'entity:node',
'entity_id' => '3',
'entity_id' => '32',
'id' => 1,
),
1 => array(
@@ -58,28 +58,28 @@ function clameurs_default_page_manager_pages() {
'identifier' => 'T3',
'keyword' => 'node_3',
'name' => 'entity:node',
'entity_id' => '20',
'entity_id' => '38',
'id' => 3,
),
3 => array(
'identifier' => 'T4',
'keyword' => 'node_4',
'name' => 'entity:node',
'entity_id' => '26',
'entity_id' => '3',
'id' => 4,
),
4 => array(
'identifier' => 'T5',
'keyword' => 'node_5',
'name' => 'entity:node',
'entity_id' => '32',
'entity_id' => '20',
'id' => 5,
),
5 => array(
'identifier' => 'T6',
'keyword' => 'node_6',
'name' => 'entity:node',
'entity_id' => '38',
'entity_id' => '26',
'id' => 6,
),
),
@@ -171,25 +171,13 @@ function clameurs_default_page_manager_pages() {
$display->content['new-4151eebf-62c3-4502-bfa0-0da5af08cfd1'] = $pane;
$display->panels['middle'][1] = 'new-4151eebf-62c3-4502-bfa0-0da5af08cfd1';
$pane = new stdClass();
$pane->pid = 'new-5404a1db-19ad-4398-867f-89709b468f22';
$pane->pid = 'new-efb1bca5-47da-48e8-9aed-d84cfe637033';
$pane->panel = 'middle';
$pane->type = 'views';
$pane->subtype = 'thematiques_anchors_menu';
$pane->type = 'block';
$pane->subtype = 'clameursmod-thematiques';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'override_pager_settings' => 0,
'use_pager' => 0,
'nodes_per_page' => '',
'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' => '',
'override_title_heading' => 'h2',
@@ -197,20 +185,21 @@ function clameurs_default_page_manager_pages() {
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
'style' => 'naked',
);
$pane->css = array();
$pane->extras = array();
$pane->position = 2;
$pane->locks = array();
$pane->uuid = '5404a1db-19ad-4398-867f-89709b468f22';
$display->content['new-5404a1db-19ad-4398-867f-89709b468f22'] = $pane;
$display->panels['middle'][2] = 'new-5404a1db-19ad-4398-867f-89709b468f22';
$pane->uuid = 'efb1bca5-47da-48e8-9aed-d84cfe637033';
$display->content['new-efb1bca5-47da-48e8-9aed-d84cfe637033'] = $pane;
$display->panels['middle'][2] = 'new-efb1bca5-47da-48e8-9aed-d84cfe637033';
$pane = new stdClass();
$pane->pid = 'new-698583ec-031d-4b04-a42e-af1c315bde56';
$pane->panel = 'middle';
$pane->type = 'panels_mini';
$pane->subtype = 'th_matique';
$pane->shown = TRUE;
$pane->shown = FALSE;
$pane->access = array();
$pane->configuration = array(
'context' => array(
@@ -240,7 +229,7 @@ function clameurs_default_page_manager_pages() {
$pane->panel = 'middle';
$pane->type = 'panels_mini';
$pane->subtype = 'th_matique';
$pane->shown = TRUE;
$pane->shown = FALSE;
$pane->access = array();
$pane->configuration = array(
'override_title' => 0,
@@ -267,7 +256,7 @@ function clameurs_default_page_manager_pages() {
$pane->panel = 'middle';
$pane->type = 'panels_mini';
$pane->subtype = 'th_matique';
$pane->shown = TRUE;
$pane->shown = FALSE;
$pane->access = array();
$pane->configuration = array(
'context' => array(
@@ -294,7 +283,7 @@ function clameurs_default_page_manager_pages() {
$pane->panel = 'middle';
$pane->type = 'panels_mini';
$pane->subtype = 'th_matique';
$pane->shown = TRUE;
$pane->shown = FALSE;
$pane->access = array();
$pane->configuration = array(
'context' => array(
@@ -321,7 +310,7 @@ function clameurs_default_page_manager_pages() {
$pane->panel = 'middle';
$pane->type = 'panels_mini';
$pane->subtype = 'th_matique';
$pane->shown = TRUE;
$pane->shown = FALSE;
$pane->access = array();
$pane->configuration = array(
'context' => array(
@@ -348,7 +337,7 @@ function clameurs_default_page_manager_pages() {
$pane->panel = 'middle';
$pane->type = 'panels_mini';
$pane->subtype = 'th_matique';
$pane->shown = TRUE;
$pane->shown = FALSE;
$pane->access = array();
$pane->configuration = array(
'context' => array(