big update
This commit is contained in:
@@ -0,0 +1,210 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_villes.features.field_base.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_field_default_field_bases().
|
||||
*/
|
||||
function popsu_villes_field_default_field_bases() {
|
||||
$field_bases = array();
|
||||
|
||||
// Exported field_base: 'field_popsu_ville_body'.
|
||||
$field_bases['field_popsu_ville_body'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_ville_body',
|
||||
'indexes' => array(
|
||||
'format' => array(
|
||||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'translatable' => 0,
|
||||
'type' => 'text_with_summary',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_popsu_ville_coordinateur'.
|
||||
$field_bases['field_popsu_ville_coordinateur'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_ville_coordinateur',
|
||||
'indexes' => array(
|
||||
'format' => array(
|
||||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'translatable' => 0,
|
||||
'type' => 'text_long',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_popsu_ville_equipe'.
|
||||
$field_bases['field_popsu_ville_equipe'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_ville_equipe',
|
||||
'indexes' => array(
|
||||
'format' => array(
|
||||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'translatable' => 0,
|
||||
'type' => 'text_long',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_popsu_ville_images_illustr'.
|
||||
$field_bases['field_popsu_ville_images_illustr'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => -1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_ville_images_illustr',
|
||||
'indexes' => array(
|
||||
'fid' => array(
|
||||
0 => 'fid',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'image',
|
||||
'settings' => array(
|
||||
'default_image' => 0,
|
||||
'uri_scheme' => 'public',
|
||||
),
|
||||
'translatable' => 0,
|
||||
'type' => 'image',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_popsu_ville_images_small'.
|
||||
$field_bases['field_popsu_ville_images_small'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => -1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_ville_images_small',
|
||||
'indexes' => array(
|
||||
'fid' => array(
|
||||
0 => 'fid',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'image',
|
||||
'settings' => array(
|
||||
'default_image' => 0,
|
||||
'uri_scheme' => 'public',
|
||||
),
|
||||
'translatable' => 0,
|
||||
'type' => 'image',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_popsu_ville_partenairesimg'.
|
||||
$field_bases['field_popsu_ville_partenairesimg'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => -1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_ville_partenairesimg',
|
||||
'indexes' => array(
|
||||
'fid' => array(
|
||||
0 => 'fid',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'image',
|
||||
'settings' => array(
|
||||
'default_image' => 0,
|
||||
'uri_scheme' => 'public',
|
||||
),
|
||||
'translatable' => 0,
|
||||
'type' => 'image',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_popsu_ville_partenairestxt'.
|
||||
$field_bases['field_popsu_ville_partenairestxt'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_ville_partenairestxt',
|
||||
'indexes' => array(
|
||||
'format' => array(
|
||||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'translatable' => 0,
|
||||
'type' => 'text_long',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_popsu_ville_popsu'.
|
||||
$field_bases['field_popsu_ville_popsu'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_ville_popsu',
|
||||
'indexes' => array(
|
||||
'tid' => array(
|
||||
0 => 'tid',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'taxonomy',
|
||||
'settings' => array(
|
||||
'allowed_values' => array(
|
||||
0 => array(
|
||||
'vocabulary' => 'popsu_popsu',
|
||||
'parent' => 0,
|
||||
),
|
||||
),
|
||||
'options_list_callback' => 'i18n_taxonomy_allowed_values',
|
||||
),
|
||||
'translatable' => 0,
|
||||
'type' => 'taxonomy_term_reference',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_popsu_ville_ville'.
|
||||
$field_bases['field_popsu_ville_ville'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_ville_ville',
|
||||
'indexes' => array(
|
||||
'tid' => array(
|
||||
0 => 'tid',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'taxonomy',
|
||||
'settings' => array(
|
||||
'allowed_values' => array(
|
||||
0 => array(
|
||||
'vocabulary' => 'popsu_villes',
|
||||
'parent' => 0,
|
||||
),
|
||||
),
|
||||
'options_list_callback' => 'i18n_taxonomy_allowed_values',
|
||||
),
|
||||
'translatable' => 0,
|
||||
'type' => 'taxonomy_term_reference',
|
||||
);
|
||||
|
||||
return $field_bases;
|
||||
}
|
@@ -0,0 +1,489 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_villes.features.field_instance.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_field_default_field_instances().
|
||||
*/
|
||||
function popsu_villes_field_default_field_instances() {
|
||||
$field_instances = array();
|
||||
|
||||
// Exported field_instance: 'node-popsu_ville-field_popsu_ville_body'.
|
||||
$field_instances['node-popsu_ville-field_popsu_ville_body'] = array(
|
||||
'bundle' => 'popsu_ville',
|
||||
'default_value' => NULL,
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
'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_ville_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_instance: 'node-popsu_ville-field_popsu_ville_coordinateur'.
|
||||
$field_instances['node-popsu_ville-field_popsu_ville_coordinateur'] = array(
|
||||
'bundle' => 'popsu_ville',
|
||||
'default_value' => NULL,
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'type' => 'text_default',
|
||||
'weight' => 2,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_ville_coordinateur',
|
||||
'label' => 'Coordinateur des acteurs',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'text_processing' => 1,
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'rows' => 5,
|
||||
),
|
||||
'type' => 'text_textarea',
|
||||
'weight' => 4,
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance: 'node-popsu_ville-field_popsu_ville_equipe'.
|
||||
$field_instances['node-popsu_ville-field_popsu_ville_equipe'] = array(
|
||||
'bundle' => 'popsu_ville',
|
||||
'default_value' => NULL,
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'type' => 'text_default',
|
||||
'weight' => 1,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_ville_equipe',
|
||||
'label' => 'Equipe de recherche',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'text_processing' => 1,
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'rows' => 5,
|
||||
),
|
||||
'type' => 'text_textarea',
|
||||
'weight' => 3,
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance:
|
||||
// 'node-popsu_ville-field_popsu_ville_images_illustr'.
|
||||
$field_instances['node-popsu_ville-field_popsu_ville_images_illustr'] = array(
|
||||
'bundle' => 'popsu_ville',
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 3,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_ville_images_illustr',
|
||||
'label' => 'Grandes images d\'illustration',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'alt_field' => 0,
|
||||
'default_image' => 0,
|
||||
'file_directory' => '',
|
||||
'file_extensions' => 'png gif jpg jpeg',
|
||||
'filefield_paths' => array(
|
||||
'active_updating' => 0,
|
||||
'file_name' => array(
|
||||
'options' => array(
|
||||
'pathauto' => 1,
|
||||
'transliterate' => 1,
|
||||
),
|
||||
'value' => '[file:ffp-name-only-original].[file:ffp-extension-original]',
|
||||
),
|
||||
'file_path' => array(
|
||||
'options' => array(
|
||||
'pathauto' => 1,
|
||||
'transliterate' => 1,
|
||||
),
|
||||
'value' => 'nodes/[node:content-type]/[node:nid]/illustr',
|
||||
),
|
||||
'retroactive_update' => 0,
|
||||
),
|
||||
'max_filesize' => '',
|
||||
'max_resolution' => '',
|
||||
'min_resolution' => '',
|
||||
'title_field' => 1,
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'image',
|
||||
'settings' => array(
|
||||
'insert' => 0,
|
||||
'insert_absolute' => FALSE,
|
||||
'insert_class' => '',
|
||||
'insert_default' => array(
|
||||
0 => 'auto',
|
||||
),
|
||||
'insert_styles' => array(
|
||||
0 => 'auto',
|
||||
),
|
||||
'insert_width' => '',
|
||||
'preview_image_style' => 'thumbnail',
|
||||
'progress_indicator' => 'throbber',
|
||||
),
|
||||
'type' => 'image_image',
|
||||
'weight' => 5,
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance: 'node-popsu_ville-field_popsu_ville_images_small'.
|
||||
$field_instances['node-popsu_ville-field_popsu_ville_images_small'] = array(
|
||||
'bundle' => 'popsu_ville',
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 4,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_ville_images_small',
|
||||
'label' => 'Petites images d\'illustration',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'alt_field' => 0,
|
||||
'default_image' => 0,
|
||||
'file_directory' => '',
|
||||
'file_extensions' => 'png gif jpg jpeg',
|
||||
'filefield_paths' => array(
|
||||
'active_updating' => 0,
|
||||
'file_name' => array(
|
||||
'options' => array(
|
||||
'pathauto' => 1,
|
||||
'transliterate' => 1,
|
||||
),
|
||||
'value' => '[file:ffp-name-only-original].[file:ffp-extension-original]',
|
||||
),
|
||||
'file_path' => array(
|
||||
'options' => array(
|
||||
'pathauto' => 1,
|
||||
'transliterate' => 1,
|
||||
),
|
||||
'value' => 'nodes/[node:content-type]/[node:nid]/small',
|
||||
),
|
||||
'retroactive_update' => 0,
|
||||
),
|
||||
'max_filesize' => '',
|
||||
'max_resolution' => '',
|
||||
'min_resolution' => '',
|
||||
'title_field' => 1,
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'image',
|
||||
'settings' => array(
|
||||
'insert' => 0,
|
||||
'insert_absolute' => FALSE,
|
||||
'insert_class' => '',
|
||||
'insert_default' => array(
|
||||
0 => 'auto',
|
||||
),
|
||||
'insert_styles' => array(
|
||||
0 => 'auto',
|
||||
),
|
||||
'insert_width' => '',
|
||||
'preview_image_style' => 'thumbnail',
|
||||
'progress_indicator' => 'throbber',
|
||||
),
|
||||
'type' => 'image_image',
|
||||
'weight' => 6,
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance:
|
||||
// 'node-popsu_ville-field_popsu_ville_partenairesimg'.
|
||||
$field_instances['node-popsu_ville-field_popsu_ville_partenairesimg'] = array(
|
||||
'bundle' => 'popsu_ville',
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 8,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_ville_partenairesimg',
|
||||
'label' => 'Logos des partenaires',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'alt_field' => 0,
|
||||
'default_image' => 0,
|
||||
'file_directory' => '',
|
||||
'file_extensions' => 'png gif jpg jpeg',
|
||||
'filefield_paths' => array(
|
||||
'active_updating' => 0,
|
||||
'file_name' => array(
|
||||
'options' => array(
|
||||
'pathauto' => 1,
|
||||
'transliterate' => 1,
|
||||
),
|
||||
'value' => '[file:ffp-name-only-original].[file:ffp-extension-original]',
|
||||
),
|
||||
'file_path' => array(
|
||||
'options' => array(
|
||||
'pathauto' => 1,
|
||||
'transliterate' => 1,
|
||||
),
|
||||
'value' => 'nodes/[node:content-type]/[node:nid]/partenaireslogo',
|
||||
),
|
||||
'retroactive_update' => 0,
|
||||
),
|
||||
'max_filesize' => '',
|
||||
'max_resolution' => '',
|
||||
'min_resolution' => '',
|
||||
'title_field' => 1,
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'image',
|
||||
'settings' => array(
|
||||
'insert' => 0,
|
||||
'insert_absolute' => FALSE,
|
||||
'insert_class' => '',
|
||||
'insert_default' => array(
|
||||
0 => 'auto',
|
||||
),
|
||||
'insert_styles' => array(
|
||||
0 => 'auto',
|
||||
),
|
||||
'insert_width' => '',
|
||||
'preview_image_style' => 'thumbnail',
|
||||
'progress_indicator' => 'throbber',
|
||||
),
|
||||
'type' => 'image_image',
|
||||
'weight' => 7,
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance:
|
||||
// 'node-popsu_ville-field_popsu_ville_partenairestxt'.
|
||||
$field_instances['node-popsu_ville-field_popsu_ville_partenairestxt'] = array(
|
||||
'bundle' => 'popsu_ville',
|
||||
'default_value' => NULL,
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'type' => 'text_default',
|
||||
'weight' => 7,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_ville_partenairestxt',
|
||||
'label' => 'Texte des partenaires',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'text_processing' => 0,
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'rows' => 5,
|
||||
),
|
||||
'type' => 'text_textarea',
|
||||
'weight' => 8,
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance: 'node-popsu_ville-field_popsu_ville_popsu'.
|
||||
$field_instances['node-popsu_ville-field_popsu_ville_popsu'] = array(
|
||||
'bundle' => 'popsu_ville',
|
||||
'default_value' => array(
|
||||
0 => array(
|
||||
'tid' => 1,
|
||||
),
|
||||
),
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 5,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_ville_popsu',
|
||||
'label' => 'POPSU',
|
||||
'required' => 1,
|
||||
'settings' => array(
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'options',
|
||||
'settings' => array(),
|
||||
'type' => 'options_select',
|
||||
'weight' => 1,
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance: 'node-popsu_ville-field_popsu_ville_ville'.
|
||||
$field_instances['node-popsu_ville-field_popsu_ville_ville'] = array(
|
||||
'bundle' => 'popsu_ville',
|
||||
'default_value' => NULL,
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 6,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_ville_ville',
|
||||
'label' => 'Ville',
|
||||
'required' => 1,
|
||||
'settings' => array(
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'options',
|
||||
'settings' => array(),
|
||||
'type' => 'options_select',
|
||||
'weight' => 2,
|
||||
),
|
||||
);
|
||||
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Coordinateur des acteurs');
|
||||
t('Equipe de recherche');
|
||||
t('Grandes images d\'illustration');
|
||||
t('Logos des partenaires');
|
||||
t('POPSU');
|
||||
t('Petites images d\'illustration');
|
||||
t('Texte d\'introduction');
|
||||
t('Texte des partenaires');
|
||||
t('Ville');
|
||||
|
||||
return $field_instances;
|
||||
}
|
@@ -7,24 +7,19 @@
|
||||
/**
|
||||
* Implements hook_ctools_plugin_api().
|
||||
*/
|
||||
function popsu_villes_ctools_plugin_api() {
|
||||
list($module, $api) = func_get_args();
|
||||
function popsu_villes_ctools_plugin_api($module = NULL, $api = NULL) {
|
||||
if ($module == "boxes" && $api == "box") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
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 == "strongarm" && $api == "strongarm") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
@@ -33,8 +28,8 @@ function popsu_villes_ctools_plugin_api() {
|
||||
/**
|
||||
* Implements hook_views_api().
|
||||
*/
|
||||
function popsu_villes_views_api() {
|
||||
return array("version" => "3.0");
|
||||
function popsu_villes_views_api($module = NULL, $api = NULL) {
|
||||
return array("api" => "3.0");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -45,47 +40,30 @@ function popsu_villes_image_default_styles() {
|
||||
|
||||
// Exported image style: popsu-villes-grande-image.
|
||||
$styles['popsu-villes-grande-image'] = array(
|
||||
'name' => 'popsu-villes-grande-image',
|
||||
'label' => 'popsu-villes-grande-image',
|
||||
'effects' => array(
|
||||
2 => array(
|
||||
'label' => 'Adaptive',
|
||||
'help' => 'Adaptive image scale according to client resolution.',
|
||||
'effect callback' => 'image_scale_effect',
|
||||
'dimensions callback' => 'image_scale_dimensions',
|
||||
'form callback' => 'adaptive_image_scale_form',
|
||||
'summary theme' => 'adaptive_image_scale_summary',
|
||||
'module' => 'adaptive_image',
|
||||
'name' => 'adaptive_image',
|
||||
21 => array(
|
||||
'name' => 'image_scale_and_crop',
|
||||
'data' => array(
|
||||
'resolutions' => '1382, 992, 768, 480',
|
||||
'mobile_first' => 1,
|
||||
'height' => '',
|
||||
'width' => '1382',
|
||||
'upscale' => '',
|
||||
'width' => 485,
|
||||
'height' => 324,
|
||||
),
|
||||
'weight' => '2',
|
||||
'weight' => 1,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
// Exported image style: popsu-villes-listing-small.
|
||||
$styles['popsu-villes-listing-small'] = array(
|
||||
'name' => 'popsu-villes-listing-small',
|
||||
'label' => 'popsu-villes-listing-small',
|
||||
'effects' => array(
|
||||
5 => array(
|
||||
'label' => 'Mise à l’échelle et recadrage',
|
||||
'help' => 'La mise à l\'échelle et le recadrage maintiendront les proportions originales de l\'image puis recadreront la dimension la plus large. C\'est très utile pour créer des vignettes carrées sans étirer les images.',
|
||||
'effect callback' => 'image_scale_and_crop_effect',
|
||||
'dimensions callback' => 'image_resize_dimensions',
|
||||
'form callback' => 'image_resize_form',
|
||||
'summary theme' => 'image_resize_summary',
|
||||
'module' => 'image',
|
||||
'name' => 'image_scale_and_crop',
|
||||
'data' => array(
|
||||
'width' => '101',
|
||||
'height' => '87',
|
||||
'width' => 101,
|
||||
'height' => 87,
|
||||
),
|
||||
'weight' => '1',
|
||||
'weight' => 1,
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -107,5 +85,6 @@ function popsu_villes_node_info() {
|
||||
'help' => '',
|
||||
),
|
||||
);
|
||||
drupal_alter('node_info', $items);
|
||||
return $items;
|
||||
}
|
||||
|
@@ -2,7 +2,6 @@ name = POPSU Villes
|
||||
description = POPSU - Type de contenu Villes
|
||||
core = 7.x
|
||||
package = POPSU
|
||||
php = 5.2.4
|
||||
version = 7.x-1.0-beta9
|
||||
project = popsu_villes
|
||||
dependencies[] = block
|
||||
@@ -13,6 +12,7 @@ dependencies[] = field_group
|
||||
dependencies[] = filefield_paths
|
||||
dependencies[] = image
|
||||
dependencies[] = menu_block
|
||||
dependencies[] = node
|
||||
dependencies[] = page_manager
|
||||
dependencies[] = popsu_structure
|
||||
dependencies[] = popsu_taxonomies
|
||||
@@ -28,20 +28,31 @@ features[ctools][] = field_group:field_group:1
|
||||
features[ctools][] = page_manager:pages_default:1
|
||||
features[ctools][] = strongarm:strongarm:1
|
||||
features[ctools][] = views:views_default:3.0
|
||||
features[features_api][] = api:1
|
||||
features[field][] = node-popsu_ville-field_popsu_ville_body
|
||||
features[field][] = node-popsu_ville-field_popsu_ville_coordinateur
|
||||
features[field][] = node-popsu_ville-field_popsu_ville_equipe
|
||||
features[field][] = node-popsu_ville-field_popsu_ville_images_illustr
|
||||
features[field][] = node-popsu_ville-field_popsu_ville_images_small
|
||||
features[field][] = node-popsu_ville-field_popsu_ville_partenairesimg
|
||||
features[field][] = node-popsu_ville-field_popsu_ville_partenairestxt
|
||||
features[features_api][] = api:2
|
||||
features[field_base][] = field_popsu_ville_body
|
||||
features[field_base][] = field_popsu_ville_coordinateur
|
||||
features[field_base][] = field_popsu_ville_equipe
|
||||
features[field_base][] = field_popsu_ville_images_illustr
|
||||
features[field_base][] = field_popsu_ville_images_small
|
||||
features[field_base][] = field_popsu_ville_partenairesimg
|
||||
features[field_base][] = field_popsu_ville_partenairestxt
|
||||
features[field_base][] = field_popsu_ville_popsu
|
||||
features[field_base][] = field_popsu_ville_ville
|
||||
features[field_group][] = group_popsu_ville_basic|node|popsu_ville|form
|
||||
features[field_group][] = group_popsu_ville_coordo|node|popsu_ville|form
|
||||
features[field_group][] = group_popsu_ville_equipe|node|popsu_ville|form
|
||||
features[field_group][] = group_popsu_ville_images|node|popsu_ville|form
|
||||
features[field_group][] = group_popsu_ville_intro|node|popsu_ville|form
|
||||
features[field_group][] = group_popsu_ville_partenaires|node|popsu_ville|form
|
||||
features[field_instance][] = node-popsu_ville-field_popsu_ville_body
|
||||
features[field_instance][] = node-popsu_ville-field_popsu_ville_coordinateur
|
||||
features[field_instance][] = node-popsu_ville-field_popsu_ville_equipe
|
||||
features[field_instance][] = node-popsu_ville-field_popsu_ville_images_illustr
|
||||
features[field_instance][] = node-popsu_ville-field_popsu_ville_images_small
|
||||
features[field_instance][] = node-popsu_ville-field_popsu_ville_partenairesimg
|
||||
features[field_instance][] = node-popsu_ville-field_popsu_ville_partenairestxt
|
||||
features[field_instance][] = node-popsu_ville-field_popsu_ville_popsu
|
||||
features[field_instance][] = node-popsu_ville-field_popsu_ville_ville
|
||||
features[image][] = popsu-villes-grande-image
|
||||
features[image][] = popsu-villes-listing-small
|
||||
features[node][] = popsu_ville
|
||||
@@ -53,4 +64,5 @@ features[variable][] = menu_parent_popsu_ville
|
||||
features[variable][] = node_options_popsu_ville
|
||||
features[variable][] = node_preview_popsu_ville
|
||||
features[variable][] = node_submitted_popsu_ville
|
||||
features[variable][] = xmlsitemap_settings_node_popsu_ville
|
||||
features[views_view][] = villes
|
||||
|
@@ -77,303 +77,343 @@ function popsu_villes_default_page_manager_handlers() {
|
||||
);
|
||||
$display->cache = array();
|
||||
$display->title = '%node:title';
|
||||
$display->uuid = '2a15c48c-e269-41d7-900d-2968a7252ef3';
|
||||
$display->storage_type = 'page_manager';
|
||||
$display->storage_id = 'node_view_panel_context_2';
|
||||
$display->content = array();
|
||||
$display->panels = array();
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-1';
|
||||
$pane->panel = 'footer';
|
||||
$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(
|
||||
'css_id' => 'pane-colloque',
|
||||
'css_class' => 'pane-74-26',
|
||||
);
|
||||
$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 = 'views_panes';
|
||||
$pane->subtype = 'publications-panel_pane_1';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'arguments' => array(
|
||||
'field_popsu_publication_ville_tid' => '%taxonomy_term:tid',
|
||||
'field_popsu_publication_popsu_tid' => '%taxonomy_term_2:tid',
|
||||
),
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'pane-publication',
|
||||
'css_class' => 'layout-88p pane-74-26 clearfix',
|
||||
);
|
||||
$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 = 'footer';
|
||||
$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 layout-64-5p',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 2;
|
||||
$pane->locks = array();
|
||||
$display->content['new-3'] = $pane;
|
||||
$display->panels['footer'][2] = 'new-3';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-4';
|
||||
$pane->panel = 'left';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_ville_images_illustr';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'label' => 'title',
|
||||
'formatter' => 'image',
|
||||
'delta_limit' => '0',
|
||||
'delta_offset' => '0',
|
||||
'delta_reversed' => 0,
|
||||
'formatter_settings' => array(
|
||||
'image_style' => 'popsu-villes-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' => 'panel-ville-grande-image',
|
||||
'css_class' => 'image-decallee',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$display->content['new-4'] = $pane;
|
||||
$display->panels['left'][0] = 'new-4';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-5';
|
||||
$pane->panel = 'left';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_ville_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' => 'panel-ville-texte-intro',
|
||||
'css_class' => 'layout-88p',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 1;
|
||||
$pane->locks = array();
|
||||
$display->content['new-5'] = $pane;
|
||||
$display->panels['left'][1] = 'new-5';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-6';
|
||||
$pane->panel = 'right';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_ville_equipe';
|
||||
$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-ville-equipe',
|
||||
'css_class' => 'accordion-h2-ex accordion-h2-panel',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$display->content['new-6'] = $pane;
|
||||
$display->panels['right'][0] = 'new-6';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-7';
|
||||
$pane->panel = 'right';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_ville_coordinateur';
|
||||
$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' => 'Coordinateur<br>des acteurs',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'accordion-h2-ville-coordinateur',
|
||||
'css_class' => 'accordion-h2-ex accordion-h2-panel',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 1;
|
||||
$pane->locks = array();
|
||||
$display->content['new-7'] = $pane;
|
||||
$display->panels['right'][1] = 'new-7';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-8';
|
||||
$pane->panel = 'right';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_ville_partenairesimg';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'label' => 'title',
|
||||
'formatter' => 'image',
|
||||
'delta_limit' => '0',
|
||||
'delta_offset' => '0',
|
||||
'delta_reversed' => 0,
|
||||
'formatter_settings' => array(
|
||||
'image_style' => '',
|
||||
'image_link' => '',
|
||||
),
|
||||
'context' => 'argument_entity_id:node_1',
|
||||
'override_title' => 1,
|
||||
'override_title_text' => 'Partenaires',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'accordion-h2-ville-partenaires',
|
||||
'css_class' => 'accordion-h2-ex accordion-h2-panel',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 2;
|
||||
$pane->locks = array();
|
||||
$display->content['new-8'] = $pane;
|
||||
$display->panels['right'][2] = 'new-8';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-9';
|
||||
$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 = 3;
|
||||
$pane->locks = array();
|
||||
$display->content['new-9'] = $pane;
|
||||
$display->panels['right'][3] = 'new-9';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-10';
|
||||
$pane->panel = 'top';
|
||||
$pane->type = 'node_links';
|
||||
$pane->subtype = 'node_links';
|
||||
$pane->shown = FALSE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'override_title' => 0,
|
||||
'override_title_text' => '',
|
||||
'build_mode' => 'full',
|
||||
'identifier' => '',
|
||||
'link' => 1,
|
||||
'context' => 'argument_entity_id:node_1',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => '',
|
||||
'css_class' => 'admin-add-item',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$display->content['new-10'] = $pane;
|
||||
$display->panels['top'][0] = 'new-10';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-19dd72c5-0fb3-4d57-a1d9-dec43cd726bb';
|
||||
$pane->panel = 'footer';
|
||||
$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(
|
||||
'css_id' => 'pane-colloque',
|
||||
'css_class' => 'pane-74-26',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '19dd72c5-0fb3-4d57-a1d9-dec43cd726bb';
|
||||
$display->content['new-19dd72c5-0fb3-4d57-a1d9-dec43cd726bb'] = $pane;
|
||||
$display->panels['footer'][0] = 'new-19dd72c5-0fb3-4d57-a1d9-dec43cd726bb';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-20e52524-8591-4ca9-9cf9-b0812e4c1b22';
|
||||
$pane->panel = 'footer';
|
||||
$pane->type = 'views_panes';
|
||||
$pane->subtype = 'publications-panel_pane_1';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'arguments' => array(
|
||||
'field_popsu_publication_ville_tid' => '%taxonomy_term:tid',
|
||||
'field_popsu_publication_popsu_tid' => '%taxonomy_term_2:tid',
|
||||
),
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'pane-publication',
|
||||
'css_class' => 'layout-88p pane-74-26 clearfix',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 1;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '20e52524-8591-4ca9-9cf9-b0812e4c1b22';
|
||||
$display->content['new-20e52524-8591-4ca9-9cf9-b0812e4c1b22'] = $pane;
|
||||
$display->panels['footer'][1] = 'new-20e52524-8591-4ca9-9cf9-b0812e4c1b22';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-0847f350-e4ae-4918-94a5-88bbb2d8d2fb';
|
||||
$pane->panel = 'footer';
|
||||
$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 layout-64-5p',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 2;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '0847f350-e4ae-4918-94a5-88bbb2d8d2fb';
|
||||
$display->content['new-0847f350-e4ae-4918-94a5-88bbb2d8d2fb'] = $pane;
|
||||
$display->panels['footer'][2] = 'new-0847f350-e4ae-4918-94a5-88bbb2d8d2fb';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-4d97b26b-b3c7-4cf9-859f-7c86e93f4610';
|
||||
$pane->panel = 'left';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_ville_images_illustr';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'label' => 'title',
|
||||
'formatter' => 'image',
|
||||
'delta_limit' => '0',
|
||||
'delta_offset' => '0',
|
||||
'delta_reversed' => 0,
|
||||
'formatter_settings' => array(
|
||||
'image_style' => 'popsu-villes-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' => 'panel-ville-grande-image',
|
||||
'css_class' => 'image-decallee captioned',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '4d97b26b-b3c7-4cf9-859f-7c86e93f4610';
|
||||
$display->content['new-4d97b26b-b3c7-4cf9-859f-7c86e93f4610'] = $pane;
|
||||
$display->panels['left'][0] = 'new-4d97b26b-b3c7-4cf9-859f-7c86e93f4610';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-95496ef6-19e2-49c4-8c59-f3d251199a84';
|
||||
$pane->panel = 'left';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_ville_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' => 'panel-ville-texte-intro',
|
||||
'css_class' => 'layout-88p',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 1;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '95496ef6-19e2-49c4-8c59-f3d251199a84';
|
||||
$display->content['new-95496ef6-19e2-49c4-8c59-f3d251199a84'] = $pane;
|
||||
$display->panels['left'][1] = 'new-95496ef6-19e2-49c4-8c59-f3d251199a84';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-8633443c-8d55-49e3-9e83-f316d9a5e06c';
|
||||
$pane->panel = 'right';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_ville_equipe';
|
||||
$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-ville-equipe',
|
||||
'css_class' => 'accordion-h2-ex accordion-h2-panel',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '8633443c-8d55-49e3-9e83-f316d9a5e06c';
|
||||
$display->content['new-8633443c-8d55-49e3-9e83-f316d9a5e06c'] = $pane;
|
||||
$display->panels['right'][0] = 'new-8633443c-8d55-49e3-9e83-f316d9a5e06c';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-b7d934ba-cbdf-49d0-be81-f39b3cfc5f4c';
|
||||
$pane->panel = 'right';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_ville_coordinateur';
|
||||
$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' => 'Coordinateur<br>des acteurs',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'accordion-h2-ville-coordinateur',
|
||||
'css_class' => 'accordion-h2-ex accordion-h2-panel',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 1;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = 'b7d934ba-cbdf-49d0-be81-f39b3cfc5f4c';
|
||||
$display->content['new-b7d934ba-cbdf-49d0-be81-f39b3cfc5f4c'] = $pane;
|
||||
$display->panels['right'][1] = 'new-b7d934ba-cbdf-49d0-be81-f39b3cfc5f4c';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-80da3ac7-1847-46ac-a958-ce6eec560906';
|
||||
$pane->panel = 'right';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_ville_partenairesimg';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'label' => 'title',
|
||||
'formatter' => 'image',
|
||||
'delta_limit' => '0',
|
||||
'delta_offset' => '0',
|
||||
'delta_reversed' => 0,
|
||||
'formatter_settings' => array(
|
||||
'image_style' => '',
|
||||
'image_link' => '',
|
||||
),
|
||||
'context' => 'argument_entity_id:node_1',
|
||||
'override_title' => 1,
|
||||
'override_title_text' => 'Partenaires',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'accordion-h2-ville-partenaires',
|
||||
'css_class' => 'accordion-h2-ex accordion-h2-panel',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 2;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '80da3ac7-1847-46ac-a958-ce6eec560906';
|
||||
$display->content['new-80da3ac7-1847-46ac-a958-ce6eec560906'] = $pane;
|
||||
$display->panels['right'][2] = 'new-80da3ac7-1847-46ac-a958-ce6eec560906';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-7189d45f-6e1c-4fdf-9918-d16b4faa24a8';
|
||||
$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 = 3;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '7189d45f-6e1c-4fdf-9918-d16b4faa24a8';
|
||||
$display->content['new-7189d45f-6e1c-4fdf-9918-d16b4faa24a8'] = $pane;
|
||||
$display->panels['right'][3] = 'new-7189d45f-6e1c-4fdf-9918-d16b4faa24a8';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-beaed20f-342d-4553-ad2e-9527df2d46e1';
|
||||
$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 = 4;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = 'beaed20f-342d-4553-ad2e-9527df2d46e1';
|
||||
$display->content['new-beaed20f-342d-4553-ad2e-9527df2d46e1'] = $pane;
|
||||
$display->panels['right'][4] = 'new-beaed20f-342d-4553-ad2e-9527df2d46e1';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-c976aec7-6650-4c5c-bb9c-4a44e7872566';
|
||||
$pane->panel = 'top';
|
||||
$pane->type = 'node_links';
|
||||
$pane->subtype = 'node_links';
|
||||
$pane->shown = FALSE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'override_title' => 0,
|
||||
'override_title_text' => '',
|
||||
'build_mode' => 'full',
|
||||
'identifier' => '',
|
||||
'link' => 1,
|
||||
'context' => 'argument_entity_id:node_1',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => '',
|
||||
'css_class' => 'admin-add-item',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = 'c976aec7-6650-4c5c-bb9c-4a44e7872566';
|
||||
$display->content['new-c976aec7-6650-4c5c-bb9c-4a44e7872566'] = $pane;
|
||||
$display->panels['top'][0] = 'new-c976aec7-6650-4c5c-bb9c-4a44e7872566';
|
||||
$display->hide_title = PANELS_TITLE_FIXED;
|
||||
$display->title_pane = '0';
|
||||
$handler->conf['display'] = $display;
|
||||
|
@@ -34,6 +34,9 @@ function popsu_villes_strongarm() {
|
||||
'token' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
'diff_standard' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
),
|
||||
'extra_fields' => array(
|
||||
'form' => array(
|
||||
@@ -97,5 +100,15 @@ function popsu_villes_strongarm() {
|
||||
$strongarm->value = 0;
|
||||
$export['node_submitted_popsu_ville'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'xmlsitemap_settings_node_popsu_ville';
|
||||
$strongarm->value = array(
|
||||
'status' => '1',
|
||||
'priority' => '0.8',
|
||||
);
|
||||
$export['xmlsitemap_settings_node_popsu_ville'] = $strongarm;
|
||||
|
||||
return $export;
|
||||
}
|
||||
|
@@ -66,13 +66,11 @@ function popsu_villes_views_default_views() {
|
||||
$handler = $view->new_display('page', 'Page', 'page_1');
|
||||
$handler->display->display_options['defaults']['title'] = FALSE;
|
||||
$handler->display->display_options['title'] = 'Villes';
|
||||
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
|
||||
$handler->display->display_options['path'] = 'villes';
|
||||
|
||||
/* Display: Villes par POPSU Pane */
|
||||
$handler = $view->new_display('panel_pane', 'Villes par POPSU Pane', 'panel_pane_1');
|
||||
$handler->display->display_options['defaults']['css_class'] = FALSE;
|
||||
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
|
||||
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
|
||||
$handler->display->display_options['style_plugin'] = 'list';
|
||||
$handler->display->display_options['style_options']['row_class'] = 'span2';
|
||||
@@ -141,7 +139,6 @@ function popsu_villes_views_default_views() {
|
||||
/* Display: Villes par ThemeTrans Pane */
|
||||
$handler = $view->new_display('panel_pane', 'Villes par ThemeTrans Pane', 'panel_pane_2');
|
||||
$handler->display->display_options['defaults']['css_class'] = FALSE;
|
||||
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
|
||||
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
|
||||
$handler->display->display_options['style_plugin'] = 'list';
|
||||
$handler->display->display_options['style_options']['row_class'] = 'span2';
|
||||
|
Reference in New Issue
Block a user