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

View File

@@ -0,0 +1,50 @@
<?php
/**
* @file
* popsu_themes_europe.context.inc
*/
/**
* Implements hook_context_default_contexts().
*/
function popsu_themes_europe_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-themes-europe-node';
$context->description = 'Contexte d\'un noeud de type Thème POPSU Europe (feature)';
$context->tag = 'themes-europe-feature';
$context->conditions = array(
'node' => array(
'values' => array(
'popsu_theme_europe' => 'popsu_theme_europe',
),
'options' => array(
'node_form' => '1',
),
),
);
$context->reactions = array(
'block' => array(
'blocks' => array(
'menu_block-6' => array(
'module' => 'menu_block',
'delta' => '6',
'region' => 'sidebar_first',
'weight' => '-10',
),
),
),
);
$context->condition_mode = 0;
// Translatables
// Included for use with string extractors like potx.
t('Contexte d\'un noeud de type Thème POPSU Europe (feature)');
t('themes-europe-feature');
$export['popsu-themes-europe-node'] = $context;
return $export;
}

View File

@@ -0,0 +1,502 @@
<?php
/**
* @file
* popsu_themes_europe.features.field.inc
*/
/**
* Implements hook_field_default_fields().
*/
function popsu_themes_europe_field_default_fields() {
$fields = array();
// Exported field: 'node-popsu_theme_europe-field_popsu_themeur_equipe'.
$fields['node-popsu_theme_europe-field_popsu_themeur_equipe'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_popsu_themeur_equipe',
'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_europe',
'default_value' => NULL,
'deleted' => '0',
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 8,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_popsu_themeur_equipe',
'label' => 'Equipe',
'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' => '6',
),
),
);
// Exported field: 'node-popsu_theme_europe-field_popsu_themeur_intro'.
$fields['node-popsu_theme_europe-field_popsu_themeur_intro'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_popsu_themeur_intro',
'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_europe',
'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_themeur_intro',
'label' => 'Texte d\'introduction',
'required' => 0,
'settings' => array(
'display_summary' => 0,
'text_processing' => '1',
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'rows' => '20',
'summary_rows' => 5,
),
'type' => 'text_textarea_with_summary',
'weight' => '2',
),
),
);
// Exported field: 'node-popsu_theme_europe-field_popsu_themeur_partenaires'.
$fields['node-popsu_theme_europe-field_popsu_themeur_partenaires'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '-1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_popsu_themeur_partenaires',
'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_europe',
'deleted' => '0',
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'image',
'settings' => array(
'image_link' => '',
'image_style' => '',
),
'type' => 'image',
'weight' => 6,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_popsu_themeur_partenaires',
'label' => '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]/partenaires',
),
'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' => '5',
),
),
);
// Exported field: 'node-popsu_theme_europe-field_popsu_themeur_popsu'.
$fields['node-popsu_theme_europe-field_popsu_themeur_popsu'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_popsu_themeur_popsu',
'foreign keys' => array(
'tid' => array(
'columns' => array(
'tid' => 'tid',
),
'table' => 'taxonomy_term_data',
),
),
'indexes' => array(
'tid' => array(
0 => 'tid',
),
),
'locked' => '0',
'module' => 'taxonomy',
'settings' => array(
'allowed_values' => array(
0 => array(
'vocabulary' => 'popsu_popsu',
'parent' => '0',
),
),
'options_list_callback' => 'i18n_taxonomy_allowed_values',
),
'translatable' => '0',
'type' => 'taxonomy_term_reference',
),
'field_instance' => array(
'bundle' => 'popsu_theme_europe',
'default_value' => array(
0 => array(
'tid' => '3',
),
),
'deleted' => '0',
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'i18n_taxonomy',
'settings' => array(),
'type' => 'i18n_taxonomy_term_reference_link',
'weight' => 2,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_popsu_themeur_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: 'node-popsu_theme_europe-field_popsu_themeur_thumb'.
$fields['node-popsu_theme_europe-field_popsu_themeur_thumb'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_popsu_themeur_thumb',
'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_europe',
'deleted' => '0',
'description' => 'Cette image sera utilisée dans la liste des thèmes, sur la page d\'accueil POPSU Europe.',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'image',
'settings' => array(
'image_link' => '',
'image_style' => '',
),
'type' => 'image',
'weight' => 5,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_popsu_themeur_thumb',
'label' => 'Image du thème (miniature)',
'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]/thumb',
),
'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' => '5',
),
),
);
// Exported field: 'node-popsu_theme_europe-field_popsu_themeur_titleshort'.
$fields['node-popsu_theme_europe-field_popsu_themeur_titleshort'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_popsu_themeur_titleshort',
'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_theme_europe',
'default_value' => NULL,
'deleted' => '0',
'description' => 'Cette version du titre sera utilisée pour les listes de thèmes dans les fiches villes.',
'display' => array(
'default' => array(
'label' => 'above',
'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_themeur_titleshort',
'label' => 'Version courte de l\'intitulé',
'required' => 1,
'settings' => array(
'text_processing' => '0',
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'size' => '60',
),
'type' => 'text_textfield',
'weight' => '3',
),
),
);
// Translatables
// Included for use with string extractors like potx.
t('Cette image sera utilisée dans la liste des thèmes, sur la page d\'accueil POPSU Europe.');
t('Cette version du titre sera utilisée pour les listes de thèmes dans les fiches villes.');
t('Equipe');
t('Image du thème (miniature)');
t('POPSU');
t('Partenaires');
t('Texte d\'introduction');
t('Version courte de l\'intitulé');
return $fields;
}

