big update
This commit is contained in:
@@ -1,426 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_actualites.features.field.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_field_default_fields().
|
||||
*/
|
||||
function popsu_actualites_field_default_fields() {
|
||||
$fields = array();
|
||||
|
||||
// Exported field: 'node-popsu_actu-field_popsu_actu_body'.
|
||||
$fields['node-popsu_actu-field_popsu_actu_body'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_actu_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_actu',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'above',
|
||||
'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_actu_body',
|
||||
'label' => 'Texte de l\'actualité',
|
||||
'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' => '12',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field: 'node-popsu_actu-field_popsu_actu_date'.
|
||||
$fields['node-popsu_actu-field_popsu_actu_date'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_actu_date',
|
||||
'foreign keys' => array(),
|
||||
'indexes' => array(),
|
||||
'locked' => '0',
|
||||
'module' => 'date',
|
||||
'settings' => array(
|
||||
'cache_count' => '4',
|
||||
'cache_enabled' => 0,
|
||||
'granularity' => array(
|
||||
'day' => 'day',
|
||||
'hour' => 0,
|
||||
'minute' => 0,
|
||||
'month' => 'month',
|
||||
'second' => 0,
|
||||
'year' => 'year',
|
||||
),
|
||||
'timezone_db' => '',
|
||||
'todate' => '',
|
||||
'tz_handling' => 'none',
|
||||
),
|
||||
'translatable' => '0',
|
||||
'type' => 'datetime',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'popsu_actu',
|
||||
'deleted' => '0',
|
||||
'description' => 'Si vous souhaitez retarder la publication de cette actualité, choisissez une date dans le futur.',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'above',
|
||||
'module' => 'date',
|
||||
'settings' => array(
|
||||
'format_type' => 'long',
|
||||
'fromto' => 'both',
|
||||
'multiple_from' => '',
|
||||
'multiple_number' => '',
|
||||
'multiple_to' => '',
|
||||
),
|
||||
'type' => 'date_default',
|
||||
'weight' => 2,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_actu_date',
|
||||
'label' => 'Date de début de publication de l\'actualité sur la page d\'accueil',
|
||||
'required' => 1,
|
||||
'settings' => array(
|
||||
'default_value' => 'now',
|
||||
'default_value2' => 'same',
|
||||
'default_value_code' => '',
|
||||
'default_value_code2' => '',
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'date',
|
||||
'settings' => array(
|
||||
'increment' => '15',
|
||||
'input_format' => 'd/m/Y - H:i:s',
|
||||
'input_format_custom' => '',
|
||||
'label_position' => 'above',
|
||||
'text_parts' => array(),
|
||||
'year_range' => '-3:+3',
|
||||
),
|
||||
'type' => 'date_popup',
|
||||
'weight' => '8',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field: 'node-popsu_actu-field_popsu_actu_date_fin'.
|
||||
$fields['node-popsu_actu-field_popsu_actu_date_fin'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_actu_date_fin',
|
||||
'foreign keys' => array(),
|
||||
'indexes' => array(),
|
||||
'locked' => '0',
|
||||
'module' => 'date',
|
||||
'settings' => array(
|
||||
'cache_count' => '4',
|
||||
'cache_enabled' => 0,
|
||||
'granularity' => array(
|
||||
'day' => 'day',
|
||||
'hour' => 0,
|
||||
'minute' => 0,
|
||||
'month' => 'month',
|
||||
'second' => 0,
|
||||
'year' => 'year',
|
||||
),
|
||||
'timezone_db' => '',
|
||||
'todate' => '',
|
||||
'tz_handling' => 'none',
|
||||
),
|
||||
'translatable' => '0',
|
||||
'type' => 'datetime',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'popsu_actu',
|
||||
'deleted' => '0',
|
||||
'description' => 'Par défaut, les actualités restent 30 jours sur la page d\'accueil. Si vous souhaitez rallonger ce délai, modifier cette date.',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'above',
|
||||
'module' => 'date',
|
||||
'settings' => array(
|
||||
'format_type' => 'long',
|
||||
'fromto' => 'both',
|
||||
'multiple_from' => '',
|
||||
'multiple_number' => '',
|
||||
'multiple_to' => '',
|
||||
),
|
||||
'type' => 'date_default',
|
||||
'weight' => 5,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_actu_date_fin',
|
||||
'label' => 'Date de fin de publication de l\'actualité sur la page d\'accueil',
|
||||
'required' => 1,
|
||||
'settings' => array(
|
||||
'default_value' => 'strtotime',
|
||||
'default_value2' => 'same',
|
||||
'default_value_code' => '+ 30 days',
|
||||
'default_value_code2' => '',
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'date',
|
||||
'settings' => array(
|
||||
'increment' => '15',
|
||||
'input_format' => 'd/m/Y - H:i:s',
|
||||
'input_format_custom' => '',
|
||||
'label_position' => 'above',
|
||||
'text_parts' => array(),
|
||||
'year_range' => '-3:+3',
|
||||
),
|
||||
'type' => 'date_popup',
|
||||
'weight' => '9',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field: 'node-popsu_actu-field_popsu_actu_image'.
|
||||
$fields['node-popsu_actu-field_popsu_actu_image'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_actu_image',
|
||||
'foreign keys' => array(
|
||||
'fid' => array(
|
||||
'columns' => array(
|
||||
'fid' => 'fid',
|
||||
),
|
||||
'table' => 'file_managed',
|
||||
),
|
||||
),
|
||||
'indexes' => array(
|
||||
'fid' => array(
|
||||
0 => 'fid',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'module' => 'image',
|
||||
'settings' => array(
|
||||
'default_image' => 0,
|
||||
'uri_scheme' => 'public',
|
||||
),
|
||||
'translatable' => '0',
|
||||
'type' => 'image',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'popsu_actu',
|
||||
'deleted' => '0',
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'above',
|
||||
'module' => 'image',
|
||||
'settings' => array(
|
||||
'image_link' => '',
|
||||
'image_style' => '',
|
||||
),
|
||||
'type' => 'image',
|
||||
'weight' => 3,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_actu_image',
|
||||
'label' => 'Image de l\'actualité',
|
||||
'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]/image',
|
||||
),
|
||||
'retroactive_update' => 0,
|
||||
),
|
||||
'max_filesize' => '',
|
||||
'max_resolution' => '',
|
||||
'min_resolution' => '',
|
||||
'title_field' => 1,
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'image',
|
||||
'settings' => array(
|
||||
'preview_image_style' => 'thumbnail',
|
||||
'progress_indicator' => 'throbber',
|
||||
),
|
||||
'type' => 'image_image',
|
||||
'weight' => '4',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field: 'node-popsu_actu-field_popsu_actu_soustitre'.
|
||||
$fields['node-popsu_actu-field_popsu_actu_soustitre'] = array(
|
||||
'field_config' => array(
|
||||
'active' => '1',
|
||||
'cardinality' => '1',
|
||||
'deleted' => '0',
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_actu_soustitre',
|
||||
'foreign keys' => array(
|
||||
'format' => array(
|
||||
'columns' => array(
|
||||
'format' => 'format',
|
||||
),
|
||||
'table' => 'filter_format',
|
||||
),
|
||||
),
|
||||
'indexes' => array(
|
||||
'format' => array(
|
||||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => '0',
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'max_length' => '255',
|
||||
),
|
||||
'translatable' => '0',
|
||||
'type' => 'text',
|
||||
),
|
||||
'field_instance' => array(
|
||||
'bundle' => 'popsu_actu',
|
||||
'default_value' => NULL,
|
||||
'deleted' => '0',
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'above',
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'type' => 'text_default',
|
||||
'weight' => 4,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_actu_soustitre',
|
||||
'label' => 'Sous-titre de l\'actualité',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'text_processing' => '0',
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'size' => '60',
|
||||
),
|
||||
'type' => 'text_textfield',
|
||||
'weight' => '7',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Date de début de publication de l\'actualité sur la page d\'accueil');
|
||||
t('Date de fin de publication de l\'actualité sur la page d\'accueil');
|
||||
t('Image de l\'actualité');
|
||||
t('Par défaut, les actualités restent 30 jours sur la page d\'accueil. Si vous souhaitez rallonger ce délai, modifier cette date.');
|
||||
t('Si vous souhaitez retarder la publication de cette actualité, choisissez une date dans le futur.');
|
||||
t('Sous-titre de l\'actualité');
|
||||
t('Texte de l\'actualité');
|
||||
|
||||
return $fields;
|
||||
}
|
@@ -0,0 +1,182 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_actualites.features.field_base.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_field_default_field_bases().
|
||||
*/
|
||||
function popsu_actualites_field_default_field_bases() {
|
||||
$field_bases = array();
|
||||
|
||||
// Exported field_base: 'field_popsu_actu_attachment'.
|
||||
$field_bases['field_popsu_actu_attachment'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => -1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_actu_attachment',
|
||||
'indexes' => array(
|
||||
'fid' => array(
|
||||
0 => 'fid',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'file',
|
||||
'settings' => array(
|
||||
'display_default' => 0,
|
||||
'display_field' => 0,
|
||||
'uri_scheme' => 'public',
|
||||
),
|
||||
'translatable' => 0,
|
||||
'type' => 'file',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_popsu_actu_body'.
|
||||
$field_bases['field_popsu_actu_body'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_actu_body',
|
||||
'indexes' => array(
|
||||
'format' => array(
|
||||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'translatable' => 0,
|
||||
'type' => 'text_with_summary',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_popsu_actu_date'.
|
||||
$field_bases['field_popsu_actu_date'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_actu_date',
|
||||
'indexes' => array(),
|
||||
'locked' => 0,
|
||||
'module' => 'date',
|
||||
'settings' => array(
|
||||
'cache_count' => 4,
|
||||
'cache_enabled' => 0,
|
||||
'granularity' => array(
|
||||
'day' => 'day',
|
||||
'hour' => 0,
|
||||
'minute' => 0,
|
||||
'month' => 'month',
|
||||
'second' => 0,
|
||||
'year' => 'year',
|
||||
),
|
||||
'timezone_db' => '',
|
||||
'todate' => '',
|
||||
'tz_handling' => 'none',
|
||||
),
|
||||
'translatable' => 0,
|
||||
'type' => 'datetime',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_popsu_actu_date_fin'.
|
||||
$field_bases['field_popsu_actu_date_fin'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_actu_date_fin',
|
||||
'indexes' => array(),
|
||||
'locked' => 0,
|
||||
'module' => 'date',
|
||||
'settings' => array(
|
||||
'cache_count' => 4,
|
||||
'cache_enabled' => 0,
|
||||
'granularity' => array(
|
||||
'day' => 'day',
|
||||
'hour' => 0,
|
||||
'minute' => 0,
|
||||
'month' => 'month',
|
||||
'second' => 0,
|
||||
'year' => 'year',
|
||||
),
|
||||
'timezone_db' => '',
|
||||
'todate' => '',
|
||||
'tz_handling' => 'none',
|
||||
),
|
||||
'translatable' => 0,
|
||||
'type' => 'datetime',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_popsu_actu_enhome'.
|
||||
$field_bases['field_popsu_actu_enhome'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_actu_enhome',
|
||||
'indexes' => array(
|
||||
'value' => array(
|
||||
0 => 'value',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'list',
|
||||
'settings' => array(
|
||||
'allowed_values' => array(
|
||||
0 => '',
|
||||
1 => 'Publié sur la page d\'accueil',
|
||||
),
|
||||
'allowed_values_function' => '',
|
||||
),
|
||||
'translatable' => 0,
|
||||
'type' => 'list_boolean',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_popsu_actu_image'.
|
||||
$field_bases['field_popsu_actu_image'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_actu_image',
|
||||
'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_actu_soustitre'.
|
||||
$field_bases['field_popsu_actu_soustitre'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_popsu_actu_soustitre',
|
||||
'indexes' => array(
|
||||
'format' => array(
|
||||
0 => 'format',
|
||||
),
|
||||
),
|
||||
'locked' => 0,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'max_length' => 255,
|
||||
),
|
||||
'translatable' => 0,
|
||||
'type' => 'text',
|
||||
);
|
||||
|
||||
return $field_bases;
|
||||
}
|
@@ -0,0 +1,404 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* popsu_actualites.features.field_instance.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_field_default_field_instances().
|
||||
*/
|
||||
function popsu_actualites_field_default_field_instances() {
|
||||
$field_instances = array();
|
||||
|
||||
// Exported field_instance: 'node-popsu_actu-field_popsu_actu_attachment'.
|
||||
$field_instances['node-popsu_actu-field_popsu_actu_attachment'] = array(
|
||||
'bundle' => 'popsu_actu',
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'above',
|
||||
'module' => 'file',
|
||||
'settings' => array(),
|
||||
'type' => 'file_default',
|
||||
'weight' => 6,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_actu_attachment',
|
||||
'label' => 'Pièces jointes à cette actualité',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'description_field' => 1,
|
||||
'file_directory' => '',
|
||||
'file_extensions' => 'txt pdf zip rar xls doc xlsx docx ppt pptx',
|
||||
'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]/files',
|
||||
),
|
||||
'retroactive_update' => 0,
|
||||
),
|
||||
'max_filesize' => '',
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'file',
|
||||
'settings' => array(
|
||||
'insert' => 0,
|
||||
'insert_absolute' => FALSE,
|
||||
'insert_class' => '',
|
||||
'insert_default' => array(
|
||||
0 => 'auto',
|
||||
),
|
||||
'insert_styles' => array(
|
||||
0 => 'auto',
|
||||
),
|
||||
'insert_width' => '',
|
||||
'progress_indicator' => 'bar',
|
||||
),
|
||||
'type' => 'file_generic',
|
||||
'weight' => 3,
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance: 'node-popsu_actu-field_popsu_actu_body'.
|
||||
$field_instances['node-popsu_actu-field_popsu_actu_body'] = array(
|
||||
'bundle' => 'popsu_actu',
|
||||
'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_actu_body',
|
||||
'label' => 'Texte de l\'actualité',
|
||||
'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' => 12,
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance: 'node-popsu_actu-field_popsu_actu_date'.
|
||||
$field_instances['node-popsu_actu-field_popsu_actu_date'] = array(
|
||||
'bundle' => 'popsu_actu',
|
||||
'deleted' => 0,
|
||||
'description' => 'Si vous souhaitez retarder la publication de cette actualité, choisissez une date dans le futur.',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
'module' => 'date',
|
||||
'settings' => array(
|
||||
'format_type' => 'long',
|
||||
'fromto' => 'both',
|
||||
'multiple_from' => '',
|
||||
'multiple_number' => '',
|
||||
'multiple_to' => '',
|
||||
),
|
||||
'type' => 'date_default',
|
||||
'weight' => 2,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_actu_date',
|
||||
'label' => 'Date de début de validité de l\'actualité',
|
||||
'required' => 1,
|
||||
'settings' => array(
|
||||
'default_value' => 'now',
|
||||
'default_value2' => 'same',
|
||||
'default_value_code' => '',
|
||||
'default_value_code2' => '',
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'date',
|
||||
'settings' => array(
|
||||
'increment' => 15,
|
||||
'input_format' => 'd/m/Y - H:i:s',
|
||||
'input_format_custom' => '',
|
||||
'label_position' => 'above',
|
||||
'text_parts' => array(),
|
||||
'year_range' => '-3:+3',
|
||||
),
|
||||
'type' => 'date_popup',
|
||||
'weight' => 9,
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance: 'node-popsu_actu-field_popsu_actu_date_fin'.
|
||||
$field_instances['node-popsu_actu-field_popsu_actu_date_fin'] = array(
|
||||
'bundle' => 'popsu_actu',
|
||||
'deleted' => 0,
|
||||
'description' => 'Par défaut, les actualités restent 30 jours sur la page d\'accueil. Si vous souhaitez rallonger ce délai, modifier cette date.',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
'module' => 'date',
|
||||
'settings' => array(
|
||||
'format_type' => 'long',
|
||||
'fromto' => 'both',
|
||||
'multiple_from' => '',
|
||||
'multiple_number' => '',
|
||||
'multiple_to' => '',
|
||||
),
|
||||
'type' => 'date_default',
|
||||
'weight' => 5,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_actu_date_fin',
|
||||
'label' => 'Date de fin de validité de l\'actualité',
|
||||
'required' => 1,
|
||||
'settings' => array(
|
||||
'default_value' => 'strtotime',
|
||||
'default_value2' => 'same',
|
||||
'default_value_code' => '+ 30 days',
|
||||
'default_value_code2' => '',
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'date',
|
||||
'settings' => array(
|
||||
'increment' => 15,
|
||||
'input_format' => 'd/m/Y - H:i:s',
|
||||
'input_format_custom' => '',
|
||||
'label_position' => 'above',
|
||||
'text_parts' => array(),
|
||||
'year_range' => '-3:+3',
|
||||
),
|
||||
'type' => 'date_popup',
|
||||
'weight' => 10,
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance: 'node-popsu_actu-field_popsu_actu_enhome'.
|
||||
$field_instances['node-popsu_actu-field_popsu_actu_enhome'] = array(
|
||||
'bundle' => 'popsu_actu',
|
||||
'default_value' => array(
|
||||
0 => array(
|
||||
'value' => 1,
|
||||
),
|
||||
),
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 7,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_actu_enhome',
|
||||
'label' => 'Publier sur la page d\'accueil',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'options',
|
||||
'settings' => array(
|
||||
'display_label' => 0,
|
||||
),
|
||||
'type' => 'options_onoff',
|
||||
'weight' => 8,
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance: 'node-popsu_actu-field_popsu_actu_image'.
|
||||
$field_instances['node-popsu_actu-field_popsu_actu_image'] = array(
|
||||
'bundle' => 'popsu_actu',
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
'module' => 'image',
|
||||
'settings' => array(
|
||||
'image_link' => '',
|
||||
'image_style' => '',
|
||||
),
|
||||
'type' => 'image',
|
||||
'weight' => 3,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_actu_image',
|
||||
'label' => 'Image de l\'actualité',
|
||||
'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]/image',
|
||||
),
|
||||
'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' => 4,
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance: 'node-popsu_actu-field_popsu_actu_soustitre'.
|
||||
$field_instances['node-popsu_actu-field_popsu_actu_soustitre'] = array(
|
||||
'bundle' => 'popsu_actu',
|
||||
'default_value' => NULL,
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'hidden',
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'type' => 'text_default',
|
||||
'weight' => 4,
|
||||
),
|
||||
'teaser' => array(
|
||||
'label' => 'above',
|
||||
'settings' => array(),
|
||||
'type' => 'hidden',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'node',
|
||||
'field_name' => 'field_popsu_actu_soustitre',
|
||||
'label' => 'Sous-titre de l\'actualité',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'text_processing' => 0,
|
||||
'user_register_form' => FALSE,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'size' => 60,
|
||||
),
|
||||
'type' => 'text_textfield',
|
||||
'weight' => 7,
|
||||
),
|
||||
);
|
||||
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Date de début de validité de l\'actualité');
|
||||
t('Date de fin de validité de l\'actualité');
|
||||
t('Image de l\'actualité');
|
||||
t('Par défaut, les actualités restent 30 jours sur la page d\'accueil. Si vous souhaitez rallonger ce délai, modifier cette date.');
|
||||
t('Pièces jointes à cette actualité');
|
||||
t('Publier sur la page d\'accueil');
|
||||
t('Si vous souhaitez retarder la publication de cette actualité, choisissez une date dans le futur.');
|
||||
t('Sous-titre de l\'actualité');
|
||||
t('Texte de l\'actualité');
|
||||
|
||||
return $field_instances;
|
||||
}
|
@@ -4,45 +4,22 @@
|
||||
* popsu_actualites.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_block_class_features_default_class().
|
||||
*/
|
||||
function popsu_actualites_block_class_features_default_class() {
|
||||
return array(
|
||||
'views:actualites-block_1' => array(
|
||||
'module' => 'views',
|
||||
'delta' => 'actualites-block_1',
|
||||
'css_classes' => 'left-nav-level-1',
|
||||
),
|
||||
'views:actualites-block_2' => array(
|
||||
'module' => 'views',
|
||||
'delta' => 'actualites-block_2',
|
||||
'css_classes' => 'left-nav-level-1',
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_ctools_plugin_api().
|
||||
*/
|
||||
function popsu_actualites_ctools_plugin_api() {
|
||||
list($module, $api) = func_get_args();
|
||||
function popsu_actualites_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");
|
||||
}
|
||||
@@ -51,8 +28,8 @@ function popsu_actualites_ctools_plugin_api() {
|
||||
/**
|
||||
* Implements hook_views_api().
|
||||
*/
|
||||
function popsu_actualites_views_api() {
|
||||
return array("version" => "3.0");
|
||||
function popsu_actualites_views_api($module = NULL, $api = NULL) {
|
||||
return array("api" => "3.0");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -63,44 +40,30 @@ function popsu_actualites_image_default_styles() {
|
||||
|
||||
// Exported image style: popsu-actu-home.
|
||||
$styles['popsu-actu-home'] = array(
|
||||
'name' => 'popsu-actu-home',
|
||||
'label' => 'popsu-actu-home',
|
||||
'effects' => array(
|
||||
15 => 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' => '206',
|
||||
'height' => '156',
|
||||
'width' => 206,
|
||||
'height' => 156,
|
||||
),
|
||||
'weight' => '1',
|
||||
'weight' => 1,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
// Exported image style: popsu-actu-listing.
|
||||
$styles['popsu-actu-listing'] = array(
|
||||
'name' => 'popsu-actu-listing',
|
||||
'label' => 'popsu-actu-listing',
|
||||
'effects' => array(
|
||||
16 => 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' => '220',
|
||||
'height' => '168',
|
||||
'width' => 220,
|
||||
'height' => 168,
|
||||
),
|
||||
'weight' => '1',
|
||||
'weight' => 1,
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -122,5 +85,6 @@ function popsu_actualites_node_info() {
|
||||
'help' => '',
|
||||
),
|
||||
);
|
||||
drupal_alter('node_info', $items);
|
||||
return $items;
|
||||
}
|
||||
|
@@ -26,7 +26,8 @@ function popsu_actualites_field_group_info() {
|
||||
0 => 'field_popsu_actu_date',
|
||||
1 => 'field_popsu_actu_soustitre',
|
||||
2 => 'field_popsu_actu_date_fin',
|
||||
3 => 'title',
|
||||
3 => 'field_popsu_actu_enhome',
|
||||
4 => 'title',
|
||||
),
|
||||
'format_type' => 'tab',
|
||||
'format_settings' => array(
|
||||
@@ -51,7 +52,7 @@ function popsu_actualites_field_group_info() {
|
||||
$field_group->parent_name = '';
|
||||
$field_group->data = array(
|
||||
'label' => 'Image',
|
||||
'weight' => '2',
|
||||
'weight' => '4',
|
||||
'children' => array(
|
||||
0 => 'field_popsu_actu_image',
|
||||
),
|
||||
|
@@ -2,21 +2,17 @@ name = POPSU Actualités
|
||||
description = POPSU - Type de contenu Colloques
|
||||
core = 7.x
|
||||
package = POPSU
|
||||
php = 5.2.4
|
||||
version = 7.x-1.0-beta10
|
||||
project = popsu_actualites
|
||||
dependencies[] = ctools
|
||||
dependencies[] = date
|
||||
dependencies[] = field_group
|
||||
dependencies[] = filefield_paths
|
||||
dependencies[] = image
|
||||
dependencies[] = list
|
||||
dependencies[] = page_manager
|
||||
dependencies[] = popsu_structure
|
||||
dependencies[] = strongarm
|
||||
dependencies[] = views
|
||||
dependencies[] = views_content
|
||||
features[block_class][] = views:actualites-block_1
|
||||
features[block_class][] = views:actualites-block_2
|
||||
features[box][] = popsu_logo_popsuneutral
|
||||
features[context][] = popsu-actualites-listing
|
||||
features[context][] = popsu-actualites-node
|
||||
@@ -27,15 +23,24 @@ 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_actu-field_popsu_actu_body
|
||||
features[field][] = node-popsu_actu-field_popsu_actu_date
|
||||
features[field][] = node-popsu_actu-field_popsu_actu_date_fin
|
||||
features[field][] = node-popsu_actu-field_popsu_actu_image
|
||||
features[field][] = node-popsu_actu-field_popsu_actu_soustitre
|
||||
features[features_api][] = api:2
|
||||
features[field_base][] = field_popsu_actu_attachment
|
||||
features[field_base][] = field_popsu_actu_body
|
||||
features[field_base][] = field_popsu_actu_date
|
||||
features[field_base][] = field_popsu_actu_date_fin
|
||||
features[field_base][] = field_popsu_actu_enhome
|
||||
features[field_base][] = field_popsu_actu_image
|
||||
features[field_base][] = field_popsu_actu_soustitre
|
||||
features[field_group][] = group_popsu_actu_basic|node|popsu_actu|form
|
||||
features[field_group][] = group_popsu_actu_image|node|popsu_actu|form
|
||||
features[field_group][] = group_popsu_actu_texte|node|popsu_actu|form
|
||||
features[field_instance][] = node-popsu_actu-field_popsu_actu_attachment
|
||||
features[field_instance][] = node-popsu_actu-field_popsu_actu_body
|
||||
features[field_instance][] = node-popsu_actu-field_popsu_actu_date
|
||||
features[field_instance][] = node-popsu_actu-field_popsu_actu_date_fin
|
||||
features[field_instance][] = node-popsu_actu-field_popsu_actu_enhome
|
||||
features[field_instance][] = node-popsu_actu-field_popsu_actu_image
|
||||
features[field_instance][] = node-popsu_actu-field_popsu_actu_soustitre
|
||||
features[image][] = popsu-actu-home
|
||||
features[image][] = popsu-actu-listing
|
||||
features[node][] = popsu_actu
|
||||
@@ -56,4 +61,7 @@ features[variable][] = page_title_type_popsu_actu
|
||||
features[variable][] = page_title_type_popsu_actu_showfield
|
||||
features[variable][] = pathauto_node_popsu_actu_pattern
|
||||
features[variable][] = publishcontent_popsu_actu
|
||||
features[variable][] = xmlsitemap_settings_node_popsu_actu
|
||||
features[views_view][] = actualites
|
||||
features_exclude[dependencies][views] = views
|
||||
features_exclude[dependencies][panels] = panels
|
||||
|
@@ -61,230 +61,241 @@ function popsu_actualites_default_page_manager_handlers() {
|
||||
);
|
||||
$display->cache = array();
|
||||
$display->title = '';
|
||||
$display->uuid = 'd0d44175-6be3-49eb-957a-3bd9b1d9c38c';
|
||||
$display->storage_type = 'page_manager';
|
||||
$display->storage_id = 'node_view_panel_context_12';
|
||||
$display->content = array();
|
||||
$display->panels = array();
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-1';
|
||||
$pane->panel = 'footer';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_actu_soustitre';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'label' => 'title',
|
||||
'formatter' => 'text_default',
|
||||
'delta_limit' => 0,
|
||||
'delta_offset' => '0',
|
||||
'delta_reversed' => FALSE,
|
||||
'formatter_settings' => array(),
|
||||
'context' => 'argument_entity_id:node_1',
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '<none>',
|
||||
);
|
||||
$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 = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_actu_date';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'label' => 'title',
|
||||
'formatter' => 'date_default',
|
||||
'delta_limit' => 0,
|
||||
'delta_offset' => '0',
|
||||
'delta_reversed' => FALSE,
|
||||
'formatter_settings' => array(
|
||||
'format_type' => 'popsu_yyyy_mm_dd',
|
||||
'multiple_number' => '',
|
||||
'multiple_from' => '',
|
||||
'multiple_to' => '',
|
||||
'fromto' => 'both',
|
||||
),
|
||||
'context' => 'argument_entity_id:node_1',
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '<none>',
|
||||
);
|
||||
$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 = 'footer';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_actu_body';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'label' => 'title',
|
||||
'formatter' => 'text_default',
|
||||
'delta_limit' => 0,
|
||||
'delta_offset' => '0',
|
||||
'delta_reversed' => FALSE,
|
||||
'formatter_settings' => array(),
|
||||
'context' => 'argument_entity_id:node_1',
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '<none>',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => '',
|
||||
'css_class' => 'layout-64p',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 2;
|
||||
$pane->locks = array();
|
||||
$display->content['new-3'] = $pane;
|
||||
$display->panels['footer'][2] = 'new-3';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-4';
|
||||
$pane->panel = 'footer';
|
||||
$pane->type = 'views_panes';
|
||||
$pane->subtype = 'actualites-panel_pane_2';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'arguments' => array(
|
||||
'nid' => '%node:nid',
|
||||
),
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 3;
|
||||
$pane->locks = array();
|
||||
$display->content['new-4'] = $pane;
|
||||
$display->panels['footer'][3] = 'new-4';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-5';
|
||||
$pane->panel = 'footer';
|
||||
$pane->type = 'views_panes';
|
||||
$pane->subtype = 'actualites-panel_pane_3';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'arguments' => array(
|
||||
'nid' => '%node:nid',
|
||||
),
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 4;
|
||||
$pane->locks = array();
|
||||
$display->content['new-5'] = $pane;
|
||||
$display->panels['footer'][4] = 'new-5';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-6';
|
||||
$pane->panel = 'header';
|
||||
$pane->type = 'custom';
|
||||
$pane->subtype = 'custom';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'admin_title' => 'Actualités - Titre - A venir ou passées',
|
||||
'title' => '<none>',
|
||||
'body' => '<h1 id="page-title" class="title-actu title-a-venir">Actualites a venir</h1>
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-e40cf02e-a1a8-479b-a6e3-1bdba41e02f0';
|
||||
$pane->panel = 'footer';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_actu_soustitre';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'label' => 'title',
|
||||
'formatter' => 'text_default',
|
||||
'delta_limit' => 0,
|
||||
'delta_offset' => '0',
|
||||
'delta_reversed' => FALSE,
|
||||
'formatter_settings' => array(),
|
||||
'context' => 'argument_entity_id:node_1',
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '<none>',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = 'e40cf02e-a1a8-479b-a6e3-1bdba41e02f0';
|
||||
$display->content['new-e40cf02e-a1a8-479b-a6e3-1bdba41e02f0'] = $pane;
|
||||
$display->panels['footer'][0] = 'new-e40cf02e-a1a8-479b-a6e3-1bdba41e02f0';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-023bb002-6c73-45e4-8300-ebf1bb78fc6e';
|
||||
$pane->panel = 'footer';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_actu_date';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'label' => 'title',
|
||||
'formatter' => 'date_default',
|
||||
'delta_limit' => 0,
|
||||
'delta_offset' => '0',
|
||||
'delta_reversed' => FALSE,
|
||||
'formatter_settings' => array(
|
||||
'format_type' => 'popsu_yyyy_mm_dd',
|
||||
'multiple_number' => '',
|
||||
'multiple_from' => '',
|
||||
'multiple_to' => '',
|
||||
'fromto' => 'both',
|
||||
),
|
||||
'context' => 'argument_entity_id:node_1',
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '<none>',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 1;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '023bb002-6c73-45e4-8300-ebf1bb78fc6e';
|
||||
$display->content['new-023bb002-6c73-45e4-8300-ebf1bb78fc6e'] = $pane;
|
||||
$display->panels['footer'][1] = 'new-023bb002-6c73-45e4-8300-ebf1bb78fc6e';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-87a6bcca-c696-4405-be4b-ed4516cf34a6';
|
||||
$pane->panel = 'footer';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_actu_body';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'label' => 'title',
|
||||
'formatter' => 'text_default',
|
||||
'delta_limit' => 0,
|
||||
'delta_offset' => '0',
|
||||
'delta_reversed' => FALSE,
|
||||
'formatter_settings' => array(),
|
||||
'context' => 'argument_entity_id:node_1',
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '<none>',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => '',
|
||||
'css_class' => 'layout-64p',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 2;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '87a6bcca-c696-4405-be4b-ed4516cf34a6';
|
||||
$display->content['new-87a6bcca-c696-4405-be4b-ed4516cf34a6'] = $pane;
|
||||
$display->panels['footer'][2] = 'new-87a6bcca-c696-4405-be4b-ed4516cf34a6';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-f3d686ff-7c21-413c-ab53-f51c34e5e775';
|
||||
$pane->panel = 'footer';
|
||||
$pane->type = 'views_panes';
|
||||
$pane->subtype = 'actualites-panel_pane_2';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'arguments' => array(
|
||||
'nid' => '%node:nid',
|
||||
),
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 3;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = 'f3d686ff-7c21-413c-ab53-f51c34e5e775';
|
||||
$display->content['new-f3d686ff-7c21-413c-ab53-f51c34e5e775'] = $pane;
|
||||
$display->panels['footer'][3] = 'new-f3d686ff-7c21-413c-ab53-f51c34e5e775';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-fc2a42c0-dd25-4872-8f98-8ae2780e5116';
|
||||
$pane->panel = 'footer';
|
||||
$pane->type = 'views_panes';
|
||||
$pane->subtype = 'actualites-panel_pane_3';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'arguments' => array(
|
||||
'nid' => '%node:nid',
|
||||
),
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 4;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = 'fc2a42c0-dd25-4872-8f98-8ae2780e5116';
|
||||
$display->content['new-fc2a42c0-dd25-4872-8f98-8ae2780e5116'] = $pane;
|
||||
$display->panels['footer'][4] = 'new-fc2a42c0-dd25-4872-8f98-8ae2780e5116';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-9fe66e75-0f7a-497c-9ffc-c21d5bf061c1';
|
||||
$pane->panel = 'header';
|
||||
$pane->type = 'custom';
|
||||
$pane->subtype = 'custom';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'admin_title' => 'Actualités - Titre - A venir ou passées',
|
||||
'title' => '<none>',
|
||||
'body' => '<h1 id="page-title" class="title-actu title-a-venir">Actualites a venir</h1>
|
||||
<h1 id="page-title" class="title-actu title-passees">Actualites passees</h1>',
|
||||
'format' => 'php_code',
|
||||
'substitute' => 1,
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$display->content['new-6'] = $pane;
|
||||
$display->panels['header'][0] = 'new-6';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-7';
|
||||
$pane->panel = 'header';
|
||||
$pane->type = 'node_title';
|
||||
$pane->subtype = 'node_title';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'link' => 0,
|
||||
'context' => 'argument_entity_id:node_1',
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '<none>',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'page-title-secondary-actu',
|
||||
'css_class' => 'page-title-secondary',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 1;
|
||||
$pane->locks = array();
|
||||
$display->content['new-7'] = $pane;
|
||||
$display->panels['header'][1] = 'new-7';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-8';
|
||||
$pane->panel = 'left';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_actu_image';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'label' => 'title',
|
||||
'formatter' => 'image',
|
||||
'delta_limit' => 0,
|
||||
'delta_offset' => '0',
|
||||
'delta_reversed' => FALSE,
|
||||
'formatter_settings' => array(
|
||||
'image_style' => '',
|
||||
'image_link' => '',
|
||||
),
|
||||
'context' => 'argument_entity_id:node_1',
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '<none>',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'panel-actu-grande-image',
|
||||
'css_class' => 'image-decallee',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$display->content['new-8'] = $pane;
|
||||
$display->panels['left'][0] = 'new-8';
|
||||
'format' => 'php_code',
|
||||
'substitute' => 1,
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array();
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '9fe66e75-0f7a-497c-9ffc-c21d5bf061c1';
|
||||
$display->content['new-9fe66e75-0f7a-497c-9ffc-c21d5bf061c1'] = $pane;
|
||||
$display->panels['header'][0] = 'new-9fe66e75-0f7a-497c-9ffc-c21d5bf061c1';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-b0ef292b-5304-47f3-8b50-b3d901e52e00';
|
||||
$pane->panel = 'header';
|
||||
$pane->type = 'node_title';
|
||||
$pane->subtype = 'node_title';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'link' => 0,
|
||||
'context' => 'argument_entity_id:node_1',
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '<none>',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'page-title-secondary-actu',
|
||||
'css_class' => 'page-title-secondary',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 1;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = 'b0ef292b-5304-47f3-8b50-b3d901e52e00';
|
||||
$display->content['new-b0ef292b-5304-47f3-8b50-b3d901e52e00'] = $pane;
|
||||
$display->panels['header'][1] = 'new-b0ef292b-5304-47f3-8b50-b3d901e52e00';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-47e94db5-efe8-4cbc-9eed-ed063d49c319';
|
||||
$pane->panel = 'left';
|
||||
$pane->type = 'entity_field';
|
||||
$pane->subtype = 'node:field_popsu_actu_image';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'label' => 'title',
|
||||
'formatter' => 'image',
|
||||
'delta_limit' => 0,
|
||||
'delta_offset' => '0',
|
||||
'delta_reversed' => FALSE,
|
||||
'formatter_settings' => array(
|
||||
'image_style' => '',
|
||||
'image_link' => '',
|
||||
),
|
||||
'context' => 'argument_entity_id:node_1',
|
||||
'override_title' => 1,
|
||||
'override_title_text' => '<none>',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'panel-actu-grande-image',
|
||||
'css_class' => 'image-decallee',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '47e94db5-efe8-4cbc-9eed-ed063d49c319';
|
||||
$display->content['new-47e94db5-efe8-4cbc-9eed-ed063d49c319'] = $pane;
|
||||
$display->panels['left'][0] = 'new-47e94db5-efe8-4cbc-9eed-ed063d49c319';
|
||||
$display->hide_title = PANELS_TITLE_NONE;
|
||||
$display->title_pane = '0';
|
||||
$handler->conf['display'] = $display;
|
||||
@@ -362,80 +373,85 @@ function popsu_actualites_default_page_manager_pages() {
|
||||
);
|
||||
$display->cache = array();
|
||||
$display->title = 'Actualités, appels d\'offre et consultations';
|
||||
$display->uuid = 'c6b465ec-1b7c-414a-848a-27b5bf692a45';
|
||||
$display->storage_type = 'page_manager';
|
||||
$display->storage_id = 'page_popsu_actualites_panel_context';
|
||||
$display->content = array();
|
||||
$display->panels = array();
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-1';
|
||||
$pane->panel = 'left';
|
||||
$pane->type = 'views';
|
||||
$pane->subtype = 'actualites';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'override_pager_settings' => 0,
|
||||
'use_pager' => 0,
|
||||
'nodes_per_page' => '0',
|
||||
'pager_id' => '0',
|
||||
'offset' => '0',
|
||||
'more_link' => 0,
|
||||
'feed_icons' => 0,
|
||||
'panel_args' => 0,
|
||||
'link_to_view' => 0,
|
||||
'args' => '',
|
||||
'url' => '',
|
||||
'display' => 'block_3',
|
||||
'override_title' => 1,
|
||||
'override_title_text' => 'Actualites a venir',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => '',
|
||||
'css_class' => 'listing-actu listing-actu-avenir',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$display->content['new-1'] = $pane;
|
||||
$display->panels['left'][0] = 'new-1';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-2';
|
||||
$pane->panel = 'left';
|
||||
$pane->type = 'views';
|
||||
$pane->subtype = 'actualites';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'override_pager_settings' => 0,
|
||||
'use_pager' => 0,
|
||||
'nodes_per_page' => '0',
|
||||
'pager_id' => '0',
|
||||
'offset' => '0',
|
||||
'more_link' => 0,
|
||||
'feed_icons' => 0,
|
||||
'panel_args' => 0,
|
||||
'link_to_view' => 0,
|
||||
'args' => '',
|
||||
'url' => '',
|
||||
'display' => 'block_4',
|
||||
'override_title' => 1,
|
||||
'override_title_text' => 'Actualites archivees',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'pane-actu-passees',
|
||||
'css_class' => 'layout-88p listing-actu listing-actu-passe',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 1;
|
||||
$pane->locks = array();
|
||||
$display->content['new-2'] = $pane;
|
||||
$display->panels['left'][1] = 'new-2';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-9871e640-6e35-4ffc-98ee-5ef37753686c';
|
||||
$pane->panel = 'left';
|
||||
$pane->type = 'views';
|
||||
$pane->subtype = 'actualites';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'override_pager_settings' => 0,
|
||||
'use_pager' => 0,
|
||||
'nodes_per_page' => '0',
|
||||
'pager_id' => '0',
|
||||
'offset' => '0',
|
||||
'more_link' => 0,
|
||||
'feed_icons' => 0,
|
||||
'panel_args' => 0,
|
||||
'link_to_view' => 0,
|
||||
'args' => '',
|
||||
'url' => '',
|
||||
'display' => 'block_3',
|
||||
'override_title' => 1,
|
||||
'override_title_text' => 'Actualités',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => '',
|
||||
'css_class' => 'listing-actu listing-actu-avenir',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 0;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '9871e640-6e35-4ffc-98ee-5ef37753686c';
|
||||
$display->content['new-9871e640-6e35-4ffc-98ee-5ef37753686c'] = $pane;
|
||||
$display->panels['left'][0] = 'new-9871e640-6e35-4ffc-98ee-5ef37753686c';
|
||||
$pane = new stdClass();
|
||||
$pane->pid = 'new-43500ad1-83c5-4fe7-9c81-782c0ca4d697';
|
||||
$pane->panel = 'left';
|
||||
$pane->type = 'views';
|
||||
$pane->subtype = 'actualites';
|
||||
$pane->shown = TRUE;
|
||||
$pane->access = array();
|
||||
$pane->configuration = array(
|
||||
'override_pager_settings' => 0,
|
||||
'use_pager' => 0,
|
||||
'nodes_per_page' => '0',
|
||||
'pager_id' => '0',
|
||||
'offset' => '0',
|
||||
'more_link' => 0,
|
||||
'feed_icons' => 0,
|
||||
'panel_args' => 0,
|
||||
'link_to_view' => 0,
|
||||
'args' => '',
|
||||
'url' => '',
|
||||
'display' => 'block_4',
|
||||
'override_title' => 1,
|
||||
'override_title_text' => 'Actualites archivees',
|
||||
);
|
||||
$pane->cache = array();
|
||||
$pane->style = array(
|
||||
'settings' => NULL,
|
||||
);
|
||||
$pane->css = array(
|
||||
'css_id' => 'pane-actu-passees',
|
||||
'css_class' => 'layout-88p listing-actu listing-actu-passe',
|
||||
);
|
||||
$pane->extras = array();
|
||||
$pane->position = 1;
|
||||
$pane->locks = array();
|
||||
$pane->uuid = '43500ad1-83c5-4fe7-9c81-782c0ca4d697';
|
||||
$display->content['new-43500ad1-83c5-4fe7-9c81-782c0ca4d697'] = $pane;
|
||||
$display->panels['left'][1] = 'new-43500ad1-83c5-4fe7-9c81-782c0ca4d697';
|
||||
$display->hide_title = PANELS_TITLE_FIXED;
|
||||
$display->title_pane = '0';
|
||||
$handler->conf['display'] = $display;
|
||||
|
@@ -14,7 +14,7 @@ function popsu_actualites_strongarm() {
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'additional_settings__active_tab_popsu_actu';
|
||||
$strongarm->value = 'edit-page-title';
|
||||
$strongarm->value = 'edit-xmlsitemap';
|
||||
$export['additional_settings__active_tab_popsu_actu'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
@@ -43,14 +43,39 @@ function popsu_actualites_strongarm() {
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'field_bundle_settings_node__popsu_actu';
|
||||
$strongarm->value = array(
|
||||
'view_modes' => 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,
|
||||
),
|
||||
'diff_standard' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
'token' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
),
|
||||
'extra_fields' => array(
|
||||
'form' => array(
|
||||
'title' => array(
|
||||
'weight' => '6',
|
||||
),
|
||||
'path' => array(
|
||||
'weight' => '3',
|
||||
'weight' => '5',
|
||||
),
|
||||
'xmlsitemap' => array(
|
||||
'weight' => '30',
|
||||
),
|
||||
),
|
||||
'display' => array(),
|
||||
@@ -134,5 +159,15 @@ function popsu_actualites_strongarm() {
|
||||
$strongarm->value = 1;
|
||||
$export['publishcontent_popsu_actu'] = $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_actu';
|
||||
$strongarm->value = array(
|
||||
'status' => '1',
|
||||
'priority' => '0.5',
|
||||
);
|
||||
$export['xmlsitemap_settings_node_popsu_actu'] = $strongarm;
|
||||
|
||||
return $export;
|
||||
}
|
||||
|
@@ -85,16 +85,16 @@ function popsu_actualites_views_default_views() {
|
||||
$handler->display->display_options['fields']['field_popsu_actu_soustitre']['label'] = '';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_soustitre']['exclude'] = TRUE;
|
||||
$handler->display->display_options['fields']['field_popsu_actu_soustitre']['alter']['alter_text'] = TRUE;
|
||||
$handler->display->display_options['fields']['field_popsu_actu_soustitre']['alter']['text'] = '[field_popsu_actu_soustitre] - ';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_soustitre']['alter']['text'] = '[field_popsu_actu_soustitre]';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_soustitre']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['fields']['field_popsu_actu_soustitre']['hide_empty'] = TRUE;
|
||||
/* Champ: Contenu : Date de début de publication de l'actualité sur la page d'accueil */
|
||||
/* Champ: Contenu : Date de début de validité de l'actualité */
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date']['id'] = 'field_popsu_actu_date';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date']['table'] = 'field_data_field_popsu_actu_date';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date']['field'] = 'field_popsu_actu_date';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date']['label'] = '';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date']['alter']['alter_text'] = TRUE;
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date']['alter']['text'] = '[field_popsu_actu_soustitre][field_popsu_actu_date]';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date']['alter']['text'] = '[field_popsu_actu_soustitre]';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date']['settings'] = array(
|
||||
'format_type' => 'short',
|
||||
@@ -133,7 +133,7 @@ function popsu_actualites_views_default_views() {
|
||||
$handler->display->display_options['fields']['view_node']['alter']['text'] = '<a href="[path]">voir toutes les actualités</a>';
|
||||
$handler->display->display_options['fields']['view_node']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['fields']['view_node']['text'] = 'voir toutes les actualités';
|
||||
/* Critère de tri: Contenu : Date de début de publication de l'actualité sur la page d'accueil (field_popsu_actu_date) */
|
||||
/* Critère de tri: Contenu : Date de début de validité de l'actualité (field_popsu_actu_date) */
|
||||
$handler->display->display_options['sorts']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
|
||||
$handler->display->display_options['sorts']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
|
||||
$handler->display->display_options['sorts']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
|
||||
@@ -169,7 +169,7 @@ function popsu_actualites_views_default_views() {
|
||||
$handler->display->display_options['pager']['options']['items_per_page'] = '1';
|
||||
$handler->display->display_options['pager']['options']['offset'] = '0';
|
||||
$handler->display->display_options['defaults']['sorts'] = FALSE;
|
||||
/* Critère de tri: Contenu : Date de début de publication de l'actualité sur la page d'accueil (field_popsu_actu_date) */
|
||||
/* Critère de tri: Contenu : Date de début de validité de l'actualité (field_popsu_actu_date) */
|
||||
$handler->display->display_options['sorts']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
|
||||
$handler->display->display_options['sorts']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
|
||||
$handler->display->display_options['sorts']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
|
||||
@@ -189,18 +189,25 @@ function popsu_actualites_views_default_views() {
|
||||
$handler->display->display_options['filters']['type']['value'] = array(
|
||||
'popsu_actu' => 'popsu_actu',
|
||||
);
|
||||
/* Critère de filtrage: Contenu : Date de début de publication de l'actualité sur la page d'accueil (field_popsu_actu_date) */
|
||||
/* Critère de filtrage: Contenu : Date de début de validité de l'actualité (field_popsu_actu_date) */
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['operator'] = '<=';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['default_date'] = 'now';
|
||||
/* Critère de filtrage: Contenu : Date de fin de publication de l'actualité sur la page d'accueil (field_popsu_actu_date_fin) */
|
||||
/* Critère de filtrage: Contenu : Date de fin de validité de l'actualité (field_popsu_actu_date_fin) */
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['id'] = 'field_popsu_actu_date_fin_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['table'] = 'field_data_field_popsu_actu_date_fin';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['field'] = 'field_popsu_actu_date_fin_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['operator'] = '>=';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['default_date'] = 'now';
|
||||
/* Critère de filtrage: Contenu : Publier sur la page d'accueil (field_popsu_actu_enhome) */
|
||||
$handler->display->display_options['filters']['field_popsu_actu_enhome_value']['id'] = 'field_popsu_actu_enhome_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_enhome_value']['table'] = 'field_data_field_popsu_actu_enhome';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_enhome_value']['field'] = 'field_popsu_actu_enhome_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_enhome_value']['value'] = array(
|
||||
1 => '1',
|
||||
);
|
||||
$handler->display->display_options['pane_category']['name'] = 'Volets de vue';
|
||||
$handler->display->display_options['link_to_view'] = '0';
|
||||
|
||||
@@ -238,7 +245,7 @@ function popsu_actualites_views_default_views() {
|
||||
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
|
||||
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['defaults']['sorts'] = FALSE;
|
||||
/* Critère de tri: Contenu : Date de début de publication de l'actualité sur la page d'accueil (field_popsu_actu_date) */
|
||||
/* Critère de tri: Contenu : Date de début de validité de l'actualité (field_popsu_actu_date) */
|
||||
$handler->display->display_options['sorts']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
|
||||
$handler->display->display_options['sorts']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
|
||||
$handler->display->display_options['sorts']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
|
||||
@@ -258,13 +265,13 @@ function popsu_actualites_views_default_views() {
|
||||
$handler->display->display_options['filters']['type']['value'] = array(
|
||||
'popsu_actu' => 'popsu_actu',
|
||||
);
|
||||
/* Critère de filtrage: Contenu : Date de fin de publication de l'actualité sur la page d'accueil (field_popsu_actu_date_fin) */
|
||||
/* Critère de filtrage: Contenu : Date de fin de validité de l'actualité (field_popsu_actu_date_fin) */
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['id'] = 'field_popsu_actu_date_fin_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['table'] = 'field_data_field_popsu_actu_date_fin';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['field'] = 'field_popsu_actu_date_fin_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['operator'] = '>';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['default_date'] = 'now';
|
||||
/* Critère de filtrage: Contenu : Date de début de publication de l'actualité sur la page d'accueil (field_popsu_actu_date) */
|
||||
/* Critère de filtrage: Contenu : Date de début de validité de l'actualité (field_popsu_actu_date) */
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
|
||||
@@ -321,13 +328,13 @@ function popsu_actualites_views_default_views() {
|
||||
$handler->display->display_options['filters']['type']['value'] = array(
|
||||
'popsu_actu' => 'popsu_actu',
|
||||
);
|
||||
/* Critère de filtrage: Contenu : Date de fin de publication de l'actualité sur la page d'accueil (field_popsu_actu_date_fin) */
|
||||
/* Critère de filtrage: Contenu : Date de fin de validité de l'actualité (field_popsu_actu_date_fin) */
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['id'] = 'field_popsu_actu_date_fin_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['table'] = 'field_data_field_popsu_actu_date_fin';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['field'] = 'field_popsu_actu_date_fin_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['operator'] = '<=';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['default_date'] = 'now';
|
||||
/* Critère de filtrage: Contenu : Date de début de publication de l'actualité sur la page d'accueil (field_popsu_actu_date) */
|
||||
/* Critère de filtrage: Contenu : Date de début de validité de l'actualité (field_popsu_actu_date) */
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
|
||||
@@ -458,7 +465,7 @@ display: none;
|
||||
$handler->display->display_options['filters']['type']['value'] = array(
|
||||
'popsu_actu' => 'popsu_actu',
|
||||
);
|
||||
/* Critère de filtrage: Contenu : Date de début de publication de l'actualité sur la page d'accueil (field_popsu_actu_date) */
|
||||
/* Critère de filtrage: Contenu : Date de début de validité de l'actualité (field_popsu_actu_date) */
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
|
||||
@@ -479,7 +486,7 @@ display: none;
|
||||
/* Display: Actualites A venir Block */
|
||||
$handler = $view->new_display('block', 'Actualites A venir Block', 'block_3');
|
||||
$handler->display->display_options['defaults']['title'] = FALSE;
|
||||
$handler->display->display_options['title'] = 'Actualites a venir';
|
||||
$handler->display->display_options['title'] = 'Actualités, appels d\'offre et consultations';
|
||||
$handler->display->display_options['defaults']['css_class'] = FALSE;
|
||||
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
|
||||
$handler->display->display_options['defaults']['pager'] = FALSE;
|
||||
@@ -510,7 +517,7 @@ display: none;
|
||||
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
|
||||
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
|
||||
/* Champ: Contenu : Date de début de publication de l'actualité sur la page d'accueil */
|
||||
/* Champ: Contenu : Date de début de validité de l'actualité */
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date']['id'] = 'field_popsu_actu_date';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date']['table'] = 'field_data_field_popsu_actu_date';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date']['field'] = 'field_popsu_actu_date';
|
||||
@@ -524,7 +531,7 @@ display: none;
|
||||
'multiple_from' => '',
|
||||
'multiple_to' => '',
|
||||
);
|
||||
/* Champ: Contenu : Date de fin de publication de l'actualité sur la page d'accueil */
|
||||
/* Champ: Contenu : Date de fin de validité de l'actualité */
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date_fin']['id'] = 'field_popsu_actu_date_fin';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date_fin']['table'] = 'field_data_field_popsu_actu_date_fin';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date_fin']['field'] = 'field_popsu_actu_date_fin';
|
||||
@@ -549,7 +556,7 @@ display: none;
|
||||
$handler->display->display_options['fields']['field_popsu_actu_soustitre']['field'] = 'field_popsu_actu_soustitre';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_soustitre']['label'] = '';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_soustitre']['alter']['alter_text'] = TRUE;
|
||||
$handler->display->display_options['fields']['field_popsu_actu_soustitre']['alter']['text'] = '[field_popsu_actu_soustitre] - [field_popsu_actu_date_fin]';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_soustitre']['alter']['text'] = '[field_popsu_actu_soustitre]';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_soustitre']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['fields']['field_popsu_actu_soustitre']['empty'] = '[field_popsu_actu_date_fin]';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_soustitre']['hide_empty'] = TRUE;
|
||||
@@ -578,8 +585,33 @@ display: none;
|
||||
'image_style' => 'popsu-actu-listing',
|
||||
'image_link' => '',
|
||||
);
|
||||
/* Champ: Contenu : Pièces jointes à cette actualité */
|
||||
$handler->display->display_options['fields']['field_popsu_actu_attachment']['id'] = 'field_popsu_actu_attachment';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_attachment']['table'] = 'field_data_field_popsu_actu_attachment';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_attachment']['field'] = 'field_popsu_actu_attachment';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_attachment']['label'] = '';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_attachment']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['fields']['field_popsu_actu_attachment']['click_sort_column'] = 'fid';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_attachment']['delta_offset'] = '0';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_attachment']['separator'] = ' ';
|
||||
/* Champ: Contenu : Lien de modification */
|
||||
$handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
|
||||
$handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
|
||||
$handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
|
||||
$handler->display->display_options['fields']['edit_node']['label'] = '';
|
||||
$handler->display->display_options['fields']['edit_node']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['fields']['edit_node']['hide_empty'] = TRUE;
|
||||
/* Champ: Contenu : Lien de publication */
|
||||
$handler->display->display_options['fields']['publishcontent']['id'] = 'publishcontent';
|
||||
$handler->display->display_options['fields']['publishcontent']['table'] = 'node';
|
||||
$handler->display->display_options['fields']['publishcontent']['field'] = 'publishcontent';
|
||||
$handler->display->display_options['fields']['publishcontent']['label'] = '';
|
||||
$handler->display->display_options['fields']['publishcontent']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['fields']['publishcontent']['hide_empty'] = TRUE;
|
||||
$handler->display->display_options['fields']['publishcontent']['unpublish'] = 'Supprimer';
|
||||
$handler->display->display_options['fields']['publishcontent']['publish'] = 'Récupérer dans la corbeille';
|
||||
$handler->display->display_options['defaults']['sorts'] = FALSE;
|
||||
/* Critère de tri: Contenu : Date de début de publication de l'actualité sur la page d'accueil (field_popsu_actu_date) */
|
||||
/* Critère de tri: Contenu : Date de début de validité de l'actualité (field_popsu_actu_date) */
|
||||
$handler->display->display_options['sorts']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
|
||||
$handler->display->display_options['sorts']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
|
||||
$handler->display->display_options['sorts']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
|
||||
@@ -599,13 +631,13 @@ display: none;
|
||||
$handler->display->display_options['filters']['type']['value'] = array(
|
||||
'popsu_actu' => 'popsu_actu',
|
||||
);
|
||||
/* Critère de filtrage: Contenu : Date de fin de publication de l'actualité sur la page d'accueil (field_popsu_actu_date_fin) */
|
||||
/* Critère de filtrage: Contenu : Date de fin de validité de l'actualité (field_popsu_actu_date_fin) */
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['id'] = 'field_popsu_actu_date_fin_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['table'] = 'field_data_field_popsu_actu_date_fin';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['field'] = 'field_popsu_actu_date_fin_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['operator'] = '>';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['default_date'] = 'now';
|
||||
/* Critère de filtrage: Contenu : Date de début de publication de l'actualité sur la page d'accueil (field_popsu_actu_date) */
|
||||
/* Critère de filtrage: Contenu : Date de début de validité de l'actualité (field_popsu_actu_date) */
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
|
||||
@@ -658,7 +690,7 @@ display: none;
|
||||
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
|
||||
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
|
||||
/* Champ: Contenu : Date de début de publication de l'actualité sur la page d'accueil */
|
||||
/* Champ: Contenu : Date de début de validité de l'actualité */
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date']['id'] = 'field_popsu_actu_date';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date']['table'] = 'field_data_field_popsu_actu_date';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date']['field'] = 'field_popsu_actu_date';
|
||||
@@ -672,7 +704,7 @@ display: none;
|
||||
'multiple_from' => '',
|
||||
'multiple_to' => '',
|
||||
);
|
||||
/* Champ: Contenu : Date de fin de publication de l'actualité sur la page d'accueil */
|
||||
/* Champ: Contenu : Date de fin de validité de l'actualité */
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date_fin']['id'] = 'field_popsu_actu_date_fin';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date_fin']['table'] = 'field_data_field_popsu_actu_date_fin';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_date_fin']['field'] = 'field_popsu_actu_date_fin';
|
||||
@@ -728,8 +760,33 @@ display: none;
|
||||
'image_style' => 'popsu-actu-listing',
|
||||
'image_link' => '',
|
||||
);
|
||||
/* Champ: Contenu : Pièces jointes à cette actualité */
|
||||
$handler->display->display_options['fields']['field_popsu_actu_attachment']['id'] = 'field_popsu_actu_attachment';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_attachment']['table'] = 'field_data_field_popsu_actu_attachment';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_attachment']['field'] = 'field_popsu_actu_attachment';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_attachment']['label'] = '';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_attachment']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['fields']['field_popsu_actu_attachment']['click_sort_column'] = 'fid';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_attachment']['delta_offset'] = '0';
|
||||
$handler->display->display_options['fields']['field_popsu_actu_attachment']['separator'] = ' ';
|
||||
/* Champ: Contenu : Lien de modification */
|
||||
$handler->display->display_options['fields']['edit_node']['id'] = 'edit_node';
|
||||
$handler->display->display_options['fields']['edit_node']['table'] = 'views_entity_node';
|
||||
$handler->display->display_options['fields']['edit_node']['field'] = 'edit_node';
|
||||
$handler->display->display_options['fields']['edit_node']['label'] = '';
|
||||
$handler->display->display_options['fields']['edit_node']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['fields']['edit_node']['hide_empty'] = TRUE;
|
||||
/* Champ: Contenu : Lien de publication */
|
||||
$handler->display->display_options['fields']['publishcontent']['id'] = 'publishcontent';
|
||||
$handler->display->display_options['fields']['publishcontent']['table'] = 'node';
|
||||
$handler->display->display_options['fields']['publishcontent']['field'] = 'publishcontent';
|
||||
$handler->display->display_options['fields']['publishcontent']['label'] = '';
|
||||
$handler->display->display_options['fields']['publishcontent']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['fields']['publishcontent']['hide_empty'] = TRUE;
|
||||
$handler->display->display_options['fields']['publishcontent']['unpublish'] = 'Supprimer';
|
||||
$handler->display->display_options['fields']['publishcontent']['publish'] = 'Récupérer dans la corbeille';
|
||||
$handler->display->display_options['defaults']['sorts'] = FALSE;
|
||||
/* Critère de tri: Contenu : Date de début de publication de l'actualité sur la page d'accueil (field_popsu_actu_date) */
|
||||
/* Critère de tri: Contenu : Date de début de validité de l'actualité (field_popsu_actu_date) */
|
||||
$handler->display->display_options['sorts']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
|
||||
$handler->display->display_options['sorts']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
|
||||
$handler->display->display_options['sorts']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
|
||||
@@ -749,13 +806,13 @@ display: none;
|
||||
$handler->display->display_options['filters']['type']['value'] = array(
|
||||
'popsu_actu' => 'popsu_actu',
|
||||
);
|
||||
/* Critère de filtrage: Contenu : Date de fin de publication de l'actualité sur la page d'accueil (field_popsu_actu_date_fin) */
|
||||
/* Critère de filtrage: Contenu : Date de fin de validité de l'actualité (field_popsu_actu_date_fin) */
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['id'] = 'field_popsu_actu_date_fin_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['table'] = 'field_data_field_popsu_actu_date_fin';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['field'] = 'field_popsu_actu_date_fin_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['operator'] = '<=';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_fin_value']['default_date'] = 'now';
|
||||
/* Critère de filtrage: Contenu : Date de début de publication de l'actualité sur la page d'accueil (field_popsu_actu_date) */
|
||||
/* Critère de filtrage: Contenu : Date de début de validité de l'actualité (field_popsu_actu_date) */
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['id'] = 'field_popsu_actu_date_value';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['table'] = 'field_data_field_popsu_actu_date';
|
||||
$handler->display->display_options['filters']['field_popsu_actu_date_value']['field'] = 'field_popsu_actu_date_value';
|
||||
@@ -780,8 +837,7 @@ display: none;
|
||||
t('dernier »'),
|
||||
t('/actualites'),
|
||||
t('<a href="[path]">[title]</a>'),
|
||||
t('[field_popsu_actu_soustitre] - '),
|
||||
t('[field_popsu_actu_soustitre][field_popsu_actu_date]'),
|
||||
t('[field_popsu_actu_soustitre]'),
|
||||
t('<a href="[path]">[field_popsu_actu_body]</a>'),
|
||||
t('Modifier cette actu'),
|
||||
t('<a href="[path]">voir toutes les actualités</a>'),
|
||||
@@ -801,13 +857,15 @@ display: none;
|
||||
t('Tout'),
|
||||
t('Actualites CSS titre switcher'),
|
||||
t('Actualites A venir Block'),
|
||||
t('Actualités, appels d\'offre et consultations'),
|
||||
t('du [field_popsu_actu_date] au [field_popsu_actu_date_fin]'),
|
||||
t('[field_popsu_actu_date]'),
|
||||
t('[field_popsu_actu_soustitre] - [field_popsu_actu_date_fin]'),
|
||||
t('[field_popsu_actu_date_fin]'),
|
||||
t('<div class="actu-col-img">[field_popsu_actu_image]</div>
|
||||
<div class="actu-col-body">[field_popsu_actu_body]</div>'),
|
||||
t('[field_popsu_actu_body]'),
|
||||
t('Supprimer'),
|
||||
t('Récupérer dans la corbeille'),
|
||||
t('POPSU - Actualites - Block A venir'),
|
||||
t('Actualites Passees Block'),
|
||||
t('<div class="actu-pseudo-title">[title]</div>
|
||||
|
@@ -19,21 +19,19 @@ function popsu_structure_default_box() {
|
||||
$box->description = 'Google Analytics tracking code';
|
||||
$box->options = array(
|
||||
'body' => array(
|
||||
'value' => '<script type="text/javascript">
|
||||
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push([\'_setAccount\', \'UA-37066369-1\']);
|
||||
_gaq.push([\'_trackPageview\']);
|
||||
|
||||
(function() {
|
||||
var ga = document.createElement(\'script\'); ga.type = \'text/javascript\'; ga.async = true;
|
||||
ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\';
|
||||
var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
|
||||
'value' => '<script>
|
||||
(function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,\'script\',\'//www.google-analytics.com/analytics.js\',\'ga\');
|
||||
|
||||
ga(\'create\', \'UA-39618469-1\', \'archi.fr\');
|
||||
ga(\'send\', \'pageview\');
|
||||
|
||||
</script>',
|
||||
'format' => 'php_code',
|
||||
),
|
||||
'additional_classes' => '',
|
||||
);
|
||||
$export['popsu_google_analytics'] = $box;
|
||||
|
||||
@@ -46,9 +44,9 @@ function popsu_structure_default_box() {
|
||||
$box->description = 'POPSU Logo Baseline (box)';
|
||||
$box->options = array(
|
||||
'body' => array(
|
||||
'value' => 'PLATE-FORME<br>
|
||||
D’OBSERVATION<br>
|
||||
DES PROJETS<br>
|
||||
'value' => 'PLATE-FORME<br>
|
||||
D’OBSERVATION<br>
|
||||
DES PROJETS<br>
|
||||
DE STRATÉGIES URBAINES',
|
||||
'format' => 'php_code',
|
||||
),
|
||||
@@ -103,6 +101,55 @@ DE STRATÉGIES URBAINES',
|
||||
);
|
||||
$export['popsu_logo_popsueurope'] = $box;
|
||||
|
||||
$box = new stdClass();
|
||||
$box->disabled = FALSE; /* Edit this to true to make a default box disabled initially */
|
||||
$box->api_version = 1;
|
||||
$box->delta = 'popsu_logo_popsumetropoles';
|
||||
$box->plugin_key = 'simple';
|
||||
$box->title = '<none>';
|
||||
$box->description = 'POPSU Logo POPSU Metropoles (box)';
|
||||
$box->options = array(
|
||||
'body' => array(
|
||||
'value' => '<a class="logo" href="popsu-metropoles/accueil" rel="home" title="Aller à l\'accueil de POPSU Metropoles">Aller à l\'accueil de POPSU Metropoles</a>',
|
||||
'format' => 'php_code',
|
||||
),
|
||||
'additional_classes' => '',
|
||||
);
|
||||
$export['popsu_logo_popsumetropoles'] = $box;
|
||||
|
||||
$box = new stdClass();
|
||||
$box->disabled = FALSE; /* Edit this to true to make a default box disabled initially */
|
||||
$box->api_version = 1;
|
||||
$box->delta = 'popsu_logo_popsumonde';
|
||||
$box->plugin_key = 'simple';
|
||||
$box->title = '<none>';
|
||||
$box->description = 'POPSU Logo POPSU Monde (box)';
|
||||
$box->options = array(
|
||||
'body' => array(
|
||||
'value' => '<a class="logo" href="popsu-monde/accueil" rel="home" title="Aller à l\'accueil de POPSU Monde">Aller à l\'accueil de POPSU Monde</a>
|
||||
',
|
||||
'format' => 'php_code',
|
||||
),
|
||||
'additional_classes' => '',
|
||||
);
|
||||
$export['popsu_logo_popsumonde'] = $box;
|
||||
|
||||
$box = new stdClass();
|
||||
$box->disabled = FALSE; /* Edit this to true to make a default box disabled initially */
|
||||
$box->api_version = 1;
|
||||
$box->delta = 'popsu_logo_popsuterrritoires';
|
||||
$box->plugin_key = 'simple';
|
||||
$box->title = '<none>';
|
||||
$box->description = 'POPSU Logo POPSU Territoires (box)';
|
||||
$box->options = array(
|
||||
'body' => array(
|
||||
'value' => '<a class="logo" href="/popsu-territoires/accueil" rel="home" title="Aller à l\'accueil de POPSU Territoires">Aller à l\'accueil de POPSU Territoires</a>',
|
||||
'format' => 'php_code',
|
||||
),
|
||||
'additional_classes' => '',
|
||||
);
|
||||
$export['popsu_logo_popsuterrritoires'] = $box;
|
||||
|
||||
$box = new stdClass();
|
||||
$box->disabled = FALSE; /* Edit this to true to make a default box disabled initially */
|
||||
$box->api_version = 1;
|
||||
@@ -112,8 +159,8 @@ DE STRATÉGIES URBAINES',
|
||||
$box->description = 'POPSU Trigger de menu niveau 1 (box)';
|
||||
$box->options = array(
|
||||
'body' => array(
|
||||
'value' => '<div id="menu-trigger-level1" class="menu-trigger-level1">Retour au menu</div>
|
||||
<div id="menu-trigger-level1-off" class="menu-trigger-level1">Masquer le menu</i></div>
|
||||
'value' => '<div id="menu-trigger-level1" class="menu-trigger-level1">Retour au menu</div>
|
||||
<div id="menu-trigger-level1-off" class="menu-trigger-level1">Masquer le menu</i></div>
|
||||
<div id="menu-trigger-level1-static" class="menu-trigger-level1"><a href="/popsu1/accueil">Retour au menu</a></div>',
|
||||
'format' => 'php_code',
|
||||
),
|
||||
|
@@ -32,18 +32,18 @@ function popsu_structure_context_default_contexts() {
|
||||
'region' => 'content',
|
||||
'weight' => '-10',
|
||||
),
|
||||
'menu-menu-popsu-menu-footer' => array(
|
||||
'module' => 'menu',
|
||||
'delta' => 'menu-popsu-menu-footer',
|
||||
'region' => 'footer',
|
||||
'weight' => '-10',
|
||||
),
|
||||
'menu-menu-popsu-footer-droite' => array(
|
||||
'module' => 'menu',
|
||||
'delta' => 'menu-popsu-footer-droite',
|
||||
'region' => 'footer',
|
||||
'weight' => '-10',
|
||||
),
|
||||
'menu-menu-popsu-menu-footer' => array(
|
||||
'module' => 'menu',
|
||||
'delta' => 'menu-popsu-menu-footer',
|
||||
'region' => 'footer',
|
||||
'weight' => '-10',
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@@ -4,71 +4,19 @@
|
||||
* popsu_structure.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_block_class_features_default_class().
|
||||
*/
|
||||
function popsu_structure_block_class_features_default_class() {
|
||||
return array(
|
||||
'menu:menu-popsu-menu-footer' => array(
|
||||
'module' => 'menu',
|
||||
'delta' => 'menu-popsu-menu-footer',
|
||||
'css_classes' => 'menu-footer menu-inline',
|
||||
),
|
||||
'menu:menu-popus-menu-header' => array(
|
||||
'module' => 'menu',
|
||||
'delta' => 'menu-popus-menu-header',
|
||||
'css_classes' => 'span1 menu-header',
|
||||
),
|
||||
'menu_block:1' => array(
|
||||
'module' => 'menu_block',
|
||||
'delta' => '1',
|
||||
'css_classes' => 'left-nav left-nav-level-2',
|
||||
),
|
||||
'menu_block:2' => array(
|
||||
'module' => 'menu_block',
|
||||
'delta' => '2',
|
||||
'css_classes' => 'left-nav left-nav-level-0',
|
||||
),
|
||||
'menu_block:3' => array(
|
||||
'module' => 'menu_block',
|
||||
'delta' => '3',
|
||||
'css_classes' => 'left-nav left-nav-level-1',
|
||||
),
|
||||
'menu_block:4' => array(
|
||||
'module' => 'menu_block',
|
||||
'delta' => '4',
|
||||
'css_classes' => 'left-nav left-nav-level-1',
|
||||
),
|
||||
'menu_block:5' => array(
|
||||
'module' => 'menu_block',
|
||||
'delta' => '5',
|
||||
'css_classes' => 'left-nav left-nav-level-2',
|
||||
),
|
||||
'menu_block:6' => array(
|
||||
'module' => 'menu_block',
|
||||
'delta' => '6',
|
||||
'css_classes' => 'left-nav left-nav-level-1',
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_ctools_plugin_api().
|
||||
*/
|
||||
function popsu_structure_ctools_plugin_api() {
|
||||
list($module, $api) = func_get_args();
|
||||
function popsu_structure_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 == "panels" && $api == "layouts") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
list($module, $api) = func_get_args();
|
||||
if ($module == "strongarm" && $api == "strongarm") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
|
@@ -2,7 +2,6 @@ name = POPSU Structure du site
|
||||
description = POPSU - Structure du site
|
||||
core = 7.x
|
||||
package = POPSU
|
||||
php = 5.2.4
|
||||
version = 7.x-1.0-beta9
|
||||
project = popsu_structure
|
||||
dependencies[] = block
|
||||
@@ -22,19 +21,14 @@ dependencies[] = search
|
||||
dependencies[] = uuid
|
||||
dependencies[] = uuid_features
|
||||
dependencies[] = uuid_path
|
||||
features[block_class][] = menu:menu-popsu-menu-footer
|
||||
features[block_class][] = menu:menu-popus-menu-header
|
||||
features[block_class][] = menu_block:1
|
||||
features[block_class][] = menu_block:2
|
||||
features[block_class][] = menu_block:3
|
||||
features[block_class][] = menu_block:4
|
||||
features[block_class][] = menu_block:5
|
||||
features[block_class][] = menu_block:6
|
||||
features[box][] = popsu_google_analytics
|
||||
features[box][] = popsu_logo_baseline
|
||||
features[box][] = popsu_logo_popsu1
|
||||
features[box][] = popsu_logo_popsu2
|
||||
features[box][] = popsu_logo_popsueurope
|
||||
features[box][] = popsu_logo_popsumetropoles
|
||||
features[box][] = popsu_logo_popsumonde
|
||||
features[box][] = popsu_logo_popsuterrritoires
|
||||
features[box][] = popsu_menu_trigger
|
||||
features[context][] = popsu-structure-global
|
||||
features[context][] = popsu-structure-homepage
|
||||
@@ -43,5 +37,5 @@ features[ctools][] = boxes:box:1
|
||||
features[ctools][] = context:context:3
|
||||
features[ctools][] = panels:layouts:1
|
||||
features[ctools][] = strongarm:strongarm:1
|
||||
features[features_api][] = api:1
|
||||
features[features_api][] = api:2
|
||||
features[panels_layout][] = popsu_70_30_accordion
|
||||
|
@@ -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