first import
This commit is contained in:
@@ -0,0 +1,100 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_special_pages.context.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_context_default_contexts().
|
||||
*/
|
||||
function popsu_special_pages_context_default_contexts() {
|
||||
$export = array();
|
||||
|
||||
$context = new stdClass();
|
||||
$context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */
|
||||
$context->api_version = 3;
|
||||
$context->name = 'popsu-special-europe-node';
|
||||
$context->description = 'Contexte d\'un noeud de type Page Spéciale POPSU Europe (feature)';
|
||||
$context->tag = 'pages-europe-feature';
|
||||
$context->conditions = array(
|
||||
'node' => array(
|
||||
'values' => array(
|
||||
'popsu_special' => 'popsu_special',
|
||||
),
|
||||
'options' => array(
|
||||
'node_form' => '0',
|
||||
),
|
||||
),
|
||||
'node_taxonomy' => array(
|
||||
'values' => array(
|
||||
3 => 3,
|
||||
),
|
||||
'options' => array(
|
||||
'node_form' => '1',
|
||||
),
|
||||
),
|
||||
);
|
||||
$context->reactions = array(
|
||||
'block' => array(
|
||||
'blocks' => array(
|
||||
'menu_block-6' => array(
|
||||
'module' => 'menu_block',
|
||||
'delta' => '6',
|
||||
'region' => 'sidebar_first',
|
||||
'weight' => '-10',
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
$context->condition_mode = 1;
|
||||
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Contexte d\'un noeud de type Page Spéciale POPSU Europe (feature)');
|
||||
t('pages-europe-feature');
|
||||
$export['popsu-special-europe-node'] = $context;
|
||||
|
||||
$context = new stdClass();
|
||||
$context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */
|
||||
$context->api_version = 3;
|
||||
$context->name = 'popsu-special-node';
|
||||
$context->description = 'Contexte d\'un noeud de type Page Spéciale POPSU (feature)';
|
||||
$context->tag = 'pages-feature';
|
||||
$context->conditions = array(
|
||||
'node' => array(
|
||||
'values' => array(
|
||||
'popsu_special' => 'popsu_special',
|
||||
),
|
||||
'options' => array(
|
||||
'node_form' => '0',
|
||||
),
|
||||
),
|
||||
);
|
||||
$context->reactions = array(
|
||||
'block' => array(
|
||||
'blocks' => array(
|
||||
'menu_block-3' => array(
|
||||
'module' => 'menu_block',
|
||||
'delta' => '3',
|
||||
'region' => 'sidebar_first',
|
||||
'weight' => '-10',
|
||||
),
|
||||
'menu_block-4' => array(
|
||||
'module' => 'menu_block',
|
||||
'delta' => '4',
|
||||
'region' => 'sidebar_first',
|
||||
'weight' => '-10',
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
$context->condition_mode = 0;
|
||||
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Contexte d\'un noeud de type Page Spéciale POPSU (feature)');
|
||||
t('pages-feature');
|
||||
$export['popsu-special-node'] = $context;
|
||||
|
||||
return $export;
|
||||
}
|
@@ -0,0 +1,227 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_special_pages.features.field.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_field_default_fields().
|
||||
*/
|
||||
function popsu_special_pages_field_default_fields() {
|
||||
$fields = array();
|
||||
|
||||
// Exported field: 'node-popsu_special-field_popsu_special_body'.
|
||||
$fields['node-popsu_special-field_popsu_special_body'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_special_body',
|
||||
'foreign keys' => array(
|
||||
'format' => array(
|
||||
'columns' => array(
|
||||
'format' => 'format',
|
||||
),
|
||||
'table' => 'filter_format',
|
||||
),
|
||||
),
|
||||
'indexes' => array(
|
||||
'format' => array(
|
||||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'translatable' => '0',
|
||||
'type' => 'text_with_summary',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'popsu_special',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'above',
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'type' => 'text_default',
|
||||
'weight' => '0',
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_special_body',
|
||||
'label' => 'Texte d\'introduction',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'display_summary' => 0,
|
||||
'text_processing' => '1',
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'rows' => '20',
|
||||
'summary_rows' => 5,
|
||||
),
|
||||
'type' => 'text_textarea_with_summary',
|
||||
'weight' => '2',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field: 'node-popsu_special-field_popsu_special_text'.
|
||||
$fields['node-popsu_special-field_popsu_special_text'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_special_text',
|
||||
'foreign keys' => array(
|
||||
'format' => array(
|
||||
'columns' => array(
|
||||
'format' => 'format',
|
||||
),
|
||||
'table' => 'filter_format',
|
||||
),
|
||||
),
|
||||
'indexes' => array(
|
||||
'format' => array(
|
||||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'translatable' => '0',
|
||||
'type' => 'text_long',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'popsu_special',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'above',
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'type' => 'text_default',
|
||||
'weight' => 3,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_special_text',
|
||||
'label' => 'Texte long',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'text_processing' => '1',
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'rows' => '10',
|
||||
),
|
||||
'type' => 'text_textarea',
|
||||
'weight' => '3',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field: 'node-popsu_special-field_popsu_special_typetaxo'.
|
||||
$fields['node-popsu_special-field_popsu_special_typetaxo'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_special_typetaxo',
|
||||
'foreign keys' => array(
|
||||
'tid' => array(
|
||||
'columns' => array(
|
||||
'tid' => 'tid',
|
||||
),
|
||||
'table' => 'taxonomy_term_data',
|
||||
),
|
||||
),
|
||||
'indexes' => array(
|
||||
'tid' => array(
|
||||
0 => 'tid',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'module' => 'taxonomy',
|
||||
'settings' => array(
|
||||
'allowed_values' => array(
|
||||
0 => array(
|
||||
'vocabulary' => 'popsu_special_taxonomy',
|
||||
'parent' => '0',
|
||||
),
|
||||
),
|
||||
'options_list_callback' => 'i18n_taxonomy_allowed_values',
|
||||
),
|
||||
'translatable' => '0',
|
||||
'type' => 'taxonomy_term_reference',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'popsu_special',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => '2',
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_special_typetaxo',
|
||||
'label' => 'Type de page spéciale',
|
||||
'required' => 1,
|
||||
'settings' => array(
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'options',
|
||||
'settings' => array(),
|
||||
'type' => 'options_select',
|
||||
'weight' => '1',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Texte d\'introduction');
|
||||
t('Texte long');
|
||||
t('Type de page spéciale');
|
||||
|
||||
return $fields;
|
||||
}
|
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_special_pages.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_ctools_plugin_api().
|
||||
*/
|
||||
function popsu_special_pages_ctools_plugin_api() {
|
||||
list($module, $api) = func_get_args();
|
||||
if ($module == "context" && $api == "context") {
|
||||
return array("version" => "3");
|
||||
}
|
||||
list($module, $api) = func_get_args();
|
||||
if ($module == "field_group" && $api == "field_group") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
list($module, $api) = func_get_args();
|
||||
if ($module == "page_manager" && $api == "pages_default") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
list($module, $api) = func_get_args();
|
||||
if ($module == "panels_mini" && $api == "panels_default") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
list($module, $api) = func_get_args();
|
||||
if ($module == "strongarm" && $api == "strongarm") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_node_info().
|
||||
*/
|
||||
function popsu_special_pages_node_info() {
|
||||
$items = array(
|
||||
'popsu_special' => array(
|
||||
'name' => t('POPSU / Page spéciale'),
|
||||
'base' => 'node_content',
|
||||
'description' => t('Ce type de contenu permet de créer des pages spéciales qui mélangent du contenu statique (texte) et des listings. Ex: page présentant les colloques de POPSU 1.'),
|
||||
'has_title' => '1',
|
||||
'title_label' => t('Titre de la page'),
|
||||
'help' => '',
|
||||
),
|
||||
);
|
||||
return $items;
|
||||
}
|
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_special_pages.features.taxonomy.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_taxonomy_default_vocabularies().
|
||||
*/
|
||||
function popsu_special_pages_taxonomy_default_vocabularies() {
|
||||
return array(
|
||||
'popsu_special_taxonomy' => array(
|
||||
'name' => 'Type de page spéciale',
|
||||
'machine_name' => 'popsu_special_taxonomy',
|
||||
'description' => 'Ce vocabulaire sert à catégoriser les pages spéciales POPSU',
|
||||
'hierarchy' => '0',
|
||||
'module' => 'taxonomy',
|
||||
'weight' => '-8',
|
||||
'language' => 'und',
|
||||
'i18n_mode' => '0',
|
||||
'rdf_mapping' => array(
|
||||
'rdftype' => array(
|
||||
0 => 'skos:ConceptScheme',
|
||||
),
|
||||
'name' => array(
|
||||
'predicates' => array(
|
||||
0 => 'dc:title',
|
||||
),
|
||||
),
|
||||
'description' => array(
|
||||
'predicates' => array(
|
||||
0 => 'rdfs:comment',
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
@@ -0,0 +1,78 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_special_pages.features.uuid_term.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_uuid_features_default_terms().
|
||||
*/
|
||||
function popsu_special_pages_uuid_features_default_terms() {
|
||||
$terms = array();
|
||||
|
||||
$terms[] = array(
|
||||
'name' => 'Publications',
|
||||
'description' => '',
|
||||
'format' => 'filtered_html',
|
||||
'weight' => '1',
|
||||
'uuid' => '2c5bb8f9-d4c3-4cc7-a3ec-0cd9d85cad2a',
|
||||
'language' => 'und',
|
||||
'i18n_tsid' => '0',
|
||||
'vocabulary_machine_name' => 'popsu_special_taxonomy',
|
||||
'url_alias' => array(
|
||||
0 => array(
|
||||
'alias' => 'type-de-page-speciale/publications',
|
||||
'language' => 'und',
|
||||
),
|
||||
),
|
||||
);
|
||||
$terms[] = array(
|
||||
'name' => 'Colloques',
|
||||
'description' => '',
|
||||
'format' => 'filtered_html',
|
||||
'weight' => '0',
|
||||
'uuid' => '697db5fa-8f16-4ab8-9f6a-95f7700c5016',
|
||||
'language' => 'und',
|
||||
'i18n_tsid' => '0',
|
||||
'vocabulary_machine_name' => 'popsu_special_taxonomy',
|
||||
'url_alias' => array(
|
||||
0 => array(
|
||||
'alias' => 'type-de-page-speciale/colloques',
|
||||
'language' => 'und',
|
||||
),
|
||||
),
|
||||
);
|
||||
$terms[] = array(
|
||||
'name' => 'Accueil',
|
||||
'description' => 'Page d\'accueil d\'un POPSU',
|
||||
'format' => 'filtered_html',
|
||||
'weight' => '0',
|
||||
'uuid' => 'a8d5afd0-056e-4c2d-9ff7-1ac1775de698',
|
||||
'language' => 'und',
|
||||
'i18n_tsid' => '0',
|
||||
'vocabulary_machine_name' => 'popsu_special_taxonomy',
|
||||
'url_alias' => array(
|
||||
0 => array(
|
||||
'alias' => 'type-de-page-speciale/accueil',
|
||||
'language' => 'und',
|
||||
),
|
||||
),
|
||||
);
|
||||
$terms[] = array(
|
||||
'name' => 'Partenaires',
|
||||
'description' => '',
|
||||
'format' => 'filtered_html',
|
||||
'weight' => '2',
|
||||
'uuid' => 'bc51e803-f075-487d-bad0-3d76e4c5e797',
|
||||
'language' => 'und',
|
||||
'i18n_tsid' => '0',
|
||||
'vocabulary_machine_name' => 'popsu_special_taxonomy',
|
||||
'url_alias' => array(
|
||||
0 => array(
|
||||
'alias' => 'type-de-page-speciale/partenaires',
|
||||
'language' => 'und',
|
||||
),
|
||||
),
|
||||
);
|
||||
return $terms;
|
||||
}
|
@@ -0,0 +1,95 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_special_pages.field_group.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_field_group_info().
|
||||
*/
|
||||
function popsu_special_pages_field_group_info() {
|
||||
$export = array();
|
||||
|
||||
$field_group = new stdClass();
|
||||
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
|
||||
$field_group->api_version = 1;
|
||||
$field_group->identifier = 'group_popsu_special_basic|node|popsu_special|form';
|
||||
$field_group->group_name = 'group_popsu_special_basic';
|
||||
$field_group->entity_type = 'node';
|
||||
$field_group->bundle = 'popsu_special';
|
||||
$field_group->mode = 'form';
|
||||
$field_group->parent_name = '';
|
||||
$field_group->data = array(
|
||||
'label' => 'Informations essentielles',
|
||||
'weight' => '2',
|
||||
'children' => array(
|
||||
0 => 'title',
|
||||
),
|
||||
'format_type' => 'tab',
|
||||
'format_settings' => array(
|
||||
'formatter' => 'closed',
|
||||
'instance_settings' => array(
|
||||
'description' => '',
|
||||
'classes' => '',
|
||||
'required_fields' => 1,
|
||||
),
|
||||
),
|
||||
);
|
||||
$export['group_popsu_special_basic|node|popsu_special|form'] = $field_group;
|
||||
|
||||
$field_group = new stdClass();
|
||||
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
|
||||
$field_group->api_version = 1;
|
||||
$field_group->identifier = 'group_popsu_special_content|node|popsu_special|form';
|
||||
$field_group->group_name = 'group_popsu_special_content';
|
||||
$field_group->entity_type = 'node';
|
||||
$field_group->bundle = 'popsu_special';
|
||||
$field_group->mode = 'form';
|
||||
$field_group->parent_name = '';
|
||||
$field_group->data = array(
|
||||
'label' => 'Contenu',
|
||||
'weight' => '4',
|
||||
'children' => array(
|
||||
0 => 'field_popsu_special_text',
|
||||
),
|
||||
'format_type' => 'tab',
|
||||
'format_settings' => array(
|
||||
'formatter' => 'closed',
|
||||
'instance_settings' => array(
|
||||
'description' => '',
|
||||
'classes' => '',
|
||||
'required_fields' => 1,
|
||||
),
|
||||
),
|
||||
);
|
||||
$export['group_popsu_special_content|node|popsu_special|form'] = $field_group;
|
||||
|
||||
$field_group = new stdClass();
|
||||
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
|
||||
$field_group->api_version = 1;
|
||||
$field_group->identifier = 'group_popsu_special_intro|node|popsu_special|form';
|
||||
$field_group->group_name = 'group_popsu_special_intro';
|
||||
$field_group->entity_type = 'node';
|
||||
$field_group->bundle = 'popsu_special';
|
||||
$field_group->mode = 'form';
|
||||
$field_group->parent_name = '';
|
||||
$field_group->data = array(
|
||||
'label' => 'Introduction',
|
||||
'weight' => '3',
|
||||
'children' => array(
|
||||
0 => 'field_popsu_special_body',
|
||||
),
|
||||
'format_type' => 'tab',
|
||||
'format_settings' => array(
|
||||
'formatter' => 'closed',
|
||||
'instance_settings' => array(
|
||||
'description' => '',
|
||||
'classes' => '',
|
||||
'required_fields' => 1,
|
||||
),
|
||||
),
|
||||
);
|
||||
$export['group_popsu_special_intro|node|popsu_special|form'] = $field_group;
|
||||
|
||||
return $export;
|
||||
}
|
@@ -0,0 +1,49 @@
|
||||
name = POPSU Special Pages
|
||||
description = POPSU - Type de contenu Special Pages POPSU
|
||||
core = 7.x
|
||||
package = POPSU
|
||||
php = 5.2.4
|
||||
version = 7.x-1.0-beta9
|
||||
project = popsu_special_pages
|
||||
dependencies[] = context
|
||||
dependencies[] = ctools
|
||||
dependencies[] = features
|
||||
dependencies[] = field_group
|
||||
dependencies[] = menu_block
|
||||
dependencies[] = options
|
||||
dependencies[] = page_manager
|
||||
dependencies[] = panels_mini
|
||||
dependencies[] = popsu_taxonomies
|
||||
dependencies[] = strongarm
|
||||
dependencies[] = taxonomy
|
||||
dependencies[] = uuid
|
||||
dependencies[] = uuid_features
|
||||
features[context][] = popsu-special-europe-node
|
||||
features[context][] = popsu-special-node
|
||||
features[ctools][] = context:context:3
|
||||
features[ctools][] = field_group:field_group:1
|
||||
features[ctools][] = page_manager:pages_default:1
|
||||
features[ctools][] = panels_mini:panels_default:1
|
||||
features[ctools][] = strongarm:strongarm:1
|
||||
features[features_api][] = api:1
|
||||
features[field][] = node-popsu_special-field_popsu_special_body
|
||||
features[field][] = node-popsu_special-field_popsu_special_text
|
||||
features[field][] = node-popsu_special-field_popsu_special_typetaxo
|
||||
features[field_group][] = group_popsu_special_basic|node|popsu_special|form
|
||||
features[field_group][] = group_popsu_special_content|node|popsu_special|form
|
||||
features[field_group][] = group_popsu_special_intro|node|popsu_special|form
|
||||
features[node][] = popsu_special
|
||||
features[page_manager_handlers][] = node_view_panel_context_7
|
||||
features[panels_mini][] = popsu_special_accueil_pps1
|
||||
features[taxonomy][] = popsu_special_taxonomy
|
||||
features[uuid_term][] = 2c5bb8f9-d4c3-4cc7-a3ec-0cd9d85cad2a
|
||||
features[uuid_term][] = 697db5fa-8f16-4ab8-9f6a-95f7700c5016
|
||||
features[uuid_term][] = a8d5afd0-056e-4c2d-9ff7-1ac1775de698
|
||||
features[uuid_term][] = bc51e803-f075-487d-bad0-3d76e4c5e797
|
||||
features[variable][] = field_bundle_settings_node__popsu_special
|
||||
features[variable][] = language_content_type_popsu_special
|
||||
features[variable][] = menu_options_popsu_special
|
||||
features[variable][] = menu_parent_popsu_special
|
||||
features[variable][] = node_options_popsu_special
|
||||
features[variable][] = node_preview_popsu_special
|
||||
features[variable][] = node_submitted_popsu_special
|
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Code for the POPSU Special Pages feature.
|
||||
*/
|
||||
|
||||
include_once 'popsu_special_pages.features.inc';
|
@@ -0,0 +1,539 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_special_pages.pages_default.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_default_page_manager_handlers().
|
||||
*/
|
||||
function popsu_special_pages_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_7';
|
||||
$handler->task = 'node_view';
|
||||
$handler->subtask = '';
|
||||
$handler->handler = 'panel_context';
|
||||
$handler->weight = 6;
|
||||
$handler->conf = array(
|
||||
'title' => 'Special (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: POPSU [field_popsu_special_popsu])',
|
||||
'keyword' => 'taxonomy_term',
|
||||
'name' => 'entity_from_field:field_popsu_special_popsu-node-taxonomy_term',
|
||||
'delta' => 0,
|
||||
'context' => 'argument_entity_id:node_1',
|
||||
'id' => 1,
|
||||
),
|
||||
1 => array(
|
||||
'identifier' => 'Terme de taxonomie from Nœud (on Nœud: Type de page spéciale [field_popsu_special_typetaxo])',
|
||||
'keyword' => 'taxonomy_term_2',
|
||||
'name' => 'entity_from_field:field_popsu_special_typetaxo-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_special' => 'popsu_special',
|
||||
),
|
||||
),
|
||||
'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 = '%node:title';
|
||||
$display->content = array();
|
||||
$display->panels = array();
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-1';
|
||||
$pane->panel = 'footer';
|
||||
$pane->type = 'node_title';
|
||||
$pane->subtype = 'node_title';
|
||||
$pane->shown = FALSE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'link' => 1,
|
||||
'context' => 'argument_entity_id:node_1',
|
||||
'override_title' => 0,
|
||||
'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['footer'][0] = 'new-1';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-2';
|
||||
$pane->panel = 'footer';
|
||||
$pane->type = 'node_content';
|
||||
$pane->subtype = 'node_content';
|
||||
$pane->shown = FALSE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'links' => 0,
|
||||
'no_extras' => 0,
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '<none>',
|
||||
'identifier' => '',
|
||||
'link' => 0,
|
||||
'leave_node_title' => 0,
|
||||
'build_mode' => 'full',
|
||||
'context' => 'argument_entity_id:node_1',
|
||||
);
|
||||
$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['footer'][1] = 'new-2';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-3';
|
||||
$pane->panel = 'top';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_special_body';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array(
|
||||
'plugins' => array(
|
||||
0 => array(
|
||||
'name' => 'term',
|
||||
'settings' => array(
|
||||
'vid' => '8',
|
||||
6 => array(),
|
||||
7 => array(),
|
||||
8 => array(
|
||||
31 => '31',
|
||||
),
|
||||
9 => array(),
|
||||
1 => array(),
|
||||
),
|
||||
'context' => 'relationship_entity_from_field:field_popsu_special_typetaxo-node-taxonomy_term_1',
|
||||
'not' => TRUE,
|
||||
),
|
||||
),
|
||||
);
|
||||
$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' => '<none>',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => '',
|
||||
'css_class' => 'layout-64p',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$display->content['new-3'] = $pane;
|
||||
$display->panels['top'][0] = 'new-3';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-4';
|
||||
$pane->panel = 'top';
|
||||
$pane->type = 'panels_mini';
|
||||
$pane->subtype = 'popsu_special_accueil_pps1';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array(
|
||||
'plugins' => array(
|
||||
0 => array(
|
||||
'name' => 'term',
|
||||
'settings' => array(
|
||||
'vid' => '6',
|
||||
6 => array(
|
||||
1 => '1',
|
||||
),
|
||||
7 => array(),
|
||||
8 => array(),
|
||||
9 => array(),
|
||||
1 => array(),
|
||||
),
|
||||
'context' => 'relationship_entity_from_field:field_popsu_special_popsu-node-taxonomy_term_1',
|
||||
'not' => FALSE,
|
||||
),
|
||||
1 => array(
|
||||
'name' => 'term',
|
||||
'settings' => array(
|
||||
'vid' => '8',
|
||||
6 => array(),
|
||||
7 => array(),
|
||||
8 => array(
|
||||
31 => '31',
|
||||
),
|
||||
9 => array(),
|
||||
1 => array(),
|
||||
),
|
||||
'context' => 'relationship_entity_from_field:field_popsu_special_typetaxo-node-taxonomy_term_1',
|
||||
'not' => FALSE,
|
||||
),
|
||||
),
|
||||
);
|
||||
$pane->configuration = array(
|
||||
'context' => array(
|
||||
0 => '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();
|
||||
$display->content['new-4'] = $pane;
|
||||
$display->panels['top'][1] = 'new-4';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-5';
|
||||
$pane->panel = 'top';
|
||||
$pane->type = 'panels_mini';
|
||||
$pane->subtype = 'popsu_special_accueil_pps2';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array(
|
||||
'plugins' => array(
|
||||
0 => array(
|
||||
'name' => 'term',
|
||||
'settings' => array(
|
||||
'vid' => '6',
|
||||
6 => array(
|
||||
2 => '2',
|
||||
),
|
||||
7 => array(),
|
||||
8 => array(),
|
||||
9 => array(),
|
||||
10 => array(),
|
||||
1 => array(),
|
||||
),
|
||||
'context' => 'relationship_entity_from_field:field_popsu_special_popsu-node-taxonomy_term_1',
|
||||
'not' => FALSE,
|
||||
),
|
||||
1 => array(
|
||||
'name' => 'term',
|
||||
'settings' => array(
|
||||
'vid' => '8',
|
||||
6 => array(),
|
||||
7 => array(),
|
||||
8 => array(
|
||||
31 => '31',
|
||||
),
|
||||
9 => array(),
|
||||
10 => array(),
|
||||
1 => array(),
|
||||
),
|
||||
'context' => 'relationship_entity_from_field:field_popsu_special_typetaxo-node-taxonomy_term_1',
|
||||
'not' => FALSE,
|
||||
),
|
||||
),
|
||||
);
|
||||
$pane->configuration = array(
|
||||
'context' => array(
|
||||
0 => '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-5'] = $pane;
|
||||
$display->panels['top'][2] = 'new-5';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-6';
|
||||
$pane->panel = 'top';
|
||||
$pane->type = 'panels_mini';
|
||||
$pane->subtype = 'popsu_special_accueil_ppse';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array(
|
||||
'plugins' => array(
|
||||
0 => array(
|
||||
'name' => 'term',
|
||||
'settings' => array(
|
||||
'vid' => '6',
|
||||
6 => array(
|
||||
3 => '3',
|
||||
),
|
||||
7 => array(),
|
||||
8 => array(),
|
||||
9 => array(),
|
||||
10 => array(),
|
||||
1 => array(),
|
||||
),
|
||||
'context' => 'relationship_entity_from_field:field_popsu_special_popsu-node-taxonomy_term_1',
|
||||
'not' => FALSE,
|
||||
),
|
||||
1 => array(
|
||||
'name' => 'term',
|
||||
'settings' => array(
|
||||
'vid' => '8',
|
||||
6 => array(),
|
||||
7 => array(),
|
||||
8 => array(
|
||||
31 => '31',
|
||||
),
|
||||
9 => array(),
|
||||
10 => array(),
|
||||
1 => array(),
|
||||
),
|
||||
'context' => 'relationship_entity_from_field:field_popsu_special_typetaxo-node-taxonomy_term_1',
|
||||
'not' => FALSE,
|
||||
),
|
||||
),
|
||||
);
|
||||
$pane->configuration = array(
|
||||
'context' => array(
|
||||
0 => '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 = 3;
|
||||
$pane->locks = array();
|
||||
$display->content['new-6'] = $pane;
|
||||
$display->panels['top'][3] = 'new-6';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-7';
|
||||
$pane->panel = 'top';
|
||||
$pane->type = 'views_panes';
|
||||
$pane->subtype = 'colloques-panel_pane_2';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array(
|
||||
'plugins' => array(
|
||||
0 => array(
|
||||
'name' => 'term',
|
||||
'settings' => array(
|
||||
'vid' => '8',
|
||||
6 => array(),
|
||||
7 => array(),
|
||||
8 => array(
|
||||
28 => '28',
|
||||
),
|
||||
9 => array(),
|
||||
1 => array(),
|
||||
),
|
||||
'context' => 'relationship_entity_from_field:field_popsu_special_typetaxo-node-taxonomy_term_1',
|
||||
'not' => FALSE,
|
||||
),
|
||||
),
|
||||
);
|
||||
$pane->configuration = array(
|
||||
'arguments' => array(
|
||||
'field_popsu_colloque_popsu_tid' => '%taxonomy_term:tid',
|
||||
),
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => '',
|
||||
'css_class' => '',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 4;
|
||||
$pane->locks = array();
|
||||
$display->content['new-7'] = $pane;
|
||||
$display->panels['top'][4] = 'new-7';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-8';
|
||||
$pane->panel = 'top';
|
||||
$pane->type = 'views_panes';
|
||||
$pane->subtype = 'publications-panel_pane_3';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array(
|
||||
'plugins' => array(
|
||||
0 => array(
|
||||
'name' => 'term',
|
||||
'settings' => array(
|
||||
'vid' => '8',
|
||||
6 => array(),
|
||||
7 => array(),
|
||||
8 => array(
|
||||
29 => '29',
|
||||
),
|
||||
9 => array(),
|
||||
1 => array(),
|
||||
),
|
||||
'context' => 'relationship_entity_from_field:field_popsu_special_typetaxo-node-taxonomy_term_1',
|
||||
'not' => FALSE,
|
||||
),
|
||||
),
|
||||
);
|
||||
$pane->configuration = array(
|
||||
'arguments' => array(
|
||||
'field_popsu_publication_popsu_tid' => '%taxonomy_term:tid',
|
||||
),
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'pane-publication',
|
||||
'css_class' => 'layout-88p pane-publication-sans-ville',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 5;
|
||||
$pane->locks = array();
|
||||
$display->content['new-8'] = $pane;
|
||||
$display->panels['top'][5] = 'new-8';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-9';
|
||||
$pane->panel = 'top';
|
||||
$pane->type = 'views_panes';
|
||||
$pane->subtype = 'publications-panel_pane_2';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array(
|
||||
'plugins' => array(
|
||||
0 => array(
|
||||
'name' => 'term',
|
||||
'settings' => array(
|
||||
'vid' => '8',
|
||||
6 => array(),
|
||||
7 => array(),
|
||||
8 => array(
|
||||
29 => '29',
|
||||
),
|
||||
9 => array(),
|
||||
1 => array(),
|
||||
),
|
||||
'context' => 'relationship_entity_from_field:field_popsu_special_typetaxo-node-taxonomy_term_1',
|
||||
'not' => FALSE,
|
||||
),
|
||||
),
|
||||
);
|
||||
$pane->configuration = array(
|
||||
'arguments' => array(
|
||||
'field_popsu_publication_popsu_tid' => '%taxonomy_term:tid',
|
||||
),
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'pane-publication',
|
||||
'css_class' => 'layout-88p pane-publication-popsu',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 6;
|
||||
$pane->locks = array();
|
||||
$display->content['new-9'] = $pane;
|
||||
$display->panels['top'][6] = 'new-9';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-10';
|
||||
$pane->panel = 'top';
|
||||
$pane->type = 'custom';
|
||||
$pane->subtype = 'custom';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array(
|
||||
'plugins' => array(
|
||||
0 => array(
|
||||
'name' => 'term',
|
||||
'settings' => array(
|
||||
'vid' => '8',
|
||||
6 => array(),
|
||||
7 => array(),
|
||||
8 => array(
|
||||
28 => '28',
|
||||
29 => '29',
|
||||
),
|
||||
9 => array(),
|
||||
10 => array(),
|
||||
1 => array(),
|
||||
),
|
||||
'context' => 'relationship_entity_from_field:field_popsu_special_typetaxo-node-taxonomy_term_1',
|
||||
'not' => FALSE,
|
||||
),
|
||||
),
|
||||
);
|
||||
$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 layout-64-5p',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 7;
|
||||
$pane->locks = array();
|
||||
$display->content['new-10'] = $pane;
|
||||
$display->panels['top'][7] = 'new-10';
|
||||
$display->hide_title = PANELS_TITLE_FIXED;
|
||||
$display->title_pane = '0';
|
||||
$handler->conf['display'] = $display;
|
||||
$export['node_view_panel_context_7'] = $handler;
|
||||
|
||||
return $export;
|
||||
}
|
@@ -0,0 +1,271 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_special_pages.panels_default.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_default_panels_mini().
|
||||
*/
|
||||
function popsu_special_pages_default_panels_mini() {
|
||||
$export = array();
|
||||
|
||||
$mini = new stdClass();
|
||||
$mini->disabled = FALSE; /* Edit this to true to make a default mini disabled initially */
|
||||
$mini->api_version = 1;
|
||||
$mini->name = 'popsu_special_accueil_pps1';
|
||||
$mini->category = 'POPSU Mini';
|
||||
$mini->admin_title = 'POPSU Mini - Special - Accueil - Popsu 1';
|
||||
$mini->admin_description = 'Mini-panel pour le contenu de la page d\'accueil de POPSU 1';
|
||||
$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: POPSU [field_popsu_special_popsu])',
|
||||
'keyword' => 'taxonomy_term',
|
||||
'name' => 'entity_from_field:field_popsu_special_popsu-node-taxonomy_term',
|
||||
'delta' => 0,
|
||||
'context' => 'requiredcontext_entity:node_1',
|
||||
'id' => 1,
|
||||
),
|
||||
);
|
||||
$display = new panels_display();
|
||||
$display->layout = 'onecol';
|
||||
$display->layout_settings = array();
|
||||
$display->panel_settings = array(
|
||||
'style_settings' => array(
|
||||
'default' => NULL,
|
||||
'middle' => NULL,
|
||||
),
|
||||
);
|
||||
$display->cache = array();
|
||||
$display->title = '';
|
||||
$display->content = array();
|
||||
$display->panels = array();
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-1';
|
||||
$pane->panel = 'middle';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_special_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' => '<none>',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => '',
|
||||
'css_class' => 'layout-72p text-intro',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$display->content['new-1'] = $pane;
|
||||
$display->panels['middle'][0] = 'new-1';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-2';
|
||||
$pane->panel = 'middle';
|
||||
$pane->type = 'views_panes';
|
||||
$pane->subtype = 'villes-panel_pane_1';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'arguments' => array(
|
||||
'field_popsu_ville_popsu_tid' => '%taxonomy_term:tid',
|
||||
),
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'accordion-h2-liste-villes',
|
||||
'css_class' => 'layout-90p accordion-h2 accordion-h2-views',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 1;
|
||||
$pane->locks = array();
|
||||
$display->content['new-2'] = $pane;
|
||||
$display->panels['middle'][1] = 'new-2';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-3';
|
||||
$pane->panel = 'middle';
|
||||
$pane->type = 'views_panes';
|
||||
$pane->subtype = 'projets-panel_pane_2';
|
||||
$pane->shown = FALSE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'arguments' => array(
|
||||
'field_popsu_projet_popsu_tid' => '%taxonomy_term:tid',
|
||||
),
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'accordion-h2-liste-projets',
|
||||
'css_class' => 'layout-90p accordion-h2 accordion-h2-views',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 2;
|
||||
$pane->locks = array();
|
||||
$display->content['new-3'] = $pane;
|
||||
$display->panels['middle'][2] = 'new-3';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-4';
|
||||
$pane->panel = 'middle';
|
||||
$pane->type = 'views_panes';
|
||||
$pane->subtype = 'projets-panel_pane_4';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'arguments' => array(
|
||||
'field_popsu_projet_popsu_tid' => '%taxonomy_term:tid',
|
||||
),
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'accordion-h2-projects-thumb',
|
||||
'css_class' => 'layout-90p accordion-h2 accordion-h2-views',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 3;
|
||||
$pane->locks = array();
|
||||
$display->content['new-4'] = $pane;
|
||||
$display->panels['middle'][3] = 'new-4';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-5';
|
||||
$pane->panel = 'middle';
|
||||
$pane->type = 'views_panes';
|
||||
$pane->subtype = 'themes_local-panel_pane_2';
|
||||
$pane->shown = FALSE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'arguments' => array(
|
||||
'field_popsu_themloc_popsu_tid' => '%taxonomy_term:tid',
|
||||
),
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'accordion-h2-liste-themes-loc',
|
||||
'css_class' => 'layout-90p accordion-h2 accordion-h2-views',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 4;
|
||||
$pane->locks = array();
|
||||
$display->content['new-5'] = $pane;
|
||||
$display->panels['middle'][4] = 'new-5';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-6';
|
||||
$pane->panel = 'middle';
|
||||
$pane->type = 'views_panes';
|
||||
$pane->subtype = 'themes_local-panel_pane_4';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'arguments' => array(
|
||||
'field_popsu_themloc_popsu_tid' => '%taxonomy_term:tid',
|
||||
),
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'accordion-h2-themlocs-thumb',
|
||||
'css_class' => 'layout-90p accordion-h2 accordion-h2-views',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 5;
|
||||
$pane->locks = array();
|
||||
$display->content['new-6'] = $pane;
|
||||
$display->panels['middle'][5] = 'new-6';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-7';
|
||||
$pane->panel = 'middle';
|
||||
$pane->type = 'views_panes';
|
||||
$pane->subtype = 'themes_trans-panel_pane_1';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'arguments' => array(
|
||||
'field_popsu_themtrans_popsu_tid' => '%taxonomy_term:tid',
|
||||
),
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'accordion-h2-liste-themes-trans',
|
||||
'css_class' => 'layout-90p accordion-h2 accordion-h2-views',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 6;
|
||||
$pane->locks = array();
|
||||
$display->content['new-7'] = $pane;
|
||||
$display->panels['middle'][6] = 'new-7';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-8';
|
||||
$pane->panel = 'middle';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_special_text';
|
||||
$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' => '<none>',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => '',
|
||||
'css_class' => 'layout-72p double-spaced',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 7;
|
||||
$pane->locks = array();
|
||||
$display->content['new-8'] = $pane;
|
||||
$display->panels['middle'][7] = 'new-8';
|
||||
$display->hide_title = PANELS_TITLE_NONE;
|
||||
$display->title_pane = 'new-1';
|
||||
$mini->display = $display;
|
||||
$export['popsu_special_accueil_pps1'] = $mini;
|
||||
|
||||
return $export;
|
||||
}
|
@@ -0,0 +1,103 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_special_pages.strongarm.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_strongarm().
|
||||
*/
|
||||
function popsu_special_pages_strongarm() {
|
||||
$export = array();
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'field_bundle_settings_node__popsu_special';
|
||||
$strongarm->value = array(
|
||||
'view_modes' => array(
|
||||
'teaser' => array(
|
||||
'custom_settings' => TRUE,
|
||||
),
|
||||
'full' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
'rss' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
'search_index' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
'search_result' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
'token' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
),
|
||||
'extra_fields' => array(
|
||||
'form' => array(
|
||||
'title' => array(
|
||||
'weight' => '3',
|
||||
),
|
||||
'path' => array(
|
||||
'weight' => '5',
|
||||
),
|
||||
),
|
||||
'display' => array(),
|
||||
),
|
||||
);
|
||||
$export['field_bundle_settings_node__popsu_special'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'language_content_type_popsu_special';
|
||||
$strongarm->value = '0';
|
||||
$export['language_content_type_popsu_special'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'menu_options_popsu_special';
|
||||
$strongarm->value = array(
|
||||
0 => 'menu-popsu1-menu',
|
||||
1 => 'menu-popsu2-menu',
|
||||
2 => 'menu-popsu-menu-popsu-europe',
|
||||
3 => 'main-menu',
|
||||
);
|
||||
$export['menu_options_popsu_special'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'menu_parent_popsu_special';
|
||||
$strongarm->value = 'menu-popsu1-menu:0';
|
||||
$export['menu_parent_popsu_special'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'node_options_popsu_special';
|
||||
$strongarm->value = array(
|
||||
0 => 'status',
|
||||
1 => 'revision',
|
||||
);
|
||||
$export['node_options_popsu_special'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'node_preview_popsu_special';
|
||||
$strongarm->value = '0';
|
||||
$export['node_preview_popsu_special'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'node_submitted_popsu_special';
|
||||
$strongarm->value = 0;
|
||||
$export['node_submitted_popsu_special'] = $strongarm;
|
||||
|
||||
return $export;
|
||||
}
|
Reference in New Issue
Block a user