View File

@@ -0,0 +1,107 @@
<?php
/**
* @file
* popsu_themes_europe.features.inc
*/
/**
* Implements hook_ctools_plugin_api().
*/
function popsu_themes_europe_ctools_plugin_api() {
list($module, $api) = func_get_args();
if ($module == "context" && $api == "context") {
return array("version" => "3");
}
list($module, $api) = func_get_args();
if ($module == "field_group" && $api == "field_group") {
return array("version" => "1");
}
list($module, $api) = func_get_args();
if ($module == "page_manager" && $api == "pages_default") {
return array("version" => "1");
}
list($module, $api) = func_get_args();
if ($module == "strongarm" && $api == "strongarm") {
return array("version" => "1");
}
}
/**
* Implements hook_views_api().
*/
function popsu_themes_europe_views_api() {
return array("version" => "3.0");
}
/**
* Implements hook_image_default_styles().
*/
function popsu_themes_europe_image_default_styles() {
$styles = array();
// Exported image style: popsu-themeseur-listing-small.
$styles['popsu-themeseur-listing-small'] = array(
'name' => 'popsu-themeseur-listing-small',
'effects' => array(
12 => 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',
),
),
);
// Exported image style: popsu-themeseurope-diaporama.
$styles['popsu-themeseurope-diaporama'] = array(
'name' => 'popsu-themeseurope-diaporama',
'effects' => array(
4 => 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',
),
),
);
return $styles;
}
/**
* Implements hook_node_info().
*/
function popsu_themes_europe_node_info() {
$items = array(
'popsu_theme_europe' => array(
'name' => t('Thème POPSU Europe'),
'base' => 'node_content',
'description' => t('Ce type de contenu permet de créer la page d\'un thème POPSU Europe.'),
'has_title' => '1',
'title_label' => t('Intitulé du thème'),
'help' => '',
),
);
return $items;
}

View File

