disabled = FALSE; /* Edit this to true to make a default mini disabled initially */ $mini->api_version = 1; $mini->name = 'popsu_mini_ville_colloque'; $mini->category = 'POPSU Mini'; $mini->admin_title = 'POPSU Mini - Ville - Colloque'; $mini->admin_description = 'Mini panel pour afficher le colloque dans la page ville'; $mini->requiredcontexts = array( 0 => array( 'identifier' => 'Nœud', 'keyword' => 'node', 'name' => 'entity:node', 'entity_id' => '', 'id' => 1, ), ); $mini->contexts = array(); $mini->relationships = array( 0 => array( 'identifier' => 'Terme de taxonomie from Nœud (on Nœud: Ville [field_popsu_ville_ville])', 'keyword' => 'taxonomy_term', 'name' => 'entity_from_field:field_popsu_ville_ville-node-taxonomy_term', 'delta' => 0, 'context' => 'requiredcontext_entity:node_1', 'id' => 1, ), 1 => array( 'identifier' => 'Terme de taxonomie from Nœud (on Nœud: POPSU [field_popsu_ville_popsu])', 'keyword' => 'taxonomy_term_2', 'name' => 'entity_from_field:field_popsu_ville_popsu-node-taxonomy_term', 'delta' => 0, 'context' => 'requiredcontext_entity:node_1', 'id' => 1, ), ); $display = new panels_display(); $display->layout = 'twocol_70_30_stacked'; $display->layout_settings = array(); $display->panel_settings = array( 'style_settings' => array( 'default' => NULL, 'header' => NULL, 'top' => NULL, 'left' => NULL, 'right' => NULL, 'footer' => NULL, ), ); $display->cache = array(); $display->title = ''; $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_colloque_body'; $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' => 'requiredcontext_entity: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(); $display->content['new-1'] = $pane; $display->panels['left'][0] = 'new-1'; $pane = new stdClass(); $pane->pid = 'new-2'; $pane->panel = 'left'; $pane->type = 'views_panes'; $pane->subtype = 'colloques-panel_pane_1'; $pane->shown = TRUE; $pane->access = array(); $pane->configuration = array( 'arguments' => array( 'field_popsu_colloque_ville_tid' => '%taxonomy_term:tid', 'field_popsu_colloque_popsu_tid' => '%taxonomy_term_2:tid', ), ); $pane->cache = array(); $pane->style = array( 'settings' => NULL, ); $pane->css = array(); $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 = 'right'; $pane->type = 'entity_field'; $pane->subtype = 'node:field_popsu_colloque_subtitle'; $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' => 'requiredcontext_entity: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(); $display->content['new-3'] = $pane; $display->panels['right'][0] = 'new-3'; $pane = new stdClass(); $pane->pid = 'new-4'; $pane->panel = 'right'; $pane->type = 'entity_field'; $pane->subtype = 'node:field_popsu_colloque_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' => 'thumbnail', 'image_link' => '', ), 'context' => 'requiredcontext_entity: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(); $display->content['new-4'] = $pane; $display->panels['right'][1] = 'new-4'; $pane = new stdClass(); $pane->pid = 'new-5'; $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' => '', 'body' => '
', '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 = 2; $pane->locks = array(); $display->content['new-5'] = $pane; $display->panels['right'][2] = 'new-5'; $display->hide_title = PANELS_TITLE_NONE; $display->title_pane = 'new-1'; $mini->display = $display; $export['popsu_mini_ville_colloque'] = $mini; return $export; }