123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463 |
- <?php
- /**
- * @file
- * popsu_actualites.pages_default.inc
- */
- /**
- * Implements hook_default_page_manager_handlers().
- */
- function popsu_actualites_default_page_manager_handlers() {
- $export = array();
- $handler = new stdClass();
- $handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
- $handler->api_version = 1;
- $handler->name = 'node_view_panel_context_12';
- $handler->task = 'node_view';
- $handler->subtask = '';
- $handler->handler = 'panel_context';
- $handler->weight = 11;
- $handler->conf = array(
- 'title' => 'Actualités',
- 'no_blocks' => 0,
- 'pipeline' => 'standard',
- 'body_classes_to_remove' => '',
- 'body_classes_to_add' => '',
- 'css_id' => '',
- 'css' => '',
- 'contexts' => array(),
- 'relationships' => array(),
- 'access' => array(
- 'plugins' => array(
- 0 => array(
- 'name' => 'node_type',
- 'settings' => array(
- 'type' => array(
- 'popsu_actu' => 'popsu_actu',
- ),
- ),
- 'context' => 'argument_entity_id:node_1',
- 'not' => FALSE,
- ),
- ),
- 'logic' => 'and',
- ),
- );
- $display = new panels_display();
- $display->layout = 'flexible:popsu_74_36_stacked';
- $display->layout_settings = array();
- $display->panel_settings = array(
- 'style_settings' => array(
- 'default' => NULL,
- 'right' => NULL,
- 'header' => NULL,
- 'top' => NULL,
- 'footer' => NULL,
- 'picture' => NULL,
- 'col_seventy' => NULL,
- 'left' => NULL,
- ),
- );
- $display->cache = array();
- $display->title = '';
- $display->uuid = 'd0d44175-6be3-49eb-957a-3bd9b1d9c38c';
- $display->storage_type = 'page_manager';
- $display->storage_id = 'node_view_panel_context_12';
- $display->content = array();
- $display->panels = array();
- $pane = new stdClass();
- $pane->pid = 'new-e40cf02e-a1a8-479b-a6e3-1bdba41e02f0';
- $pane->panel = 'footer';
- $pane->type = 'entity_field';
- $pane->subtype = 'node:field_popsu_actu_soustitre';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'label' => 'title',
- 'formatter' => 'text_default',
- 'delta_limit' => 0,
- 'delta_offset' => '0',
- 'delta_reversed' => FALSE,
- 'formatter_settings' => array(),
- 'context' => 'argument_entity_id:node_1',
- 'override_title' => 1,
- 'override_title_text' => '<none>',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array();
- $pane->extras = array();
- $pane->position = 0;
- $pane->locks = array();
- $pane->uuid = 'e40cf02e-a1a8-479b-a6e3-1bdba41e02f0';
- $display->content['new-e40cf02e-a1a8-479b-a6e3-1bdba41e02f0'] = $pane;
- $display->panels['footer'][0] = 'new-e40cf02e-a1a8-479b-a6e3-1bdba41e02f0';
- $pane = new stdClass();
- $pane->pid = 'new-023bb002-6c73-45e4-8300-ebf1bb78fc6e';
- $pane->panel = 'footer';
- $pane->type = 'entity_field';
- $pane->subtype = 'node:field_popsu_actu_date';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'label' => 'title',
- 'formatter' => 'date_default',
- 'delta_limit' => 0,
- 'delta_offset' => '0',
- 'delta_reversed' => FALSE,
- 'formatter_settings' => array(
- 'format_type' => 'popsu_yyyy_mm_dd',
- 'multiple_number' => '',
- 'multiple_from' => '',
- 'multiple_to' => '',
- 'fromto' => 'both',
- ),
- 'context' => 'argument_entity_id:node_1',
- 'override_title' => 1,
- 'override_title_text' => '<none>',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array();
- $pane->extras = array();
- $pane->position = 1;
- $pane->locks = array();
- $pane->uuid = '023bb002-6c73-45e4-8300-ebf1bb78fc6e';
- $display->content['new-023bb002-6c73-45e4-8300-ebf1bb78fc6e'] = $pane;
- $display->panels['footer'][1] = 'new-023bb002-6c73-45e4-8300-ebf1bb78fc6e';
- $pane = new stdClass();
- $pane->pid = 'new-87a6bcca-c696-4405-be4b-ed4516cf34a6';
- $pane->panel = 'footer';
- $pane->type = 'entity_field';
- $pane->subtype = 'node:field_popsu_actu_body';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'label' => 'title',
- 'formatter' => 'text_default',
- 'delta_limit' => 0,
- 'delta_offset' => '0',
- 'delta_reversed' => FALSE,
- 'formatter_settings' => array(),
- 'context' => 'argument_entity_id:node_1',
- 'override_title' => 1,
- 'override_title_text' => '<none>',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => '',
- 'css_class' => 'layout-64p',
- );
- $pane->extras = array();
- $pane->position = 2;
- $pane->locks = array();
- $pane->uuid = '87a6bcca-c696-4405-be4b-ed4516cf34a6';
- $display->content['new-87a6bcca-c696-4405-be4b-ed4516cf34a6'] = $pane;
- $display->panels['footer'][2] = 'new-87a6bcca-c696-4405-be4b-ed4516cf34a6';
- $pane = new stdClass();
- $pane->pid = 'new-f3d686ff-7c21-413c-ab53-f51c34e5e775';
- $pane->panel = 'footer';
- $pane->type = 'views_panes';
- $pane->subtype = 'actualites-panel_pane_2';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'arguments' => array(
- 'nid' => '%node:nid',
- ),
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array();
- $pane->extras = array();
- $pane->position = 3;
- $pane->locks = array();
- $pane->uuid = 'f3d686ff-7c21-413c-ab53-f51c34e5e775';
- $display->content['new-f3d686ff-7c21-413c-ab53-f51c34e5e775'] = $pane;
- $display->panels['footer'][3] = 'new-f3d686ff-7c21-413c-ab53-f51c34e5e775';
- $pane = new stdClass();
- $pane->pid = 'new-fc2a42c0-dd25-4872-8f98-8ae2780e5116';
- $pane->panel = 'footer';
- $pane->type = 'views_panes';
- $pane->subtype = 'actualites-panel_pane_3';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'arguments' => array(
- 'nid' => '%node:nid',
- ),
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array();
- $pane->extras = array();
- $pane->position = 4;
- $pane->locks = array();
- $pane->uuid = 'fc2a42c0-dd25-4872-8f98-8ae2780e5116';
- $display->content['new-fc2a42c0-dd25-4872-8f98-8ae2780e5116'] = $pane;
- $display->panels['footer'][4] = 'new-fc2a42c0-dd25-4872-8f98-8ae2780e5116';
- $pane = new stdClass();
- $pane->pid = 'new-9fe66e75-0f7a-497c-9ffc-c21d5bf061c1';
- $pane->panel = 'header';
- $pane->type = 'custom';
- $pane->subtype = 'custom';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'admin_title' => 'Actualités - Titre - A venir ou passées',
- 'title' => '<none>',
- 'body' => '<h1 id="page-title" class="title-actu title-a-venir">Actualites a venir</h1>
- <h1 id="page-title" class="title-actu title-passees">Actualites passees</h1>',
- 'format' => 'php_code',
- 'substitute' => 1,
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array();
- $pane->extras = array();
- $pane->position = 0;
- $pane->locks = array();
- $pane->uuid = '9fe66e75-0f7a-497c-9ffc-c21d5bf061c1';
- $display->content['new-9fe66e75-0f7a-497c-9ffc-c21d5bf061c1'] = $pane;
- $display->panels['header'][0] = 'new-9fe66e75-0f7a-497c-9ffc-c21d5bf061c1';
- $pane = new stdClass();
- $pane->pid = 'new-b0ef292b-5304-47f3-8b50-b3d901e52e00';
- $pane->panel = 'header';
- $pane->type = 'node_title';
- $pane->subtype = 'node_title';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'link' => 0,
- 'context' => 'argument_entity_id:node_1',
- 'override_title' => 1,
- 'override_title_text' => '<none>',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => 'page-title-secondary-actu',
- 'css_class' => 'page-title-secondary',
- );
- $pane->extras = array();
- $pane->position = 1;
- $pane->locks = array();
- $pane->uuid = 'b0ef292b-5304-47f3-8b50-b3d901e52e00';
- $display->content['new-b0ef292b-5304-47f3-8b50-b3d901e52e00'] = $pane;
- $display->panels['header'][1] = 'new-b0ef292b-5304-47f3-8b50-b3d901e52e00';
- $pane = new stdClass();
- $pane->pid = 'new-47e94db5-efe8-4cbc-9eed-ed063d49c319';
- $pane->panel = 'left';
- $pane->type = 'entity_field';
- $pane->subtype = 'node:field_popsu_actu_image';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'label' => 'title',
- 'formatter' => 'image',
- 'delta_limit' => 0,
- 'delta_offset' => '0',
- 'delta_reversed' => FALSE,
- 'formatter_settings' => array(
- 'image_style' => '',
- 'image_link' => '',
- ),
- 'context' => 'argument_entity_id:node_1',
- 'override_title' => 1,
- 'override_title_text' => '<none>',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => 'panel-actu-grande-image',
- 'css_class' => 'image-decallee',
- );
- $pane->extras = array();
- $pane->position = 0;
- $pane->locks = array();
- $pane->uuid = '47e94db5-efe8-4cbc-9eed-ed063d49c319';
- $display->content['new-47e94db5-efe8-4cbc-9eed-ed063d49c319'] = $pane;
- $display->panels['left'][0] = 'new-47e94db5-efe8-4cbc-9eed-ed063d49c319';
- $display->hide_title = PANELS_TITLE_NONE;
- $display->title_pane = '0';
- $handler->conf['display'] = $display;
- $export['node_view_panel_context_12'] = $handler;
- return $export;
- }
- /**
- * Implements hook_default_page_manager_pages().
- */
- function popsu_actualites_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 = 'popsu_actualites';
- $page->task = 'page';
- $page->admin_title = 'Actualités';
- $page->admin_description = '';
- $page->path = 'actualites';
- $page->access = array(
- 'logic' => 'and',
- );
- $page->menu = array(
- 'type' => 'none',
- 'title' => '',
- 'name' => 'navigation',
- 'weight' => '0',
- 'parent' => array(
- 'type' => 'none',
- 'title' => '',
- 'name' => 'navigation',
- 'weight' => '0',
- ),
- );
- $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_popsu_actualites_panel_context';
- $handler->task = 'page';
- $handler->subtask = 'popsu_actualites';
- $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' => '',
- 'css' => '',
- 'contexts' => array(),
- 'relationships' => array(),
- 'access' => array(
- 'logic' => 'and',
- ),
- );
- $display = new panels_display();
- $display->layout = 'flexible:popsu_74_36_stacked';
- $display->layout_settings = array();
- $display->panel_settings = array(
- 'style_settings' => array(
- 'default' => NULL,
- 'left' => NULL,
- 'right' => NULL,
- 'header' => NULL,
- 'top' => NULL,
- 'footer' => NULL,
- ),
- );
- $display->cache = array();
- $display->title = 'Actualités, appels d\'offre et consultations';
- $display->uuid = 'c6b465ec-1b7c-414a-848a-27b5bf692a45';
- $display->storage_type = 'page_manager';
- $display->storage_id = 'page_popsu_actualites_panel_context';
- $display->content = array();
- $display->panels = array();
- $pane = new stdClass();
- $pane->pid = 'new-9871e640-6e35-4ffc-98ee-5ef37753686c';
- $pane->panel = 'left';
- $pane->type = 'views';
- $pane->subtype = 'actualites';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'override_pager_settings' => 0,
- 'use_pager' => 0,
- 'nodes_per_page' => '0',
- 'pager_id' => '0',
- 'offset' => '0',
- 'more_link' => 0,
- 'feed_icons' => 0,
- 'panel_args' => 0,
- 'link_to_view' => 0,
- 'args' => '',
- 'url' => '',
- 'display' => 'block_3',
- 'override_title' => 1,
- 'override_title_text' => 'Actualités',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => '',
- 'css_class' => 'listing-actu listing-actu-avenir',
- );
- $pane->extras = array();
- $pane->position = 0;
- $pane->locks = array();
- $pane->uuid = '9871e640-6e35-4ffc-98ee-5ef37753686c';
- $display->content['new-9871e640-6e35-4ffc-98ee-5ef37753686c'] = $pane;
- $display->panels['left'][0] = 'new-9871e640-6e35-4ffc-98ee-5ef37753686c';
- $pane = new stdClass();
- $pane->pid = 'new-43500ad1-83c5-4fe7-9c81-782c0ca4d697';
- $pane->panel = 'left';
- $pane->type = 'views';
- $pane->subtype = 'actualites';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'override_pager_settings' => 0,
- 'use_pager' => 0,
- 'nodes_per_page' => '0',
- 'pager_id' => '0',
- 'offset' => '0',
- 'more_link' => 0,
- 'feed_icons' => 0,
- 'panel_args' => 0,
- 'link_to_view' => 0,
- 'args' => '',
- 'url' => '',
- 'display' => 'block_4',
- 'override_title' => 1,
- 'override_title_text' => 'Actualites archivees',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => 'pane-actu-passees',
- 'css_class' => 'layout-88p listing-actu listing-actu-passe',
- );
- $pane->extras = array();
- $pane->position = 1;
- $pane->locks = array();
- $pane->uuid = '43500ad1-83c5-4fe7-9c81-782c0ca4d697';
- $display->content['new-43500ad1-83c5-4fe7-9c81-782c0ca4d697'] = $pane;
- $display->panels['left'][1] = 'new-43500ad1-83c5-4fe7-9c81-782c0ca4d697';
- $display->hide_title = PANELS_TITLE_FIXED;
- $display->title_pane = '0';
- $handler->conf['display'] = $display;
- $page->default_handlers[$handler->name] = $handler;
- $pages['popsu_actualites'] = $page;
- return $pages;
- }
|