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' => '', ); $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' => '', ); $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' => '', ); $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' => '', 'body' => '

Actualites a venir

Actualites passees

', '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' => '', ); $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' => '', ); $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; }