@@ -0,0 +1,152 @@
<?php
/**
* @file
* popsu_themes_europe.field_group.inc
*/
/**
* Implements hook_field_group_info().
*/
function popsu_themes_europe_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_themeur_basic|node|popsu_theme_europe|form';
$field_group->group_name = 'group_popsu_themeur_basic';
$field_group->entity_type = 'node';
$field_group->bundle = 'popsu_theme_europe';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Informations essentielles',
'weight' => '0',
'children' => array(
0 => 'field_popsu_themeur_popsu',
1 => 'field_popsu_themeur_titleshort',
2 => 'title',
),
'format_type' => 'tab',
'format_settings' => array(
'formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
);
$export['group_popsu_themeur_basic|node|popsu_theme_europe|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_themeur_equipe|node|popsu_theme_europe|form';
$field_group->group_name = 'group_popsu_themeur_equipe';
$field_group->entity_type = 'node';
$field_group->bundle = 'popsu_theme_europe';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Equipe de recherche',
'weight' => '2',
'children' => array(
0 => 'field_popsu_themeur_equipe',
),
'format_type' => 'tab',
'format_settings' => array(
'formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
);
$export['group_popsu_themeur_equipe|node|popsu_theme_europe|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_themeur_images|node|popsu_theme_europe|form';
$field_group->group_name = 'group_popsu_themeur_images';
$field_group->entity_type = 'node';
$field_group->bundle = 'popsu_theme_europe';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Image / Miniature',
'weight' => '3',
'children' => array(
0 => 'field_popsu_themeur_thumb',
),
'format_type' => 'tab',
'format_settings' => array(
'label' => 'Image / Miniature',
'instance_settings' => array(
'required_fields' => 1,
'classes' => '',
'description' => '',
),
'formatter' => 'closed',
),
);
$export['group_popsu_themeur_images|node|popsu_theme_europe|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_themeur_intro|node|popsu_theme_europe|form';
$field_group->group_name = 'group_popsu_themeur_intro';
$field_group->entity_type = 'node';
$field_group->bundle = 'popsu_theme_europe';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Introduction',
'weight' => '1',
'children' => array(
0 => 'field_popsu_themeur_intro',
),
'format_type' => 'tab',
'format_settings' => array(
'formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
);
$export['group_popsu_themeur_intro|node|popsu_theme_europe|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_themeur_partenaires|node|popsu_theme_europe|form';
$field_group->group_name = 'group_popsu_themeur_partenaires';
$field_group->entity_type = 'node';
$field_group->bundle = 'popsu_theme_europe';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Logos des partenaires',
'weight' => '4',
'children' => array(
0 => 'field_popsu_themeur_partenaires',
),
'format_type' => 'tab',
'format_settings' => array(
'formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
);
$export['group_popsu_themeur_partenaires|node|popsu_theme_europe|form'] = $field_group;
return $export;
}

View File

@@ -0,0 +1,51 @@
name = POPSU Thèmes Europe
description = POPSU - Type de contenu Thèmes Europe
core = 7.x
package = POPSU
php = 5.2.4
version = 7.x-1.0-beta9
project = popsu_themes_europe
dependencies[] = context
dependencies[] = ctools
dependencies[] = features
dependencies[] = field_group
dependencies[] = filefield_paths
dependencies[] = i18n_taxonomy
dependencies[] = image
dependencies[] = menu_block
dependencies[] = options
dependencies[] = page_manager
dependencies[] = popsu_taxonomies
dependencies[] = strongarm
dependencies[] = taxonomy
dependencies[] = views_content
features[context][] = popsu-themes-europe-node
features[ctools][] = context:context:3
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_theme_europe-field_popsu_themeur_equipe
features[field][] = node-popsu_theme_europe-field_popsu_themeur_intro
features[field][] = node-popsu_theme_europe-field_popsu_themeur_partenaires
features[field][] = node-popsu_theme_europe-field_popsu_themeur_popsu
features[field][] = node-popsu_theme_europe-field_popsu_themeur_thumb
features[field][] = node-popsu_theme_europe-field_popsu_themeur_titleshort
features[field_group][] = group_popsu_themeur_basic|node|popsu_theme_europe|form
features[field_group][] = group_popsu_themeur_equipe|node|popsu_theme_europe|form
features[field_group][] = group_popsu_themeur_images|node|popsu_theme_europe|form
features[field_group][] = group_popsu_themeur_intro|node|popsu_theme_europe|form
features[field_group][] = group_popsu_themeur_partenaires|node|popsu_theme_europe|form
features[image][] = popsu-themeseur-listing-small
features[image][] = popsu-themeseurope-diaporama
features[node][] = popsu_theme_europe
features[page_manager_handlers][] = node_view_panel_context_9
features[variable][] = field_bundle_settings_node__popsu_theme_europe
features[variable][] = language_content_type_popsu_theme_europe
features[variable][] = menu_options_popsu_theme_europe
features[variable][] = menu_parent_popsu_theme_europe
features[variable][] = node_options_popsu_theme_europe
features[variable][] = node_preview_popsu_theme_europe
features[variable][] = node_submitted_popsu_theme_europe
features[views_view][] = themes_europe

View File

@@ -0,0 +1,7 @@
<?php
/**
* @file
* Code for the POPSU Thèmes Europe feature.
*/
include_once 'popsu_themes_europe.features.inc';

View File

@@ -0,0 +1,398 @@
<?php
/**
* @file
* popsu_themes_europe.pages_default.inc
*/
/**
* Implements hook_default_page_manager_handlers().
*/
function popsu_themes_europe_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_9';
$handler->task = 'node_view';
$handler->subtask = '';
$handler->handler = 'panel_context';
$handler->weight = 8;
$handler->conf = array(
'title' => 'Thèmes Europe (feature)',
'no_blocks' => 0,
'pipeline' => 'standard',
'body_classes_to_remove' => '',
'body_classes_to_add' => 'panel-theme-europe',
'css_id' => '',
'css' => '',
'contexts' => array(),
'relationships' => array(
0 => array(
'identifier' => 'Terme de taxonomie from Nœud (on Nœud: POPSU [field_popsu_themeur_popsu])',
'keyword' => 'taxonomy_term',
'name' => 'entity_from_field:field_popsu_themeur_popsu-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_europe' => 'popsu_theme_europe',
),
),
'context' => 'argument_entity_id:node_1',
'not' => FALSE,
),
),
'logic' => 'and',
),
);
$display = new panels_display();
$display->layout = 'flexible:popsu_74_36_stacked';
$display->layout_settings = array();
$display->panel_settings = array(
'style_settings' => array(
'default' => NULL,
'top' => NULL,
'left' => NULL,
'right' => NULL,
'bottom' => NULL,
'header' => NULL,
'footer' => NULL,
),
);
$display->cache = array();
$display->title = '%node:title';
$display->content = array();
$display->panels = array();
$pane = new stdClass();
$pane->pid = 'new-1';
$pane->panel = 'footer';
$pane->type = 'node_content';
$pane->subtype = 'node_content';
$pane->shown = FALSE;
$pane->access = array();
$pane->configuration = array(
'links' => 0,
'no_extras' => 0,
'override_title' => 0,
'override_title_text' => '',
'identifier' => '',
'link' => 0,
'leave_node_title' => 0,
'build_mode' => 'full',
'context' => 'argument_entity_id:node_1',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$pane->extras = array();
$pane->position = 0;
$pane->locks = array();
$display->content['new-1'] = $pane;
$display->panels['footer'][0] = 'new-1';
$pane = new stdClass();
$pane->pid = 'new-2';
$pane->panel = 'left';
$pane->type = 'views_panes';
$pane->subtype = 'projets_europe-panel_pane_3';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'arguments' => array(
'field_popsu_projeteur_theme_nid' => '%node:nid',
),
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array(
'css_id' => '',
'css_class' => '',
);
$pane->extras = array();
$pane->position = 0;
$pane->locks = array();
$display->content['new-2'] = $pane;
$display->panels['left'][0] = 'new-2';
$pane = new stdClass();
$pane->pid = 'new-3';
$pane->panel = 'left';
$pane->type = 'entity_field';
$pane->subtype = 'node:field_popsu_themeur_intro';
$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-88p',
);
$pane->extras = array();
$pane->position = 1;
$pane->locks = array();
$display->content['new-3'] = $pane;
$display->panels['left'][1] = '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' => 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 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 = 'projets_europe-panel_pane_1';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'arguments' => array(
'field_popsu_projeteur_theme_nid' => '%node:nid',
),
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array(
'css_id' => 'accordion-h2-projetseurope',
'css_class' => 'accordion-h2 accordion-h2-views',
);
$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 = 'entity_field';
$pane->subtype = 'node:field_popsu_themeur_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' => 1,
'override_title_text' => 'Equipe',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array(
'css_id' => 'accordion-h2-equipe-recherche',
'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 = 'views_panes';
$pane->subtype = 'documents-panel_pane_5';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'arguments' => array(
'field_popsu_doc_parent_nid' => '%node:nid',
'field_popsu_doc_type_tid' => '57',
),
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array(
'css_id' => 'accordion-h2-seminaire',
'css_class' => 'accordion-h2 accordion-h2-panel',
);
$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 = 'views_panes';
$pane->subtype = 'publications-panel_pane_4';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'arguments' => array(
'field_popsu_publication_popsu_tid' => '%taxonomy_term:tid',
'field_popsu_publication_theme_nid' => '%node:nid',
),
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array(
'css_id' => 'accordion-h2-publication-europe',
'css_class' => '',
);
$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 = 'right';
$pane->type = 'views_panes';
$pane->subtype = 'documents-panel_pane_6';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'arguments' => array(
'field_popsu_doc_parent_nid' => '%node:nid',
'field_popsu_doc_type_tid' => '58',
),
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array(
'css_id' => 'accordion-h2-biblio',
'css_class' => 'accordion-h2 accordion-h2-panel',
);
$pane->extras = array();
$pane->position = 5;
$pane->locks = array();
$display->content['new-9'] = $pane;
$display->panels['right'][5] = 'new-9';
$pane = new stdClass();
$pane->pid = 'new-10';
$pane->panel = 'right';
$pane->type = 'entity_field';
$pane->subtype = 'node:field_popsu_themeur_partenaires';
$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-partenaires',
'css_class' => 'accordion-h2 accordion-h2-panel',
);
$pane->extras = array();
$pane->position = 6;
$pane->locks = array();
$display->content['new-10'] = $pane;
$display->panels['right'][6] = 'new-10';
$pane = new stdClass();
$pane->pid = 'new-11';
$pane->panel = 'top';
$pane->type = 'node_title';
$pane->subtype = 'node_title';
$pane->shown = FALSE;
$pane->access = array();
$pane->configuration = array(
'link' => 1,
'context' => 'argument_entity_id:node_1',
'override_title' => 0,
'override_title_text' => '',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$pane->extras = array();
$pane->position = 0;
$pane->locks = array();
$display->content['new-11'] = $pane;
$display->panels['top'][0] = 'new-11';
$display->hide_title = PANELS_TITLE_FIXED;
$display->title_pane = '0';
$handler->conf['display'] = $display;
$export['node_view_panel_context_9'] = $handler;
return $export;
}

