123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- <?php
- /**
- * @file
- * clameurs.pages_default.inc
- */
- /**
- * Implements hook_default_page_manager_pages().
- */
- function clameurs_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';
- $page->task = 'page';
- $page->admin_title = 'Home';
- $page->admin_description = 'Home for onepage clameurs website';
- $page->path = 'home';
- $page->access = array(
- 'type' => 'none',
- 'settings' => NULL,
- );
- $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__panneau';
- $handler->task = 'page';
- $handler->subtask = 'home';
- $handler->handler = 'panel_context';
- $handler->weight = 0;
- $handler->conf = array(
- 'title' => 'Home',
- 'no_blocks' => 0,
- 'pipeline' => 'standard',
- 'body_classes_to_remove' => '',
- 'body_classes_to_add' => '',
- 'css_id' => '',
- 'css' => '',
- 'contexts' => array(
- 0 => array(
- 'identifier' => 'T1',
- 'keyword' => 'node_1',
- 'name' => 'entity:node',
- 'entity_id' => '32',
- 'id' => 1,
- ),
- 1 => array(
- 'identifier' => 'T2',
- 'keyword' => 'node_2',
- 'name' => 'entity:node',
- 'entity_id' => '14',
- 'id' => 2,
- ),
- 2 => array(
- 'identifier' => 'T3',
- 'keyword' => 'node_3',
- 'name' => 'entity:node',
- 'entity_id' => '38',
- 'id' => 3,
- ),
- 3 => array(
- 'identifier' => 'T4',
- 'keyword' => 'node_4',
- 'name' => 'entity:node',
- 'entity_id' => '3',
- 'id' => 4,
- ),
- 4 => array(
- 'identifier' => 'T5',
- 'keyword' => 'node_5',
- 'name' => 'entity:node',
- 'entity_id' => '20',
- 'id' => 5,
- ),
- 5 => array(
- 'identifier' => 'T6',
- 'keyword' => 'node_6',
- 'name' => 'entity:node',
- 'entity_id' => '26',
- 'id' => 6,
- ),
- ),
- 'relationships' => array(),
- 'name' => 'panneau',
- );
- $display = new panels_display();
- $display->layout = 'column';
- $display->layout_settings = array();
- $display->panel_settings = array(
- 'style_settings' => array(
- 'middle' => NULL,
- 'default' => NULL,
- ),
- 'style' => 'naked',
- );
- $display->cache = array();
- $display->title = '';
- $display->uuid = 'cc95d4d9-2da7-434a-a6d9-1c54f7c04244';
- $display->storage_type = 'page_manager';
- $display->storage_id = 'page_home__panneau';
- $display->content = array();
- $display->panels = array();
- $pane = new stdClass();
- $pane->pid = 'new-047092b0-9489-436d-879b-704fc543bf86';
- $pane->panel = 'middle';
- $pane->type = 'node';
- $pane->subtype = 'node';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'nid' => '63',
- 'links' => 1,
- 'leave_node_title' => 0,
- 'identifier' => '',
- 'build_mode' => 'teaser',
- 'link_node_title' => 0,
- 'override_title' => 1,
- 'override_title_text' => '',
- 'override_title_heading' => 'h2',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- 'style' => 'naked',
- );
- $pane->css = array(
- 'css_id' => 'about-pan',
- 'css_class' => '',
- );
- $pane->extras = array();
- $pane->position = 0;
- $pane->locks = array();
- $pane->uuid = '047092b0-9489-436d-879b-704fc543bf86';
- $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-efb1bca5-47da-48e8-9aed-d84cfe637033';
- $pane->panel = 'middle';
- $pane->type = 'block';
- $pane->subtype = 'clameursmod-thematiques';
- $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,
- 'style' => 'naked',
- );
- $pane->css = array();
- $pane->extras = array();
- $pane->position = 2;
- $pane->locks = array();
- $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';
- $display->hide_title = PANELS_TITLE_NONE;
- $display->title_pane = '0';
- $handler->conf['display'] = $display;
- $page->default_handlers[$handler->name] = $handler;
- $pages['home'] = $page;
- return $pages;
- }
|