123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508 |
- <?php
- /**
- * @file
- * popsu_projets.pages_default.inc
- */
- /**
- * Implements hook_default_page_manager_handlers().
- */
- function popsu_projets_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_4';
- $handler->task = 'node_view';
- $handler->subtask = '';
- $handler->handler = 'panel_context';
- $handler->weight = 3;
- $handler->conf = array(
- 'title' => 'Projets (feature)',
- 'no_blocks' => 0,
- 'pipeline' => 'standard',
- 'body_classes_to_remove' => '',
- 'body_classes_to_add' => '',
- 'css_id' => '',
- 'css' => '',
- 'contexts' => array(),
- 'relationships' => array(
- 0 => array(
- 'identifier' => 'Terme de taxonomie from Nœud (on Nœud: Ville [field_popsu_projet_ville])',
- 'keyword' => 'taxonomy_term',
- 'name' => 'entity_from_field:field_popsu_projet_ville-node-taxonomy_term',
- 'delta' => 0,
- 'context' => 'argument_entity_id:node_1',
- 'id' => 1,
- ),
- ),
- 'access' => array(
- 'plugins' => array(
- 0 => array(
- 'name' => 'node_type',
- 'settings' => array(
- 'type' => array(
- 'popsu_projet' => 'popsu_projet',
- ),
- ),
- '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,
- 'top' => NULL,
- 'left' => NULL,
- 'right' => NULL,
- 'bottom' => NULL,
- 'header' => NULL,
- 'footer' => NULL,
- ),
- );
- $display->cache = array();
- $display->title = '%taxonomy_term:name';
- $display->content = array();
- $display->panels = array();
- $pane = new stdClass();
- $pane->pid = 'new-1';
- $pane->panel = 'left';
- $pane->type = 'entity_field';
- $pane->subtype = 'node:field_popsu_projet_imageintro';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'label' => 'hidden',
- 'formatter' => 'image',
- 'delta_limit' => '0',
- 'delta_offset' => '0',
- 'delta_reversed' => 0,
- 'formatter_settings' => array(
- 'image_style' => 'popsu-projets-grande-image',
- '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' => '',
- 'css_class' => 'image-decallee',
- );
- $pane->extras = array();
- $pane->position = 0;
- $pane->locks = array();
- $display->content['new-1'] = $pane;
- $display->panels['left'][0] = 'new-1';
- $pane = new stdClass();
- $pane->pid = 'new-2';
- $pane->panel = 'left';
- $pane->type = 'entity_field';
- $pane->subtype = 'node:field_popsu_projet_presentation';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'label' => 'hidden',
- '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' => 'Présentation du site',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => '',
- 'css_class' => 'layout-88p',
- );
- $pane->extras = array();
- $pane->position = 1;
- $pane->locks = array();
- $display->content['new-2'] = $pane;
- $display->panels['left'][1] = 'new-2';
- $pane = new stdClass();
- $pane->pid = 'new-3';
- $pane->panel = 'left';
- $pane->type = 'entity_field';
- $pane->subtype = 'node:field_popsu_projet_methodo';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'label' => 'hidden',
- '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' => 'Démarche et méthodologie',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => '',
- 'css_class' => 'layout-88p',
- );
- $pane->extras = array();
- $pane->position = 2;
- $pane->locks = array();
- $display->content['new-3'] = $pane;
- $display->panels['left'][2] = 'new-3';
- $pane = new stdClass();
- $pane->pid = 'new-4';
- $pane->panel = 'right';
- $pane->type = 'entity_field';
- $pane->subtype = 'node:field_popsu_projet_geoloc';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'label' => 'title',
- 'formatter' => 'geofield_openlayers',
- 'delta_limit' => 0,
- 'delta_offset' => '0',
- 'delta_reversed' => FALSE,
- 'formatter_settings' => array(
- 'data' => 'full',
- 'map_preset' => 'popsu_map_projets',
- ),
- '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();
- $display->content['new-4'] = $pane;
- $display->panels['right'][0] = 'new-4';
- $pane = new stdClass();
- $pane->pid = 'new-5';
- $pane->panel = 'right';
- $pane->type = 'node_links';
- $pane->subtype = 'node_links';
- $pane->shown = TRUE;
- $pane->access = array(
- 'plugins' => array(
- 0 => array(
- 'name' => 'role',
- 'settings' => array(
- 'rids' => array(
- 0 => 3,
- 1 => 4,
- 2 => 5,
- ),
- ),
- 'context' => 'logged-in-user',
- 'not' => FALSE,
- ),
- ),
- );
- $pane->configuration = array(
- 'override_title' => 0,
- 'override_title_text' => '',
- 'build_mode' => 'full',
- 'identifier' => '',
- 'link' => 0,
- 'context' => 'argument_entity_id:node_1',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => '',
- 'css_class' => 'admin-add-item admin-add-item-panel',
- );
- $pane->extras = array();
- $pane->position = 1;
- $pane->locks = array();
- $display->content['new-5'] = $pane;
- $display->panels['right'][1] = 'new-5';
- $pane = new stdClass();
- $pane->pid = 'new-6';
- $pane->panel = 'right';
- $pane->type = 'entity_field';
- $pane->subtype = 'node:field_popsu_projet_adresse';
- $pane->shown = FALSE;
- $pane->access = array();
- $pane->configuration = array(
- 'label' => 'hidden',
- 'formatter' => 'addressfield_default',
- 'delta_limit' => 0,
- 'delta_offset' => '0',
- 'delta_reversed' => FALSE,
- 'formatter_settings' => array(
- 'use_widget_handlers' => 1,
- 'format_handlers' => array(
- 'address' => 'address',
- ),
- ),
- '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 = 2;
- $pane->locks = array();
- $display->content['new-6'] = $pane;
- $display->panels['right'][2] = 'new-6';
- $pane = new stdClass();
- $pane->pid = 'new-7';
- $pane->panel = 'right';
- $pane->type = 'entity_field';
- $pane->subtype = 'node:field_popsu_projet_demarche';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'label' => 'hidden',
- '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' => 'Chronologie',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => 'accordion-h2-chronologie',
- 'css_class' => 'accordion-h2 accordion-h2-panel',
- );
- $pane->extras = array();
- $pane->position = 3;
- $pane->locks = array();
- $display->content['new-7'] = $pane;
- $display->panels['right'][3] = 'new-7';
- $pane = new stdClass();
- $pane->pid = 'new-8';
- $pane->panel = 'right';
- $pane->type = 'entity_field';
- $pane->subtype = 'node:field_popsu_projet_programme';
- $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' => 0,
- 'override_title_text' => '',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => 'accordion-h2-programme',
- 'css_class' => 'accordion-h2 accordion-h2-panel',
- );
- $pane->extras = array();
- $pane->position = 4;
- $pane->locks = array();
- $display->content['new-8'] = $pane;
- $display->panels['right'][4] = 'new-8';
- $pane = new stdClass();
- $pane->pid = 'new-9';
- $pane->panel = 'right';
- $pane->type = 'entity_field';
- $pane->subtype = 'node:field_popsu_projet_acteurs';
- $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' => 0,
- 'override_title_text' => '',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => 'accordion-h2-acteurs',
- 'css_class' => 'accordion-h2 accordion-h2-panel',
- );
- $pane->extras = array();
- $pane->position = 5;
- $pane->locks = array();
- $display->content['new-9'] = $pane;
- $display->panels['right'][5] = 'new-9';
- $pane = new stdClass();
- $pane->pid = 'new-10';
- $pane->panel = 'right';
- $pane->type = 'views_panes';
- $pane->subtype = 'documents-panel_pane_2';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'arguments' => array(
- 'field_popsu_doc_parent_nid' => '%node:nid',
- 'field_popsu_doc_type_tid' => '52',
- ),
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => 'accordion-h2-documents',
- 'css_class' => 'accordion-h2 accordion-h2-panel',
- );
- $pane->extras = array();
- $pane->position = 6;
- $pane->locks = array();
- $display->content['new-10'] = $pane;
- $display->panels['right'][6] = 'new-10';
- $pane = new stdClass();
- $pane->pid = 'new-11';
- $pane->panel = 'right';
- $pane->type = 'entity_field';
- $pane->subtype = 'node:field_popsu_projet_comparatif';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'label' => 'hidden',
- 'formatter' => 'node_reference_default',
- 'delta_limit' => '0',
- 'delta_offset' => '0',
- 'delta_reversed' => 0,
- 'formatter_settings' => array(),
- 'context' => 'argument_entity_id:node_1',
- 'override_title' => 1,
- 'override_title_text' => 'Comparatifs',
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => 'accordion-h2-comparatif',
- 'css_class' => 'accordion-h2 accordion-h2-panel pseudo-list',
- );
- $pane->extras = array();
- $pane->position = 7;
- $pane->locks = array();
- $display->content['new-11'] = $pane;
- $display->panels['right'][7] = 'new-11';
- $pane = new stdClass();
- $pane->pid = 'new-12';
- $pane->panel = 'right';
- $pane->type = 'custom';
- $pane->subtype = 'custom';
- $pane->shown = TRUE;
- $pane->access = array();
- $pane->configuration = array(
- 'admin_title' => 'POPSU Fermeture de liste',
- 'title' => '<none>',
- 'body' => '<div></div>',
- 'format' => 'php_code',
- 'substitute' => 0,
- );
- $pane->cache = array();
- $pane->style = array(
- 'settings' => NULL,
- );
- $pane->css = array(
- 'css_id' => '',
- 'css_class' => 'border-last',
- );
- $pane->extras = array();
- $pane->position = 8;
- $pane->locks = array();
- $display->content['new-12'] = $pane;
- $display->panels['right'][8] = 'new-12';
- $pane = new stdClass();
- $pane->pid = 'new-13';
- $pane->panel = 'top';
- $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' => '',
- 'css_class' => 'page-title-secondary',
- );
- $pane->extras = array();
- $pane->position = 0;
- $pane->locks = array();
- $display->content['new-13'] = $pane;
- $display->panels['top'][0] = 'new-13';
- $pane = new stdClass();
- $pane->pid = 'new-14';
- $pane->panel = 'top';
- $pane->type = 'views_panes';
- $pane->subtype = 'projets-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 = 1;
- $pane->locks = array();
- $display->content['new-14'] = $pane;
- $display->panels['top'][1] = 'new-14';
- $display->hide_title = PANELS_TITLE_FIXED;
- $display->title_pane = '0';
- $handler->conf['display'] = $display;
- $export['node_view_panel_context_4'] = $handler;
- return $export;
- }
|