View File

@@ -0,0 +1,81 @@
<?php
/**
* @file
* popsu_themes_europe.strongarm.inc
*/
/**
* Implements hook_strongarm().
*/
function popsu_themes_europe_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_europe';
$strongarm->value = array(
'view_modes' => array(),
'extra_fields' => array(
'form' => array(
'title' => array(
'weight' => '2',
),
'path' => array(
'weight' => '5',
),
),
'display' => array(),
),
);
$export['field_bundle_settings_node__popsu_theme_europe'] = $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_europe';
$strongarm->value = '0';
$export['language_content_type_popsu_theme_europe'] = $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_europe';
$strongarm->value = array(
0 => 'menu-popsu-menu-popsu-europe',
);
$export['menu_options_popsu_theme_europe'] = $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_europe';
$strongarm->value = 'menu-popsu-menu-popsu-europe:1215';
$export['menu_parent_popsu_theme_europe'] = $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_europe';
$strongarm->value = array(
0 => 'status',
1 => 'revision',
);
$export['node_options_popsu_theme_europe'] = $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_europe';
$strongarm->value = '0';
$export['node_preview_popsu_theme_europe'] = $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_europe';
$strongarm->value = 0;
$export['node_submitted_popsu_theme_europe'] = $strongarm;
return $export;
}

