first import

This commit is contained in:
Bachir Soussi Chiadmi
2015-04-08 11:40:19 +02:00
commit 1bc61b12ad
8435 changed files with 1582817 additions and 0 deletions
@@ -0,0 +1,71 @@
<?php
/**
* @file
* popsu_themes_local.context.inc
*/
/**
* Implements hook_context_default_contexts().
*/
function popsu_themes_local_context_default_contexts() {
$export = array();
$context = new stdClass();
$context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */
$context->api_version = 3;
$context->name = 'popsu-theme-local-node';
$context->description = 'Contexte d\'un noeud de type Thème local (feature)';
$context->tag = 'themes-local-feature';
$context->conditions = array(
'node' => array(
'values' => array(
'popsu_theme_local' => 'popsu_theme_local',
),
'options' => array(
'node_form' => '0',
),
),
);
$context->reactions = array(
'block' => array(
'blocks' => array(
'menu_block-3' => array(
'module' => 'menu_block',
'delta' => '3',
'region' => 'sidebar_first',
'weight' => '-10',
),
'boxes-popsu_menu_trigger' => array(
'module' => 'boxes',
'delta' => 'popsu_menu_trigger',
'region' => 'sidebar_first',
'weight' => '-9',
),
'menu_block-1' => array(
'module' => 'menu_block',
'delta' => '1',
'region' => 'sidebar_first',
'weight' => '-8',
),
'menu_block-5' => array(
'module' => 'menu_block',
'delta' => '5',
'region' => 'sidebar_first',
'weight' => '-7',
),
),
),
'theme_html' => array(
'class' => 'sidebar-double',
),
);
$context->condition_mode = 0;
// Translatables
// Included for use with string extractors like potx.
t('Contexte d\'un noeud de type Thème local (feature)');
t('themes-local-feature');
$export['popsu-theme-local-node'] = $context;
return $export;
}
@@ -0,0 +1,434 @@
<?php
/**
* @file
* popsu_themes_local.features.field.inc
*/
/**
* Implements hook_field_default_fields().
*/
function popsu_themes_local_field_default_fields() {
$fields = array();
// Exported field: 'node-popsu_theme_local-field_popsu_themloc_body'.
$fields['node-popsu_theme_local-field_popsu_themloc_body'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_popsu_themloc_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_theme_local',
'default_value' => NULL,
'deleted' => '0',
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => '0',
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_popsu_themloc_body',
'label' => 'Texte de présentation du thème',
'required' => 0,
'settings' => array(
'display_summary' => 0,
'text_processing' => '1',
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'rows' => '20',
'summary_rows' => 5,
),
'type' => 'text_textarea_with_summary',
'weight' => '2',
),
),
);
// Exported field: 'node-popsu_theme_local-field_popsu_themloc_comparatif'.
$fields['node-popsu_theme_local-field_popsu_themloc_comparatif'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '-1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_popsu_themloc_comparatif',
'foreign keys' => array(
'nid' => array(
'columns' => array(
'nid' => 'nid',
),
'table' => 'node',
),
),
'indexes' => array(
'nid' => array(
0 => 'nid',
),
),
'locked' => '0',
'module' => 'node_reference',
'settings' => array(
'referenceable_types' => array(
'article' => 0,
'page' => 0,
'popsu_colloque' => 0,
'popsu_document' => 0,
'popsu_page' => 0,
'popsu_projet' => 0,
'popsu_publication' => 0,
'popsu_special' => 0,
'popsu_theme_europe' => 0,
'popsu_theme_local' => 0,
'popsu_theme_trans' => 'popsu_theme_trans',
'popsu_ville' => 0,
'popsu_ville_europe' => 0,
),
'view' => array(
'args' => array(),
'display_name' => '',
'view_name' => '',
),
),
'translatable' => '0',
'type' => 'node_reference',
),
'field_instance' => array(
'bundle' => 'popsu_theme_local',
'default_value' => NULL,
'deleted' => '0',
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'node_reference',
'settings' => array(),
'type' => 'node_reference_default',
'weight' => 6,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_popsu_themloc_comparatif',
'label' => 'Comparatif',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'node_reference',
'settings' => array(
'autocomplete_match' => 'contains',
'autocomplete_path' => 'node_reference/autocomplete',
'size' => '60',
),
'type' => 'node_reference_autocomplete',
'weight' => '7',
),
),
);
// Exported field: 'node-popsu_theme_local-field_popsu_themloc_demarche'.
$fields['node-popsu_theme_local-field_popsu_themloc_demarche'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_popsu_themloc_demarche',
'foreign keys' => array(
'format' => array(
'columns' => array(
'format' => 'format',
),
'table' => 'filter_format',
),
),
'indexes' => array(
'format' => array(
0 => 'format',
),
),
'locked' => '0',
'module' => 'text',
'settings' => array(),
'translatable' => '0',
'type' => 'text_long',
),
'field_instance' => array(
'bundle' => 'popsu_theme_local',
'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_themloc_demarche',
'label' => 'Démarche et méthodologie',
'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' => '10',
),
),
);
// Exported field: 'node-popsu_theme_local-field_popsu_themloc_imageintro'.
$fields['node-popsu_theme_local-field_popsu_themloc_imageintro'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '-1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_popsu_themloc_imageintro',
'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_theme_local',
'deleted' => '0',
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'image',
'settings' => array(
'image_link' => '',
'image_style' => '',
),
'type' => 'image',
'weight' => '2',
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_popsu_themloc_imageintro',
'label' => 'Image d\'introduction',
'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]/imageintro',
),
'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_theme_local-field_popsu_themloc_lies'.
$fields['node-popsu_theme_local-field_popsu_themloc_lies'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '-1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_popsu_themloc_lies',
'foreign keys' => array(
'nid' => array(
'columns' => array(
'nid' => 'nid',
),
'table' => 'node',
),
),
'indexes' => array(
'nid' => array(
0 => 'nid',
),
),
'locked' => '0',
'module' => 'node_reference',
'settings' => array(
'referenceable_types' => array(
'article' => 0,
'page' => 0,
'popsu_colloque' => 0,
'popsu_document' => 0,
'popsu_page' => 0,
'popsu_projet' => 'popsu_projet',
'popsu_publication' => 0,
'popsu_special' => 0,
'popsu_theme_europe' => 0,
'popsu_theme_local' => 'popsu_theme_local',
'popsu_theme_trans' => 0,
'popsu_ville' => 0,
'popsu_ville_europe' => 0,
),
'view' => array(
'args' => array(),
'display_name' => '',
'view_name' => '',
),
),
'translatable' => '0',
'type' => 'node_reference',
),
'field_instance' => array(
'bundle' => 'popsu_theme_local',
'default_value' => NULL,
'deleted' => '0',
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'node_reference',
'settings' => array(),
'type' => 'node_reference_default',
'weight' => 5,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_popsu_themloc_lies',
'label' => 'Projets & thèmes liés',
'required' => 0,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'node_reference',
'settings' => array(
'autocomplete_match' => 'contains',
'autocomplete_path' => 'node_reference/autocomplete',
'size' => '60',
),
'type' => 'node_reference_autocomplete',
'weight' => '6',
),
),
);
// Translatables
// Included for use with string extractors like potx.
t('Comparatif');
t('Démarche et méthodologie');
t('Image d\'introduction');
t('Projets & thèmes liés');
t('Texte de présentation du thème');
return $fields;
}
@@ -0,0 +1,111 @@
<?php
/**
* @file
* popsu_themes_local.features.inc
*/
/**
* Implements hook_ctools_plugin_api().
*/
function popsu_themes_local_ctools_plugin_api() {
list($module, $api) = func_get_args();
if ($module == "context" && $api == "context") {
return array("version" => "3");
}
list($module, $api) = func_get_args();
if ($module == "feeds" && $api == "feeds_importer_default") {
return array("version" => "1");
}
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");
}
}
/**
* Implements hook_views_api().
*/
function popsu_themes_local_views_api() {
return array("version" => "3.0");
}
/**
* Implements hook_image_default_styles().
*/
function popsu_themes_local_image_default_styles() {
$styles = array();
// Exported image style: popsu-themloc-grande-image.
$styles['popsu-themloc-grande-image'] = array(
'name' => 'popsu-themloc-grande-image',
'effects' => array(
9 => 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',
'data' => array(
'resolutions' => '1382, 992, 768, 480',
'mobile_first' => 1,
'height' => '',
'width' => '1382',
'upscale' => '',
),
'weight' => '1',
),
),
);
// Exported image style: popsu-themlocs-listing-small.
$styles['popsu-themlocs-listing-small'] = array(
'name' => 'popsu-themlocs-listing-small',
'effects' => array(
11 => 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',
),
'weight' => '1',
),
),
);
return $styles;
}
/**
* Implements hook_node_info().
*/
function popsu_themes_local_node_info() {
$items = array(
'popsu_theme_local' => array(
'name' => t('Thème local'),
'base' => 'node_content',
'description' => t('Ce type de contenu permet de créer la fiche de présentation d\'un thème local.'),
'has_title' => '1',
'title_label' => t('Intitulé du thème'),
'help' => '',
),
);
return $items;
}
@@ -0,0 +1,100 @@
<?php
/**
* @file
* popsu_themes_local.feeds_importer_default.inc
*/
/**
* Implements hook_feeds_importer_default().
*/
function popsu_themes_local_feeds_importer_default() {
$export = array();
$feeds_importer = new stdClass();
$feeds_importer->disabled = FALSE; /* Edit this to true to make a default feeds_importer disabled initially */
$feeds_importer->api_version = 1;
$feeds_importer->id = 'popsu_popsu1_themloc_from_xml';
$feeds_importer->config = array(
'name' => 'POPSU 1 - Themes locaux from XML',
'description' => 'Import de contenus Thèmes locaux pour POPSU 1 depuis des fichiers XML',
'fetcher' => array(
'plugin_key' => 'FeedsFileFetcher',
'config' => array(
'allowed_extensions' => 'txt csv tsv xml opml json html htm',
'direct' => 0,
),
),
'parser' => array(
'plugin_key' => 'FeedsXPathParserXML',
'config' => array(
'sources' => array(
'xpathparser:0' => 'column[@name=\'titre\']',
'xpathparser:1' => 'column[@name=\'ville\']',
'xpathparser:2' => 'column[@name=\'chapo\']',
'xpathparser:3' => 'column[@name=\'texte\']',
),
'rawXML' => array(
'xpathparser:0' => 0,
'xpathparser:1' => 0,
'xpathparser:2' => 0,
'xpathparser:3' => 0,
),
'context' => '//table[@name=\'spip_articles\']',
'exp' => array(
'errors' => 1,
'debug' => array(
'context' => 0,
'xpathparser:0' => 0,
'xpathparser:1' => 0,
'xpathparser:2' => 0,
'xpathparser:3' => 0,
),
),
'allow_override' => 1,
),
),
'processor' => array(
'plugin_key' => 'FeedsNodeProcessor',
'config' => array(
'content_type' => 'popsu_theme_local',
'expire' => '-1',
'author' => '1',
'authorize' => 0,
'mappings' => array(
0 => array(
'source' => 'xpathparser:0',
'target' => 'title',
'unique' => FALSE,
),
1 => array(
'source' => 'xpathparser:1',
'target' => 'field_popsu_themloc_ville',
'unique' => FALSE,
),
2 => array(
'source' => 'xpathparser:2',
'target' => 'field_popsu_themloc_body',
'unique' => FALSE,
),
3 => array(
'source' => 'xpathparser:3',
'target' => 'field_popsu_themloc_demarche',
'unique' => FALSE,
),
),
'update_existing' => '0',
'input_format' => 'php_code',
'skip_hash_check' => 0,
),
),
'content_type' => '',
'update' => 0,
'import_period' => '-1',
'expire_period' => 3600,
'import_on_create' => 1,
'process_in_background' => 0,
);
$export['popsu_popsu1_themloc_from_xml'] = $feeds_importer;
return $export;
}
@@ -0,0 +1,152 @@
<?php
/**
* @file
* popsu_themes_local.field_group.inc
*/
/**
* Implements hook_field_group_info().
*/
function popsu_themes_local_field_group_info() {
$export = array();
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
$field_group->api_version = 1;
$field_group->identifier = 'group_popsu_themloc_basic|node|popsu_theme_local|form';
$field_group->group_name = 'group_popsu_themloc_basic';
$field_group->entity_type = 'node';
$field_group->bundle = 'popsu_theme_local';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Informations essentielles',
'weight' => '0',
'children' => array(
0 => 'field_popsu_themloc_popsu',
1 => 'field_popsu_themloc_ville',
2 => 'title',
),
'format_type' => 'tab',
'format_settings' => array(
'formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
);
$export['group_popsu_themloc_basic|node|popsu_theme_local|form'] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
$field_group->api_version = 1;
$field_group->identifier = 'group_popsu_themloc_images|node|popsu_theme_local|form';
$field_group->group_name = 'group_popsu_themloc_images';
$field_group->entity_type = 'node';
$field_group->bundle = 'popsu_theme_local';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Images',
'weight' => '3',
'children' => array(
0 => 'field_popsu_themloc_imageintro',
),
'format_type' => 'tab',
'format_settings' => array(
'formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
);
$export['group_popsu_themloc_images|node|popsu_theme_local|form'] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
$field_group->api_version = 1;
$field_group->identifier = 'group_popsu_themloc_intro|node|popsu_theme_local|form';
$field_group->group_name = 'group_popsu_themloc_intro';
$field_group->entity_type = 'node';
$field_group->bundle = 'popsu_theme_local';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Introduction',
'weight' => '1',
'children' => array(
0 => 'field_popsu_themloc_body',
),
'format_type' => 'tab',
'format_settings' => array(
'formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
);
$export['group_popsu_themloc_intro|node|popsu_theme_local|form'] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
$field_group->api_version = 1;
$field_group->identifier = 'group_popsu_themloc_lies|node|popsu_theme_local|form';
$field_group->group_name = 'group_popsu_themloc_lies';
$field_group->entity_type = 'node';
$field_group->bundle = 'popsu_theme_local';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Contenus liés',
'weight' => '4',
'children' => array(
0 => 'field_popsu_themloc_lies',
1 => 'field_popsu_themloc_comparatif',
),
'format_type' => 'tab',
'format_settings' => array(
'formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
);
$export['group_popsu_themloc_lies|node|popsu_theme_local|form'] = $field_group;
$field_group = new stdClass();
$field_group->disabled = FALSE; /* Edit this to true to make a default field_group disabled initially */
$field_group->api_version = 1;
$field_group->identifier = 'group_popsu_themloc_methodo|node|popsu_theme_local|form';
$field_group->group_name = 'group_popsu_themloc_methodo';
$field_group->entity_type = 'node';
$field_group->bundle = 'popsu_theme_local';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Démarche et méthodologie',
'weight' => '2',
'children' => array(
0 => 'field_popsu_themloc_demarche',
),
'format_type' => 'tab',
'format_settings' => array(
'formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
);
$export['group_popsu_themloc_methodo|node|popsu_theme_local|form'] = $field_group;
return $export;
}
@@ -0,0 +1,54 @@
name = POPSU Thèmes locaux
description = POPSU - Type de contenu Thèmes locaux
core = 7.x
package = POPSU
php = 5.2.4
version = 7.x-1.0-beta9
project = popsu_themes_local
dependencies[] = context
dependencies[] = ctools
dependencies[] = features
dependencies[] = feeds
dependencies[] = field_group
dependencies[] = filefield_paths
dependencies[] = image
dependencies[] = menu_block
dependencies[] = node_reference
dependencies[] = page_manager
dependencies[] = popsu_structure
dependencies[] = popsu_taxonomies
dependencies[] = search
dependencies[] = strongarm
dependencies[] = views
dependencies[] = views_content
features[context][] = popsu-theme-local-node
features[ctools][] = context:context:3
features[ctools][] = feeds:feeds_importer_default:1
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[feeds_importer][] = popsu_popsu1_themloc_from_xml
features[field][] = node-popsu_theme_local-field_popsu_themloc_body
features[field][] = node-popsu_theme_local-field_popsu_themloc_comparatif
features[field][] = node-popsu_theme_local-field_popsu_themloc_demarche
features[field][] = node-popsu_theme_local-field_popsu_themloc_imageintro
features[field][] = node-popsu_theme_local-field_popsu_themloc_lies
features[field_group][] = group_popsu_themloc_basic|node|popsu_theme_local|form
features[field_group][] = group_popsu_themloc_images|node|popsu_theme_local|form
features[field_group][] = group_popsu_themloc_intro|node|popsu_theme_local|form
features[field_group][] = group_popsu_themloc_lies|node|popsu_theme_local|form
features[field_group][] = group_popsu_themloc_methodo|node|popsu_theme_local|form
features[image][] = popsu-themloc-grande-image
features[image][] = popsu-themlocs-listing-small
features[node][] = popsu_theme_local
features[page_manager_handlers][] = node_view_panel_context_5
features[variable][] = field_bundle_settings_node__popsu_theme_local
features[variable][] = language_content_type_popsu_theme_local
features[variable][] = menu_options_popsu_theme_local
features[variable][] = menu_parent_popsu_theme_local
features[variable][] = node_options_popsu_theme_local
features[variable][] = node_preview_popsu_theme_local
features[variable][] = node_submitted_popsu_theme_local
features[views_view][] = themes_local
@@ -0,0 +1,7 @@
<?php
/**
* @file
* Code for the POPSU Thèmes locaux feature.
*/
include_once 'popsu_themes_local.features.inc';
@@ -0,0 +1,377 @@
<?php
/**
* @file
* popsu_themes_local.pages_default.inc
*/
/**
* Implements hook_default_page_manager_handlers().
*/
function popsu_themes_local_default_page_manager_handlers() {
$export = array();
$handler = new stdClass();
$handler->disabled = FALSE; /* Edit this to true to make a default handler disabled initially */
$handler->api_version = 1;
$handler->name = 'node_view_panel_context_5';
$handler->task = 'node_view';
$handler->subtask = '';
$handler->handler = 'panel_context';
$handler->weight = 4;
$handler->conf = array(
'title' => 'Thèmes locaux (feature)',
'no_blocks' => 0,
'pipeline' => 'standard',
'body_classes_to_remove' => '',
'body_classes_to_add' => '',
'css_id' => '',
'css' => '',
'contexts' => array(),
'relationships' => array(
0 => array(
'identifier' => 'Terme de taxonomie from Nœud (on Nœud: Ville [field_popsu_themloc_ville])',
'keyword' => 'taxonomy_term',
'name' => 'entity_from_field:field_popsu_themloc_ville-node-taxonomy_term',
'delta' => 0,
'context' => 'argument_entity_id:node_1',
'id' => 1,
),
),
'access' => array(
'plugins' => array(
0 => array(
'name' => 'node_type',
'settings' => array(
'type' => array(
'popsu_theme_local' => 'popsu_theme_local',
),
),
'context' => 'argument_entity_id:node_1',
'not' => FALSE,
),
),
'logic' => 'and',
),
);
$display = new panels_display();
$display->layout = 'flexible:popsu_74_36_stacked';
$display->layout_settings = array();
$display->panel_settings = array(
'style_settings' => array(
'default' => NULL,
'top' => NULL,
'left' => NULL,
'right' => NULL,
'bottom' => NULL,
'header' => NULL,
'footer' => NULL,
),
);
$display->cache = array();
$display->title = '%taxonomy_term:name';
$display->content = array();
$display->panels = array();
$pane = new stdClass();
$pane->pid = 'new-1';
$pane->panel = 'left';
$pane->type = 'entity_field';
$pane->subtype = 'node:field_popsu_themloc_imageintro';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'label' => 'hidden',
'formatter' => 'image',
'delta_limit' => '0',
'delta_offset' => '0',
'delta_reversed' => 0,
'formatter_settings' => array(
'image_style' => 'popsu-themloc-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' => '',
'css_class' => 'image-decallee',
);
$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 = 'entity_field';
$pane->subtype = 'node:field_popsu_themloc_body';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'label' => 'hidden',
'formatter' => 'text_default',
'delta_limit' => 0,
'delta_offset' => '0',
'delta_reversed' => FALSE,
'formatter_settings' => array(),
'context' => 'argument_entity_id:node_1',
'override_title' => 1,
'override_title_text' => 'Présentation',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array(
'css_id' => '',
'css_class' => 'layout-88p',
);
$pane->extras = array();
$pane->position = 1;
$pane->locks = array();
$display->content['new-2'] = $pane;
$display->panels['left'][1] = 'new-2';
$pane = new stdClass();
$pane->pid = 'new-3';
$pane->panel = 'left';
$pane->type = 'entity_field';
$pane->subtype = 'node:field_popsu_themloc_demarche';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'label' => 'hidden',
'formatter' => 'text_default',
'delta_limit' => 0,
'delta_offset' => '0',
'delta_reversed' => FALSE,
'formatter_settings' => array(),
'context' => 'argument_entity_id:node_1',
'override_title' => 1,
'override_title_text' => 'Démarche et méthodologie',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array(
'css_id' => '',
'css_class' => 'layout-88p',
);
$pane->extras = array();
$pane->position = 2;
$pane->locks = array();
$display->content['new-3'] = $pane;
$display->panels['left'][2] = 'new-3';
$pane = new stdClass();
$pane->pid = 'new-4';
$pane->panel = 'right';
$pane->type = 'node_links';
$pane->subtype = 'node_links';
$pane->shown = TRUE;
$pane->access = array(
'plugins' => array(
0 => array(
'name' => 'role',
'settings' => array(
'rids' => array(
0 => 3,
1 => 4,
2 => 5,
),
),
'context' => 'logged-in-user',
'not' => FALSE,
),
),
);
$pane->configuration = array(
'override_title' => 1,
'override_title_text' => '<none>',
'build_mode' => 'full',
'identifier' => '',
'link' => 0,
'context' => 'argument_entity_id:node_1',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array(
'css_id' => '',
'css_class' => 'admin-add-item admin-add-item-panel',
);
$pane->extras = array();
$pane->position = 0;
$pane->locks = array();
$display->content['new-4'] = $pane;
$display->panels['right'][0] = 'new-4';
$pane = new stdClass();
$pane->pid = 'new-5';
$pane->panel = 'right';
$pane->type = 'views_panes';
$pane->subtype = 'documents-panel_pane_3';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'arguments' => array(
'field_popsu_doc_parent_nid' => '%node:nid',
'field_popsu_doc_type_tid' => '53',
),
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array(
'css_id' => 'accordion-h2-ressources',
'css_class' => 'accordion-h2 accordion-h2-panel',
);
$pane->extras = array();
$pane->position = 1;
$pane->locks = array();
$display->content['new-5'] = $pane;
$display->panels['right'][1] = 'new-5';
$pane = new stdClass();
$pane->pid = 'new-6';
$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 = 2;
$pane->locks = array();
$display->content['new-6'] = $pane;
$display->panels['right'][2] = 'new-6';
$pane = new stdClass();
$pane->pid = 'new-7';
$pane->panel = 'right';
$pane->type = 'entity_field';
$pane->subtype = 'node:field_popsu_themloc_comparatif';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'label' => 'hidden',
'formatter' => 'node_reference_default',
'delta_limit' => '0',
'delta_offset' => '0',
'delta_reversed' => 0,
'formatter_settings' => array(),
'context' => 'argument_entity_id:node_1',
'override_title' => 1,
'override_title_text' => 'Comparatifs',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array(
'css_id' => 'accordion-h2-comparatifs',
'css_class' => 'accordion-h2 accordion-h2-panel pseudo-list',
);
$pane->extras = array();
$pane->position = 3;
$pane->locks = array();
$display->content['new-7'] = $pane;
$display->panels['right'][3] = 'new-7';
$pane = new stdClass();
$pane->pid = 'new-8';
$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' => '<none>',
'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();
$display->content['new-8'] = $pane;
$display->panels['right'][4] = 'new-8';
$pane = new stdClass();
$pane->pid = 'new-9';
$pane->panel = 'top';
$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' => '',
'css_class' => 'page-title-secondary',
);
$pane->extras = array();
$pane->position = 0;
$pane->locks = array();
$display->content['new-9'] = $pane;
$display->panels['top'][0] = 'new-9';
$pane = new stdClass();
$pane->pid = 'new-10';
$pane->panel = 'top';
$pane->type = 'views_panes';
$pane->subtype = 'themes_local-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 = 1;
$pane->locks = array();
$display->content['new-10'] = $pane;
$display->panels['top'][1] = 'new-10';
$display->hide_title = PANELS_TITLE_FIXED;
$display->title_pane = '0';
$handler->conf['display'] = $display;
$export['node_view_panel_context_5'] = $handler;
return $export;
}
@@ -0,0 +1,101 @@
<?php
/**
* @file
* popsu_themes_local.strongarm.inc
*/
/**
* Implements hook_strongarm().
*/
function popsu_themes_local_strongarm() {
$export = array();
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'field_bundle_settings_node__popsu_theme_local';
$strongarm->value = array(
'view_modes' => array(
'teaser' => array(
'custom_settings' => TRUE,
),
'full' => array(
'custom_settings' => FALSE,
),
'rss' => array(
'custom_settings' => FALSE,
),
'search_index' => array(
'custom_settings' => FALSE,
),
'search_result' => array(
'custom_settings' => FALSE,
),
'token' => array(
'custom_settings' => FALSE,
),
),
'extra_fields' => array(
'form' => array(
'title' => array(
'weight' => '3',
),
'path' => array(
'weight' => '5',
),
),
'display' => array(),
),
);
$export['field_bundle_settings_node__popsu_theme_local'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'language_content_type_popsu_theme_local';
$strongarm->value = '0';
$export['language_content_type_popsu_theme_local'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'menu_options_popsu_theme_local';
$strongarm->value = array(
0 => 'menu-popsu1-menu',
1 => 'menu-popsu2-menu',
);
$export['menu_options_popsu_theme_local'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'menu_parent_popsu_theme_local';
$strongarm->value = 'menu-popsu1-menu:0';
$export['menu_parent_popsu_theme_local'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'node_options_popsu_theme_local';
$strongarm->value = array(
0 => 'status',
1 => 'revision',
);
$export['node_options_popsu_theme_local'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'node_preview_popsu_theme_local';
$strongarm->value = '0';
$export['node_preview_popsu_theme_local'] = $strongarm;
$strongarm = new stdClass();
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'node_submitted_popsu_theme_local';
$strongarm->value = 0;
$export['node_submitted_popsu_theme_local'] = $strongarm;
return $export;
}
@@ -0,0 +1,438 @@
<?php
/**
* @file
* popsu_themes_local.views_default.inc
*/
/**
* Implements hook_views_default_views().
*/
function popsu_themes_local_views_default_views() {
$export = array();
$view = new view();
$view->name = 'themes_local';
$view->description = 'Liste des publications';
$view->tag = 'POPSU';
$view->base_table = 'node';
$view->human_name = 'Thèmes locaux';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['use_more_text'] = 'plus';
$handler->display->display_options['access']['type'] = 'perm';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['exposed_form']['options']['submit_button'] = 'Appliquer';
$handler->display->display_options['exposed_form']['options']['reset_button_label'] = 'Réinitialiser';
$handler->display->display_options['exposed_form']['options']['exposed_sorts_label'] = 'Trier par';
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['expose']['items_per_page_label'] = 'Éléments par page';
$handler->display->display_options['pager']['options']['expose']['items_per_page_options_all_label'] = '- Tout -';
$handler->display->display_options['pager']['options']['expose']['offset_label'] = 'Décalage';
$handler->display->display_options['pager']['options']['tags']['first'] = '« premier';
$handler->display->display_options['pager']['options']['tags']['previous'] = '‹ précédent';
$handler->display->display_options['pager']['options']['tags']['next'] = 'suivant ›';
$handler->display->display_options['pager']['options']['tags']['last'] = 'dernier »';
$handler->display->display_options['style_plugin'] = 'default';
$handler->display->display_options['row_plugin'] = 'fields';
/* Champ: Contenu : Titre */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
/* Critère de tri: Contenu : Date de publication */
$handler->display->display_options['sorts']['created']['id'] = 'created';
$handler->display->display_options['sorts']['created']['table'] = 'node';
$handler->display->display_options['sorts']['created']['field'] = 'created';
$handler->display->display_options['sorts']['created']['order'] = 'DESC';
/* Critère de filtrage: Contenu : Publié */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 1;
$handler->display->display_options['filters']['status']['group'] = 1;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
/* Critère de filtrage: Contenu : Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
'popsu_theme_local' => 'popsu_theme_local',
);
/* Display: Page */
$handler = $view->new_display('page', 'Page', 'page_1');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Thèmes locaux';
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
$handler->display->display_options['path'] = 'themes-locaux';
/* Display: Thèmes Par Ville Pane */
$handler = $view->new_display('panel_pane', 'Thèmes Par Ville Pane', 'panel_pane_1');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Les thèmes';
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
$handler->display->display_options['defaults']['arguments'] = FALSE;
/* Filtre contextuel: Contenu : Ville (field_popsu_themloc_ville) */
$handler->display->display_options['arguments']['field_popsu_themloc_ville_tid']['id'] = 'field_popsu_themloc_ville_tid';
$handler->display->display_options['arguments']['field_popsu_themloc_ville_tid']['table'] = 'field_data_field_popsu_themloc_ville';
$handler->display->display_options['arguments']['field_popsu_themloc_ville_tid']['field'] = 'field_popsu_themloc_ville_tid';
$handler->display->display_options['arguments']['field_popsu_themloc_ville_tid']['default_action'] = 'not found';
$handler->display->display_options['arguments']['field_popsu_themloc_ville_tid']['exception']['title'] = 'Tout';
$handler->display->display_options['arguments']['field_popsu_themloc_ville_tid']['default_argument_type'] = 'fixed';
$handler->display->display_options['arguments']['field_popsu_themloc_ville_tid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['field_popsu_themloc_ville_tid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['field_popsu_themloc_ville_tid']['summary_options']['items_per_page'] = '25';
/* Filtre contextuel: Contenu : POPSU (field_popsu_themloc_popsu) */
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['id'] = 'field_popsu_themloc_popsu_tid';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['table'] = 'field_data_field_popsu_themloc_popsu';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['field'] = 'field_popsu_themloc_popsu_tid';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['default_action'] = 'not found';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['exception']['title'] = 'Tout';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['default_argument_type'] = 'fixed';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['summary_options']['items_per_page'] = '25';
$handler->display->display_options['pane_category']['name'] = 'Volets de vue';
$handler->display->display_options['argument_input'] = array(
'field_popsu_themloc_ville_tid' => array(
'type' => 'user',
'context' => 'string.raw',
'context_optional' => 0,
'panel' => '0',
'fixed' => '',
'label' => 'Contenu : Ville (field_popsu_themloc_ville)',
),
'field_popsu_themloc_popsu_tid' => array(
'type' => 'user',
'context' => 'string.raw',
'context_optional' => 0,
'panel' => '0',
'fixed' => '',
'label' => 'Contenu : POPSU (field_popsu_themloc_popsu)',
),
);
/* Display: Thèmes Locaux Par POPSU Pane */
$handler = $view->new_display('panel_pane', 'Thèmes Locaux Par POPSU Pane', 'panel_pane_2');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['defaults']['css_class'] = FALSE;
$handler->display->display_options['css_class'] = 'listing-grille listing-themes-loc';
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'none';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'grid';
$handler->display->display_options['style_options']['default_row_class'] = FALSE;
$handler->display->display_options['style_options']['columns'] = '1';
$handler->display->display_options['style_options']['alignment'] = 'vertical';
$handler->display->display_options['defaults']['style_options'] = FALSE;
$handler->display->display_options['defaults']['row_plugin'] = FALSE;
$handler->display->display_options['row_plugin'] = 'fields';
$handler->display->display_options['defaults']['row_options'] = FALSE;
$handler->display->display_options['defaults']['header'] = FALSE;
/* Entête: Global : Résumé des résultats */
$handler->display->display_options['header']['result']['id'] = 'result';
$handler->display->display_options['header']['result']['table'] = 'views';
$handler->display->display_options['header']['result']['field'] = 'result';
$handler->display->display_options['header']['result']['content'] = '@total thèmes';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Champ: Contenu : Titre */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['exclude'] = TRUE;
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
/* Champ: Contenu : Ville */
$handler->display->display_options['fields']['field_popsu_themloc_ville']['id'] = 'field_popsu_themloc_ville';
$handler->display->display_options['fields']['field_popsu_themloc_ville']['table'] = 'field_data_field_popsu_themloc_ville';
$handler->display->display_options['fields']['field_popsu_themloc_ville']['field'] = 'field_popsu_themloc_ville';
$handler->display->display_options['fields']['field_popsu_themloc_ville']['label'] = '';
$handler->display->display_options['fields']['field_popsu_themloc_ville']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['field_popsu_themloc_ville']['alter']['text'] = '[title] <span class="listing-projet-ville">([field_popsu_themloc_ville])</span>';
$handler->display->display_options['fields']['field_popsu_themloc_ville']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_popsu_themloc_ville']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_popsu_themloc_ville']['type'] = 'taxonomy_term_reference_plain';
$handler->display->display_options['defaults']['sorts'] = FALSE;
/* Critère de tri: Contenu : Titre */
$handler->display->display_options['sorts']['title']['id'] = 'title';
$handler->display->display_options['sorts']['title']['table'] = 'node';
$handler->display->display_options['sorts']['title']['field'] = 'title';
$handler->display->display_options['defaults']['arguments'] = FALSE;
/* Filtre contextuel: Contenu : POPSU (field_popsu_themloc_popsu) */
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['id'] = 'field_popsu_themloc_popsu_tid';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['table'] = 'field_data_field_popsu_themloc_popsu';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['field'] = 'field_popsu_themloc_popsu_tid';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['default_action'] = 'not found';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['exception']['title'] = 'Tout';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['default_argument_type'] = 'fixed';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['summary_options']['items_per_page'] = '25';
$handler->display->display_options['pane_category']['name'] = 'Volets de vue';
$handler->display->display_options['argument_input'] = array(
'field_popsu_themloc_ville_tid' => array(
'type' => 'user',
'context' => 'string.raw',
'context_optional' => 0,
'panel' => '0',
'fixed' => '',
'label' => 'Contenu : Ville (field_popsu_themloc_ville)',
),
'field_popsu_themloc_popsu_tid' => array(
'type' => 'user',
'context' => 'string.raw',
'context_optional' => 0,
'panel' => '0',
'fixed' => '',
'label' => 'Contenu : POPSU (field_popsu_themloc_popsu)',
),
);
/* Display: Contenus liés Thèmes NID */
$handler = $view->new_display('panel_pane', 'Contenus liés Thèmes NID', 'panel_pane_3');
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'none';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['defaults']['footer'] = FALSE;
/* Pied de page: Global : PHP */
$handler->display->display_options['footer']['php']['id'] = 'php';
$handler->display->display_options['footer']['php']['table'] = 'views';
$handler->display->display_options['footer']['php']['field'] = 'php';
$handler->display->display_options['footer']['php']['php_output'] = '<style>
#main-wrapper #block-menu_block-1 .menu-name-menu-popsu1-menu > ul.menu {
background: url(/sites/default/themes/popsu/img/icons/voir-egalement-trans.png) no-repeat bottom right;
padding-bottom: 15px;
margin-bottom: 0;
}
</style>';
$handler->display->display_options['defaults']['relationships'] = FALSE;
/* Relation: Contenu : Projets &amp; thèmes liés (field_popsu_themloc_lies) */
$handler->display->display_options['relationships']['field_popsu_themloc_lies_nid']['id'] = 'field_popsu_themloc_lies_nid';
$handler->display->display_options['relationships']['field_popsu_themloc_lies_nid']['table'] = 'field_data_field_popsu_themloc_lies';
$handler->display->display_options['relationships']['field_popsu_themloc_lies_nid']['field'] = 'field_popsu_themloc_lies_nid';
$handler->display->display_options['relationships']['field_popsu_themloc_lies_nid']['required'] = TRUE;
$handler->display->display_options['relationships']['field_popsu_themloc_lies_nid']['delta'] = '-1';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Champ: Contenu : Nid */
$handler->display->display_options['fields']['nid']['id'] = 'nid';
$handler->display->display_options['fields']['nid']['table'] = 'node';
$handler->display->display_options['fields']['nid']['field'] = 'nid';
$handler->display->display_options['fields']['nid']['relationship'] = 'field_popsu_themloc_lies_nid';
$handler->display->display_options['fields']['nid']['label'] = '';
$handler->display->display_options['fields']['nid']['exclude'] = TRUE;
$handler->display->display_options['fields']['nid']['element_label_colon'] = FALSE;
/* Champ: Global : PHP */
$handler->display->display_options['fields']['php']['id'] = 'php';
$handler->display->display_options['fields']['php']['table'] = 'views';
$handler->display->display_options['fields']['php']['field'] = 'php';
$handler->display->display_options['fields']['php']['label'] = '';
$handler->display->display_options['fields']['php']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['php']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['php']['hide_empty'] = TRUE;
$handler->display->display_options['fields']['php']['use_php_setup'] = 0;
$handler->display->display_options['fields']['php']['php_value'] = '$row->nid';
$handler->display->display_options['fields']['php']['php_output'] = '<style>
#sidebar-first ul.menu li.nid-<?php echo $row->nid; ?> {
background: url(/sites/default/themes/popsu/img/icons/voir-egalement-left-trans.png) no-repeat center left;
padding-left: 15px;
}
#sidebar-first .left-nav-level-2 ul.menu li ul li.nid-<?php echo $row->nid; ?> a {
font-family: OpenSansBoldItalic, verdana,arial,helvetica,sans-serif;
background: url(/sites/default/themes/popsu/img/icons/voir-egalement-right-trans.png) no-repeat top right;
padding-right: 15px;
display: inline;
}
</style>';
$handler->display->display_options['fields']['php']['use_php_click_sortable'] = '0';
$handler->display->display_options['fields']['php']['php_click_sortable'] = '';
$handler->display->display_options['defaults']['arguments'] = FALSE;
/* Filtre contextuel: Contenu : Nid */
$handler->display->display_options['arguments']['nid']['id'] = 'nid';
$handler->display->display_options['arguments']['nid']['table'] = 'node';
$handler->display->display_options['arguments']['nid']['field'] = 'nid';
$handler->display->display_options['arguments']['nid']['default_action'] = 'not found';
$handler->display->display_options['arguments']['nid']['exception']['title'] = 'Tout';
$handler->display->display_options['arguments']['nid']['default_argument_type'] = 'fixed';
$handler->display->display_options['arguments']['nid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['nid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
$handler->display->display_options['defaults']['filter_groups'] = FALSE;
$handler->display->display_options['defaults']['filters'] = FALSE;
/* Critère de filtrage: Contenu : Publié */
$handler->display->display_options['filters']['status']['id'] = 'status';
$handler->display->display_options['filters']['status']['table'] = 'node';
$handler->display->display_options['filters']['status']['field'] = 'status';
$handler->display->display_options['filters']['status']['value'] = 1;
$handler->display->display_options['filters']['status']['group'] = 1;
$handler->display->display_options['filters']['status']['expose']['operator'] = FALSE;
/* Critère de filtrage: Contenu : Type */
$handler->display->display_options['filters']['type']['id'] = 'type';
$handler->display->display_options['filters']['type']['table'] = 'node';
$handler->display->display_options['filters']['type']['field'] = 'type';
$handler->display->display_options['filters']['type']['value'] = array(
'popsu_projet' => 'popsu_projet',
'popsu_theme_local' => 'popsu_theme_local',
);
$handler->display->display_options['pane_category']['name'] = 'Volets de vue';
$handler->display->display_options['argument_input'] = array(
'nid' => array(
'type' => 'user',
'context' => 'string.raw',
'context_optional' => 0,
'panel' => '0',
'fixed' => '',
'label' => 'Contenu : Nid',
),
);
/* Display: Thèmes Locaux Par POPSU Pane Thumbs */
$handler = $view->new_display('panel_pane', 'Thèmes Locaux Par POPSU Pane Thumbs', 'panel_pane_4');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['defaults']['css_class'] = FALSE;
$handler->display->display_options['css_class'] = 'listing-grille';
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
$handler->display->display_options['defaults']['pager'] = FALSE;
$handler->display->display_options['pager']['type'] = 'none';
$handler->display->display_options['pager']['options']['offset'] = '0';
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'list';
$handler->display->display_options['style_options']['row_class'] = 'span2';
$handler->display->display_options['style_options']['default_row_class'] = FALSE;
$handler->display->display_options['style_options']['wrapper_class'] = 'listing-thumb clearfix listing-themes';
$handler->display->display_options['defaults']['style_options'] = FALSE;
$handler->display->display_options['defaults']['row_plugin'] = FALSE;
$handler->display->display_options['row_plugin'] = 'fields';
$handler->display->display_options['defaults']['row_options'] = FALSE;
$handler->display->display_options['defaults']['header'] = FALSE;
/* Entête: Global : Résumé des résultats */
$handler->display->display_options['header']['result']['id'] = 'result';
$handler->display->display_options['header']['result']['table'] = 'views';
$handler->display->display_options['header']['result']['field'] = 'result';
$handler->display->display_options['header']['result']['content'] = '@total thèmes';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Champ: Contenu : Image d'introduction */
$handler->display->display_options['fields']['field_popsu_themloc_imageintro']['id'] = 'field_popsu_themloc_imageintro';
$handler->display->display_options['fields']['field_popsu_themloc_imageintro']['table'] = 'field_data_field_popsu_themloc_imageintro';
$handler->display->display_options['fields']['field_popsu_themloc_imageintro']['field'] = 'field_popsu_themloc_imageintro';
$handler->display->display_options['fields']['field_popsu_themloc_imageintro']['label'] = '';
$handler->display->display_options['fields']['field_popsu_themloc_imageintro']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_popsu_themloc_imageintro']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_popsu_themloc_imageintro']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_popsu_themloc_imageintro']['settings'] = array(
'image_style' => 'popsu-themlocs-listing-small',
'image_link' => '',
);
$handler->display->display_options['fields']['field_popsu_themloc_imageintro']['delta_limit'] = '1';
$handler->display->display_options['fields']['field_popsu_themloc_imageintro']['delta_offset'] = '0';
/* Champ: Contenu : Chemin */
$handler->display->display_options['fields']['path']['id'] = 'path';
$handler->display->display_options['fields']['path']['table'] = 'node';
$handler->display->display_options['fields']['path']['field'] = 'path';
$handler->display->display_options['fields']['path']['label'] = '';
$handler->display->display_options['fields']['path']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['path']['alter']['text'] = '<a href="[path]" class="image-placeover">[field_popsu_themloc_imageintro]</a>';
$handler->display->display_options['fields']['path']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['path']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['path']['absolute'] = TRUE;
/* Champ: Contenu : Titre */
$handler->display->display_options['fields']['title']['id'] = 'title';
$handler->display->display_options['fields']['title']['table'] = 'node';
$handler->display->display_options['fields']['title']['field'] = 'title';
$handler->display->display_options['fields']['title']['label'] = '';
$handler->display->display_options['fields']['title']['alter']['max_length'] = '35';
$handler->display->display_options['fields']['title']['alter']['word_boundary'] = FALSE;
$handler->display->display_options['fields']['title']['alter']['trim'] = TRUE;
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
/* Champ: Contenu : Ville */
$handler->display->display_options['fields']['field_popsu_themloc_ville']['id'] = 'field_popsu_themloc_ville';
$handler->display->display_options['fields']['field_popsu_themloc_ville']['table'] = 'field_data_field_popsu_themloc_ville';
$handler->display->display_options['fields']['field_popsu_themloc_ville']['field'] = 'field_popsu_themloc_ville';
$handler->display->display_options['fields']['field_popsu_themloc_ville']['label'] = '';
$handler->display->display_options['fields']['field_popsu_themloc_ville']['exclude'] = TRUE;
$handler->display->display_options['fields']['field_popsu_themloc_ville']['alter']['alter_text'] = TRUE;
$handler->display->display_options['fields']['field_popsu_themloc_ville']['alter']['text'] = '[title] <span class="listing-projet-ville">([field_popsu_themloc_ville])</span>';
$handler->display->display_options['fields']['field_popsu_themloc_ville']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_popsu_themloc_ville']['element_default_classes'] = FALSE;
$handler->display->display_options['fields']['field_popsu_themloc_ville']['type'] = 'taxonomy_term_reference_plain';
$handler->display->display_options['defaults']['sorts'] = FALSE;
/* Critère de tri: Contenu : Titre */
$handler->display->display_options['sorts']['title']['id'] = 'title';
$handler->display->display_options['sorts']['title']['table'] = 'node';
$handler->display->display_options['sorts']['title']['field'] = 'title';
$handler->display->display_options['defaults']['arguments'] = FALSE;
/* Filtre contextuel: Contenu : POPSU (field_popsu_themloc_popsu) */
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['id'] = 'field_popsu_themloc_popsu_tid';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['table'] = 'field_data_field_popsu_themloc_popsu';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['field'] = 'field_popsu_themloc_popsu_tid';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['default_action'] = 'not found';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['exception']['title'] = 'Tout';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['default_argument_type'] = 'fixed';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['field_popsu_themloc_popsu_tid']['summary_options']['items_per_page'] = '25';
$handler->display->display_options['pane_category']['name'] = 'Volets de vue';
$handler->display->display_options['argument_input'] = array(
'field_popsu_themloc_ville_tid' => array(
'type' => 'user',
'context' => 'string.raw',
'context_optional' => 0,
'panel' => '0',
'fixed' => '',
'label' => 'Contenu : Ville (field_popsu_themloc_ville)',
),
'field_popsu_themloc_popsu_tid' => array(
'type' => 'user',
'context' => 'string.raw',
'context_optional' => 0,
'panel' => '0',
'fixed' => '',
'label' => 'Contenu : POPSU (field_popsu_themloc_popsu)',
),
);
$translatables['themes_local'] = array(
t('Master'),
t('plus'),
t('Appliquer'),
t('Réinitialiser'),
t('Trier par'),
t('Asc'),
t('Desc'),
t('Éléments par page'),
t('- Tout -'),
t('Décalage'),
t('« premier'),
t('‹ précédent'),
t('suivant ›'),
t('dernier »'),
t('Page'),
t('Thèmes locaux'),
t('Thèmes Par Ville Pane'),
t('Les thèmes'),
t('Tout'),
t('Volets de vue'),
t('Thèmes Locaux Par POPSU Pane'),
t('@total thèmes'),
t('[title] <span class="listing-projet-ville">([field_popsu_themloc_ville])</span>'),
t('Contenus liés Thèmes NID'),
t('field_popsu_themloc_lies'),
t('Thèmes Locaux Par POPSU Pane Thumbs'),
t('<a href="[path]" class="image-placeover">[field_popsu_themloc_imageintro]</a>'),
);
$export['themes_local'] = $view;
return $export;
}