|
@@ -0,0 +1,244 @@
|
|
|
|
+<?php
|
|
|
|
+/**
|
|
|
|
+ * @file
|
|
|
|
+ * materio_home_v2.pages_default.inc
|
|
|
|
+ */
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * Implements hook_default_page_manager_pages().
|
|
|
|
+ */
|
|
|
|
+function materio_home_v2_default_page_manager_pages() {
|
|
|
|
+ $page = new stdClass();
|
|
|
|
+ $page->disabled = FALSE; /* Edit this to true to make a default page disabled initially */
|
|
|
|
+ $page->api_version = 1;
|
|
|
|
+ $page->name = 'home_v2';
|
|
|
|
+ $page->task = 'page';
|
|
|
|
+ $page->admin_title = 'Home V2';
|
|
|
|
+ $page->admin_description = '';
|
|
|
|
+ $page->path = 'home';
|
|
|
|
+ $page->access = array(
|
|
|
|
+ 'plugins' => array(
|
|
|
|
+ 0 => array(
|
|
|
|
+ 'name' => 'role',
|
|
|
|
+ 'settings' => array(
|
|
|
|
+ 'rids' => array(
|
|
|
|
+ 0 => 3,
|
|
|
|
+ 1 => 4,
|
|
|
|
+ ),
|
|
|
|
+ ),
|
|
|
|
+ 'context' => 'logged-in-user',
|
|
|
|
+ 'not' => FALSE,
|
|
|
|
+ ),
|
|
|
|
+ ),
|
|
|
|
+ 'logic' => 'and',
|
|
|
|
+ );
|
|
|
|
+ $page->menu = array();
|
|
|
|
+ $page->arguments = array();
|
|
|
|
+ $page->conf = array(
|
|
|
|
+ 'admin_paths' => FALSE,
|
|
|
|
+ );
|
|
|
|
+ $page->default_handlers = array();
|
|
|
|
+ $handler = new stdClass();
|
|
|
|
+ $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
|
|
|
|
+ $handler->api_version = 1;
|
|
|
|
+ $handler->name = 'page_home_v2__panel_context_2bd92edc-8b2b-42d3-9857-f44f03574847';
|
|
|
|
+ $handler->task = 'page';
|
|
|
|
+ $handler->subtask = 'home_v2';
|
|
|
|
+ $handler->handler = 'panel_context';
|
|
|
|
+ $handler->weight = 0;
|
|
|
|
+ $handler->conf = array(
|
|
|
|
+ 'title' => 'Panneau',
|
|
|
|
+ 'no_blocks' => 0,
|
|
|
|
+ 'pipeline' => 'standard',
|
|
|
|
+ 'body_classes_to_remove' => '',
|
|
|
|
+ 'body_classes_to_add' => '',
|
|
|
|
+ 'css_id' => 'homev2',
|
|
|
|
+ 'css' => '',
|
|
|
|
+ 'contexts' => array(),
|
|
|
|
+ 'relationships' => array(),
|
|
|
|
+ );
|
|
|
|
+ $display = new panels_display();
|
|
|
|
+ $display->layout = 'onecol';
|
|
|
|
+ $display->layout_settings = array();
|
|
|
|
+ $display->panel_settings = array(
|
|
|
|
+ 'style_settings' => array(
|
|
|
|
+ 'default' => NULL,
|
|
|
|
+ 'middle' => NULL,
|
|
|
|
+ ),
|
|
|
|
+ );
|
|
|
|
+ $display->cache = array();
|
|
|
|
+ $display->title = '';
|
|
|
|
+ $display->uuid = 'eca54323-0377-4ab0-b40c-69b96c16707a';
|
|
|
|
+ $display->content = array();
|
|
|
|
+ $display->panels = array();
|
|
|
|
+ $pane = new stdClass();
|
|
|
|
+ $pane->pid = 'new-78b5df28-c9fd-4904-8910-aa1b96c60e35';
|
|
|
|
+ $pane->panel = 'middle';
|
|
|
|
+ $pane->type = 'block';
|
|
|
|
+ $pane->subtype = 'menu-menu-home-v2';
|
|
|
|
+ $pane->shown = TRUE;
|
|
|
|
+ $pane->access = array();
|
|
|
|
+ $pane->configuration = array(
|
|
|
|
+ 'override_title' => 1,
|
|
|
|
+ 'override_title_text' => '',
|
|
|
|
+ 'override_title_heading' => 'h3',
|
|
|
|
+ );
|
|
|
|
+ $pane->cache = array();
|
|
|
|
+ $pane->style = array(
|
|
|
|
+ 'settings' => NULL,
|
|
|
|
+ );
|
|
|
|
+ $pane->css = array();
|
|
|
|
+ $pane->extras = array();
|
|
|
|
+ $pane->position = 0;
|
|
|
|
+ $pane->locks = array();
|
|
|
|
+ $pane->uuid = '78b5df28-c9fd-4904-8910-aa1b96c60e35';
|
|
|
|
+ $display->content['new-78b5df28-c9fd-4904-8910-aa1b96c60e35'] = $pane;
|
|
|
|
+ $display->panels['middle'][0] = 'new-78b5df28-c9fd-4904-8910-aa1b96c60e35';
|
|
|
|
+ $pane = new stdClass();
|
|
|
|
+ $pane->pid = 'new-bb3c68ac-685c-4b2b-9725-a3bceb1bca0e';
|
|
|
|
+ $pane->panel = 'middle';
|
|
|
|
+ $pane->type = 'node';
|
|
|
|
+ $pane->subtype = 'node';
|
|
|
|
+ $pane->shown = TRUE;
|
|
|
|
+ $pane->access = array();
|
|
|
|
+ $pane->configuration = array(
|
|
|
|
+ 'nid' => '12993',
|
|
|
|
+ 'links' => 1,
|
|
|
|
+ 'leave_node_title' => 0,
|
|
|
|
+ 'identifier' => 'showroom',
|
|
|
|
+ 'build_mode' => 'teaser',
|
|
|
|
+ 'link_node_title' => 1,
|
|
|
|
+ '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 = 1;
|
|
|
|
+ $pane->locks = array();
|
|
|
|
+ $pane->uuid = 'bb3c68ac-685c-4b2b-9725-a3bceb1bca0e';
|
|
|
|
+ $display->content['new-bb3c68ac-685c-4b2b-9725-a3bceb1bca0e'] = $pane;
|
|
|
|
+ $display->panels['middle'][1] = 'new-bb3c68ac-685c-4b2b-9725-a3bceb1bca0e';
|
|
|
|
+ $pane = new stdClass();
|
|
|
|
+ $pane->pid = 'new-ce815ec9-1417-496b-8bb3-20ba21a41885';
|
|
|
|
+ $pane->panel = 'middle';
|
|
|
|
+ $pane->type = 'node';
|
|
|
|
+ $pane->subtype = 'node';
|
|
|
|
+ $pane->shown = TRUE;
|
|
|
|
+ $pane->access = array();
|
|
|
|
+ $pane->configuration = array(
|
|
|
|
+ 'nid' => '12994',
|
|
|
|
+ 'links' => 1,
|
|
|
|
+ 'leave_node_title' => 0,
|
|
|
|
+ 'identifier' => 'bdd',
|
|
|
|
+ 'build_mode' => 'teaser',
|
|
|
|
+ 'link_node_title' => 1,
|
|
|
|
+ '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 = 'ce815ec9-1417-496b-8bb3-20ba21a41885';
|
|
|
|
+ $display->content['new-ce815ec9-1417-496b-8bb3-20ba21a41885'] = $pane;
|
|
|
|
+ $display->panels['middle'][2] = 'new-ce815ec9-1417-496b-8bb3-20ba21a41885';
|
|
|
|
+ $pane = new stdClass();
|
|
|
|
+ $pane->pid = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
|
|
|
|
+ $pane->panel = 'middle';
|
|
|
|
+ $pane->type = 'panels_mini';
|
|
|
|
+ $pane->subtype = 'news_home_v2';
|
|
|
|
+ $pane->shown = TRUE;
|
|
|
|
+ $pane->access = array();
|
|
|
|
+ $pane->configuration = array(
|
|
|
|
+ '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 = 3;
|
|
|
|
+ $pane->locks = array();
|
|
|
|
+ $pane->uuid = '3b6cc0fd-a06a-403a-841e-404ea57fe234';
|
|
|
|
+ $display->content['new-3b6cc0fd-a06a-403a-841e-404ea57fe234'] = $pane;
|
|
|
|
+ $display->panels['middle'][3] = 'new-3b6cc0fd-a06a-403a-841e-404ea57fe234';
|
|
|
|
+ $pane = new stdClass();
|
|
|
|
+ $pane->pid = 'new-aadd5c97-469b-4d53-9419-98e28abdacec';
|
|
|
|
+ $pane->panel = 'middle';
|
|
|
|
+ $pane->type = 'node';
|
|
|
|
+ $pane->subtype = 'node';
|
|
|
|
+ $pane->shown = TRUE;
|
|
|
|
+ $pane->access = array();
|
|
|
|
+ $pane->configuration = array(
|
|
|
|
+ 'nid' => '12995',
|
|
|
|
+ 'links' => 1,
|
|
|
|
+ 'leave_node_title' => 0,
|
|
|
|
+ 'identifier' => 'formations',
|
|
|
|
+ 'build_mode' => 'teaser',
|
|
|
|
+ 'link_node_title' => 1,
|
|
|
|
+ '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 = 4;
|
|
|
|
+ $pane->locks = array();
|
|
|
|
+ $pane->uuid = 'aadd5c97-469b-4d53-9419-98e28abdacec';
|
|
|
|
+ $display->content['new-aadd5c97-469b-4d53-9419-98e28abdacec'] = $pane;
|
|
|
|
+ $display->panels['middle'][4] = 'new-aadd5c97-469b-4d53-9419-98e28abdacec';
|
|
|
|
+ $pane = new stdClass();
|
|
|
|
+ $pane->pid = 'new-93261157-ef9d-4480-b6b7-3e504d24cdba';
|
|
|
|
+ $pane->panel = 'middle';
|
|
|
|
+ $pane->type = 'node';
|
|
|
|
+ $pane->subtype = 'node';
|
|
|
|
+ $pane->shown = TRUE;
|
|
|
|
+ $pane->access = array();
|
|
|
|
+ $pane->configuration = array(
|
|
|
|
+ 'nid' => '12996',
|
|
|
|
+ 'links' => 1,
|
|
|
|
+ 'leave_node_title' => 0,
|
|
|
|
+ 'identifier' => 'services',
|
|
|
|
+ 'build_mode' => 'teaser',
|
|
|
|
+ 'link_node_title' => 1,
|
|
|
|
+ '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 = 5;
|
|
|
|
+ $pane->locks = array();
|
|
|
|
+ $pane->uuid = '93261157-ef9d-4480-b6b7-3e504d24cdba';
|
|
|
|
+ $display->content['new-93261157-ef9d-4480-b6b7-3e504d24cdba'] = $pane;
|
|
|
|
+ $display->panels['middle'][5] = 'new-93261157-ef9d-4480-b6b7-3e504d24cdba';
|
|
|
|
+ $display->hide_title = PANELS_TITLE_NONE;
|
|
|
|
+ $display->title_pane = '0';
|
|
|
|
+ $handler->conf['display'] = $display;
|
|
|
|
+ $page->default_handlers[$handler->name] = $handler;
|
|
|
|
+ $pages['home_v2'] = $page;
|
|
|
|
+
|
|
|
|
+ return $pages;
|
|
|
|
+
|
|
|
|
+}
|