View File

@@ -0,0 +1,174 @@
<?php
/**
* @file
* popsu_themes_europe.views_default.inc
*/
/**
* Implements hook_views_default_views().
*/
function popsu_themes_europe_views_default_views() {
$export = array();
$view = new view();
$view->name = 'themes_europe';
$view->description = 'Liste des publications';
$view->tag = 'POPSU';
$view->base_table = 'node';
$view->human_name = 'Thèmes Europe';
$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'] = 'none';
$handler->display->display_options['pager']['options']['offset'] = '0';
$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_europe' => 'popsu_theme_europe',
);
/* Display: Page */
$handler = $view->new_display('page', 'Page', 'page_1');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Thèmes Europe';
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
$handler->display->display_options['path'] = 'themes-europe';
/* Display: Thèmes Europe Par POPSU Pane */
$handler = $view->new_display('panel_pane', 'Thèmes Europe Par POPSU Pane', 'panel_pane_2');
$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']['class'] = 'listing-themestrans';
$handler->display->display_options['style_options']['wrapper_class'] = 'listing-thumb clearfix';
$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 du thème (miniature) */
$handler->display->display_options['fields']['field_popsu_themeur_thumb']['id'] = 'field_popsu_themeur_thumb';
$handler->display->display_options['fields']['field_popsu_themeur_thumb']['table'] = 'field_data_field_popsu_themeur_thumb';
$handler->display->display_options['fields']['field_popsu_themeur_thumb']['field'] = 'field_popsu_themeur_thumb';
$handler->display->display_options['fields']['field_popsu_themeur_thumb']['label'] = '';
$handler->display->display_options['fields']['field_popsu_themeur_thumb']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_popsu_themeur_thumb']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_popsu_themeur_thumb']['settings'] = array(
'image_style' => 'popsu-themeseur-listing-small',
'image_link' => 'content',
);
/* 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;
$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_themeur_popsu) */
$handler->display->display_options['arguments']['field_popsu_themeur_popsu_tid']['id'] = 'field_popsu_themeur_popsu_tid';
$handler->display->display_options['arguments']['field_popsu_themeur_popsu_tid']['table'] = 'field_data_field_popsu_themeur_popsu';
$handler->display->display_options['arguments']['field_popsu_themeur_popsu_tid']['field'] = 'field_popsu_themeur_popsu_tid';
$handler->display->display_options['arguments']['field_popsu_themeur_popsu_tid']['default_action'] = 'not found';
$handler->display->display_options['arguments']['field_popsu_themeur_popsu_tid']['exception']['title'] = 'Tout';
$handler->display->display_options['arguments']['field_popsu_themeur_popsu_tid']['default_argument_type'] = 'fixed';
$handler->display->display_options['arguments']['field_popsu_themeur_popsu_tid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['field_popsu_themeur_popsu_tid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['field_popsu_themeur_popsu_tid']['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_theme_europe' => 'popsu_theme_europe',
);
$handler->display->display_options['pane_category']['name'] = 'Volets de vue';
$handler->display->display_options['argument_input'] = array(
'field_popsu_themeur_popsu_tid' => array(
'type' => 'user',
'context' => 'string.raw',
'context_optional' => 0,
'panel' => '0',
'fixed' => '',
'label' => 'Contenu : POPSU (field_popsu_themeur_popsu)',
),
);
$translatables['themes_europe'] = array(
t('Master'),
t('plus'),
t('Appliquer'),
t('Réinitialiser'),
t('Trier par'),
t('Asc'),
t('Desc'),
t('Page'),
t('Thèmes Europe'),
t('Thèmes Europe Par POPSU Pane'),
t('@total thèmes'),
t('Tout'),
t('Volets de vue'),
);
$export['themes_europe'] = $view;
return $export;
}