added custom layout to panles, created thematique anchor links menu
This commit is contained in:
@@ -42,7 +42,7 @@ function clameurs_default_page_manager_pages() {
|
||||
'contexts' => array(
|
||||
0 => array(
|
||||
'identifier' => 'T1',
|
||||
'keyword' => 'node',
|
||||
'keyword' => 'node_1',
|
||||
'name' => 'entity:node',
|
||||
'entity_id' => '3',
|
||||
'id' => 1,
|
||||
@@ -87,12 +87,12 @@ function clameurs_default_page_manager_pages() {
|
||||
'name' => 'panneau',
|
||||
);
|
||||
$display = new panels_display();
|
||||
$display->layout = 'onecol';
|
||||
$display->layout = 'column';
|
||||
$display->layout_settings = array();
|
||||
$display->panel_settings = array(
|
||||
'style_settings' => array(
|
||||
'default' => NULL,
|
||||
'middle' => NULL,
|
||||
'default' => NULL,
|
||||
),
|
||||
'style' => 'naked',
|
||||
);
|
||||
@@ -137,6 +137,75 @@ function clameurs_default_page_manager_pages() {
|
||||
$display->content['new-047092b0-9489-436d-879b-704fc543bf86'] = $pane;
|
||||
$display->panels['middle'][0] = 'new-047092b0-9489-436d-879b-704fc543bf86';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-4151eebf-62c3-4502-bfa0-0da5af08cfd1';
|
||||
$pane->panel = 'middle';
|
||||
$pane->type = 'block';
|
||||
$pane->subtype = 'clameursmod-thematiques-anchor-links';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '',
|
||||
'override_title_heading' => 'h2',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => array(
|
||||
'title' => array(
|
||||
'prefix' => '',
|
||||
'suffix' => '',
|
||||
),
|
||||
'content' => array(
|
||||
'prefix' => '<nav id="thematique-anchor-links">',
|
||||
'suffix' => '</nav>',
|
||||
),
|
||||
'theme' => 0,
|
||||
),
|
||||
'style' => 'wrapper_raw',
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 1;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '4151eebf-62c3-4502-bfa0-0da5af08cfd1';
|
||||
$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->panel = 'middle';
|
||||
$pane->type = 'views';
|
||||
$pane->subtype = 'thematiques_anchors_menu';
|
||||
$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',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$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 = new stdClass();
|
||||
$pane->pid = 'new-698583ec-031d-4b04-a42e-af1c315bde56';
|
||||
$pane->panel = 'middle';
|
||||
$pane->type = 'panels_mini';
|
||||
@@ -145,7 +214,7 @@ function clameurs_default_page_manager_pages() {
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'context' => array(
|
||||
0 => 'empty',
|
||||
0 => 'context_entity:node_1',
|
||||
),
|
||||
'override_title' => 0,
|
||||
'override_title_text' => '',
|
||||
@@ -153,19 +222,19 @@ function clameurs_default_page_manager_pages() {
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
'style' => 'naked',
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => '',
|
||||
'css_class' => 'thematique',
|
||||
'css_class' => '',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 1;
|
||||
$pane->position = 3;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '698583ec-031d-4b04-a42e-af1c315bde56';
|
||||
$display->content['new-698583ec-031d-4b04-a42e-af1c315bde56'] = $pane;
|
||||
$display->panels['middle'][1] = 'new-698583ec-031d-4b04-a42e-af1c315bde56';
|
||||
$display->panels['middle'][3] = 'new-698583ec-031d-4b04-a42e-af1c315bde56';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-00e0d860-0d91-4a9a-b8c6-c8021d74d438';
|
||||
$pane->panel = 'middle';
|
||||
@@ -188,11 +257,11 @@ function clameurs_default_page_manager_pages() {
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 2;
|
||||
$pane->position = 4;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '00e0d860-0d91-4a9a-b8c6-c8021d74d438';
|
||||
$display->content['new-00e0d860-0d91-4a9a-b8c6-c8021d74d438'] = $pane;
|
||||
$display->panels['middle'][2] = 'new-00e0d860-0d91-4a9a-b8c6-c8021d74d438';
|
||||
$display->panels['middle'][4] = 'new-00e0d860-0d91-4a9a-b8c6-c8021d74d438';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-fe463245-7772-4af9-acf1-a58504d02a9a';
|
||||
$pane->panel = 'middle';
|
||||
@@ -215,11 +284,11 @@ function clameurs_default_page_manager_pages() {
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 3;
|
||||
$pane->position = 5;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = 'fe463245-7772-4af9-acf1-a58504d02a9a';
|
||||
$display->content['new-fe463245-7772-4af9-acf1-a58504d02a9a'] = $pane;
|
||||
$display->panels['middle'][3] = 'new-fe463245-7772-4af9-acf1-a58504d02a9a';
|
||||
$display->panels['middle'][5] = 'new-fe463245-7772-4af9-acf1-a58504d02a9a';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-3bcabce9-5d73-4bca-a37a-c541cfd1bec5';
|
||||
$pane->panel = 'middle';
|
||||
@@ -242,11 +311,11 @@ function clameurs_default_page_manager_pages() {
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 4;
|
||||
$pane->position = 6;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '3bcabce9-5d73-4bca-a37a-c541cfd1bec5';
|
||||
$display->content['new-3bcabce9-5d73-4bca-a37a-c541cfd1bec5'] = $pane;
|
||||
$display->panels['middle'][4] = 'new-3bcabce9-5d73-4bca-a37a-c541cfd1bec5';
|
||||
$display->panels['middle'][6] = 'new-3bcabce9-5d73-4bca-a37a-c541cfd1bec5';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-eaddcc28-d241-456b-a324-fc9838804350';
|
||||
$pane->panel = 'middle';
|
||||
@@ -269,11 +338,11 @@ function clameurs_default_page_manager_pages() {
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 5;
|
||||
$pane->position = 7;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = 'eaddcc28-d241-456b-a324-fc9838804350';
|
||||
$display->content['new-eaddcc28-d241-456b-a324-fc9838804350'] = $pane;
|
||||
$display->panels['middle'][5] = 'new-eaddcc28-d241-456b-a324-fc9838804350';
|
||||
$display->panels['middle'][7] = 'new-eaddcc28-d241-456b-a324-fc9838804350';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-e252dc22-b3f1-4d05-84d9-652b369ced20';
|
||||
$pane->panel = 'middle';
|
||||
@@ -296,11 +365,11 @@ function clameurs_default_page_manager_pages() {
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 6;
|
||||
$pane->position = 8;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = 'e252dc22-b3f1-4d05-84d9-652b369ced20';
|
||||
$display->content['new-e252dc22-b3f1-4d05-84d9-652b369ced20'] = $pane;
|
||||
$display->panels['middle'][6] = 'new-e252dc22-b3f1-4d05-84d9-652b369ced20';
|
||||
$display->panels['middle'][8] = 'new-e252dc22-b3f1-4d05-84d9-652b369ced20';
|
||||
$display->hide_title = PANELS_TITLE_NONE;
|
||||
$display->title_pane = '0';
|
||||
$handler->conf['display'] = $display;
|
||||
|
||||
Reference in New Issue
Block a user