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_villes_europe.context.inc
*/
/**
* Implements hook_context_default_contexts().
*/
function popsu_villes_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-villes-europe-node';
$context->description = 'Contexte d\'un noeud de type Ville POPSU Europe (feature)';
$context->tag = 'villes-europe-feature';
$context->conditions = array(
'node' => array(
'values' => array(
'popsu_ville_europe' => 'popsu_ville_europe',
),
'options' => array(
'node_form' => '0',
),
),
);
$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 Ville POPSU Europe (feature)');
t('villes-europe-feature');
$export['popsu-villes-europe-node'] = $context;
return $export;
}

View File

@@ -0,0 +1,336 @@
<?php
/**
* @file
* popsu_villes_europe.features.field.inc
*/
/**
* Implements hook_field_default_fields().
*/
function popsu_villes_europe_field_default_fields() {
$fields = array();
// Exported field: 'node-popsu_ville_europe-field_popsu_villeur_body'.
$fields['node-popsu_ville_europe-field_popsu_villeur_body'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_popsu_villeur_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_ville_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_villeur_body',
'label' => 'Texte d\'introduction',
'required' => 0,
'settings' => array(
'display_summary' => 0,
'text_processing' => '1',
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'text',
'settings' => array(
'rows' => '20',
'summary_rows' => 5,
),
'type' => 'text_textarea_with_summary',
'weight' => '2',
),
),
);
// Exported field: 'node-popsu_ville_europe-field_popsu_villeur_diapo'.
$fields['node-popsu_ville_europe-field_popsu_villeur_diapo'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '-1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_popsu_villeur_diapo',
'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_ville_europe',
'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_villeur_diapo',
'label' => 'Images du diaporama',
'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]/diaporama',
),
'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' => '3',
),
),
);
// Exported field: 'node-popsu_ville_europe-field_popsu_villeur_popsu'.
$fields['node-popsu_ville_europe-field_popsu_villeur_popsu'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_popsu_villeur_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_ville_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' => 3,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_popsu_villeur_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_ville_europe-field_popsu_villeur_ville'.
$fields['node-popsu_ville_europe-field_popsu_villeur_ville'] = array(
'field_config' => array(
'active' => '1',
'cardinality' => '1',
'deleted' => '0',
'entity_types' => array(),
'field_name' => 'field_popsu_villeur_ville',
'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_villes',
'parent' => '0',
),
),
'options_list_callback' => 'i18n_taxonomy_allowed_values',
),
'translatable' => '0',
'type' => 'taxonomy_term_reference',
),
'field_instance' => array(
'bundle' => 'popsu_ville_europe',
'default_value' => NULL,
'deleted' => '0',
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'module' => 'i18n_taxonomy',
'settings' => array(),
'type' => 'i18n_taxonomy_term_reference_link',
'weight' => 4,
),
'teaser' => array(
'label' => 'above',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,
),
),
'entity_type' => 'node',
'field_name' => 'field_popsu_villeur_ville',
'label' => 'Ville',
'required' => 1,
'settings' => array(
'user_register_form' => FALSE,
),
'widget' => array(
'active' => 1,
'module' => 'options',
'settings' => array(),
'type' => 'options_select',
'weight' => '2',
),
),
);
// Translatables
// Included for use with string extractors like potx.
t('Images du diaporama');
t('POPSU');
t('Texte d\'introduction');
t('Ville');
return $fields;
}

View File

@@ -0,0 +1,85 @@
<?php
/**
* @file
* popsu_villes_europe.features.inc
*/
/**
* Implements hook_ctools_plugin_api().
*/
function popsu_villes_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_villes_europe_views_api() {
return array("version" => "3.0");
}
/**
* Implements hook_image_default_styles().
*/
function popsu_villes_europe_image_default_styles() {
$styles = array();
// Exported image style: popsu-villeseurope-diaporama.
$styles['popsu-villeseurope-diaporama'] = array(
'name' => 'popsu-villeseurope-diaporama',
'effects' => array(
3 => 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_villes_europe_node_info() {
$items = array(
'popsu_ville_europe' => array(
'name' => t('Fiche Ville POPSU Europe'),
'base' => 'node_content',
'description' => t('Ce type de contenu permet de créer la fiche de présentation d\'une ville pour la partie POPSU Europe.'),
'has_title' => '1',
'title_label' => t('Nom de la ville'),
'help' => '',
),
);
return $items;
}

View File

@@ -0,0 +1,97 @@
<?php
/**
* @file
* popsu_villes_europe.field_group.inc
*/
/**
* Implements hook_field_group_info().
*/
function popsu_villes_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_villeur_basic|node|popsu_ville_europe|form';
$field_group->group_name = 'group_popsu_villeur_basic';
$field_group->entity_type = 'node';
$field_group->bundle = 'popsu_ville_europe';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Informations essentielles',
'weight' => '0',
'children' => array(
0 => 'field_popsu_villeur_popsu',
1 => 'field_popsu_villeur_ville',
2 => 'title',
),
'format_type' => 'tab',
'format_settings' => array(
'formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
);
$export['group_popsu_villeur_basic|node|popsu_ville_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_villeur_images|node|popsu_ville_europe|form';
$field_group->group_name = 'group_popsu_villeur_images';
$field_group->entity_type = 'node';
$field_group->bundle = 'popsu_ville_europe';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Images',
'weight' => '2',
'children' => array(
0 => 'field_popsu_villeur_diapo',
),
'format_type' => 'tab',
'format_settings' => array(
'formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
);
$export['group_popsu_villeur_images|node|popsu_ville_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_villeur_intro|node|popsu_ville_europe|form';
$field_group->group_name = 'group_popsu_villeur_intro';
$field_group->entity_type = 'node';
$field_group->bundle = 'popsu_ville_europe';
$field_group->mode = 'form';
$field_group->parent_name = '';
$field_group->data = array(
'label' => 'Introduction',
'weight' => '1',
'children' => array(
0 => 'field_popsu_villeur_body',
),
'format_type' => 'tab',
'format_settings' => array(
'formatter' => 'closed',
'instance_settings' => array(
'description' => '',
'classes' => '',
'required_fields' => 1,
),
),
);
$export['group_popsu_villeur_intro|node|popsu_ville_europe|form'] = $field_group;
return $export;
}

View File

@@ -0,0 +1,46 @@
name = POPSU Villes Europe
description = POPSU - Type de contenu Villes Europe
core = 7.x
package = POPSU
php = 5.2.4
version = 7.x-1.0-beta9
project = popsu_villes_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-villes-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_ville_europe-field_popsu_villeur_body
features[field][] = node-popsu_ville_europe-field_popsu_villeur_diapo
features[field][] = node-popsu_ville_europe-field_popsu_villeur_popsu
features[field][] = node-popsu_ville_europe-field_popsu_villeur_ville
features[field_group][] = group_popsu_villeur_basic|node|popsu_ville_europe|form
features[field_group][] = group_popsu_villeur_images|node|popsu_ville_europe|form
features[field_group][] = group_popsu_villeur_intro|node|popsu_ville_europe|form
features[image][] = popsu-villeseurope-diaporama
features[node][] = popsu_ville_europe
features[page_manager_handlers][] = node_view_panel_context_8
features[variable][] = field_bundle_settings_node__popsu_ville_europe
features[variable][] = language_content_type_popsu_ville_europe
features[variable][] = menu_options_popsu_ville_europe
features[variable][] = menu_parent_popsu_ville_europe
features[variable][] = node_options_popsu_ville_europe
features[variable][] = node_preview_popsu_ville_europe
features[variable][] = node_submitted_popsu_ville_europe
features[views_view][] = villes_europe

View File

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

View File

@@ -0,0 +1,284 @@
<?php
/**
* @file
* popsu_villes_europe.pages_default.inc
*/
/**
* Implements hook_default_page_manager_handlers().
*/
function popsu_villes_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_8';
$handler->task = 'node_view';
$handler->subtask = '';
$handler->handler = 'panel_context';
$handler->weight = 7;
$handler->conf = array(
'title' => 'Villes Europe (feature)',
'no_blocks' => 0,
'pipeline' => 'standard',
'body_classes_to_remove' => '',
'body_classes_to_add' => 'panel-ville-europe',
'css_id' => '',
'css' => '',
'contexts' => array(),
'relationships' => array(
0 => array(
'identifier' => 'Terme de taxonomie from Nœud (on Nœud: POPSU [field_popsu_villeur_popsu])',
'keyword' => 'taxonomy_term',
'name' => 'entity_from_field:field_popsu_villeur_popsu-node-taxonomy_term',
'delta' => 0,
'context' => 'argument_entity_id:node_1',
'id' => 1,
),
1 => array(
'identifier' => 'Terme de taxonomie from Nœud (on Nœud: Ville [field_popsu_villeur_ville])',
'keyword' => 'taxonomy_term_2',
'name' => 'entity_from_field:field_popsu_villeur_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_ville_europe' => 'popsu_ville_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 = 'entity_field';
$pane->subtype = 'node:field_popsu_villeur_diapo';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'label' => 'title',
'formatter' => 'image',
'delta_limit' => '0',
'delta_offset' => '0',
'delta_reversed' => 0,
'formatter_settings' => array(
'image_style' => 'popsu-villeseurope-diaporama',
'image_link' => '',
),
'context' => 'argument_entity_id:node_1',
'override_title' => 1,
'override_title_text' => '<none>',
'admin_title' => 'Draft',
'title' => 'Rubrique ?',
'body' => '',
'format' => 'filtered_html',
'substitute' => 1,
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$pane->extras = array();
$pane->position = 0;
$pane->locks = array();
$display->content['new-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_villeur_body';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'label' => 'title',
'formatter' => 'text_default',
'delta_limit' => 0,
'delta_offset' => '0',
'delta_reversed' => FALSE,
'formatter_settings' => array(),
'context' => 'argument_entity_id:node_1',
'override_title' => 1,
'override_title_text' => '<none>',
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array();
$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 = 'custom';
$pane->subtype = 'custom';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'admin_title' => '',
'title' => 'Rubrique ?',
'body' => 'Proactively generate strategic services after cooperative outsourcing. ',
'format' => 'filtered_html',
'substitute' => 1,
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array(
'css_id' => 'panel-ville-eur-rubriques',
'css_class' => 'panel-ville-eur-volet panel-ville-volet panel-ville-volet-droite',
);
$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 = 'custom';
$pane->subtype = 'custom';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'admin_title' => '',
'title' => 'Publications ?',
'body' => 'Proactively generate strategic services after cooperative outsourcing. ',
'format' => 'filtered_html',
'substitute' => 1,
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array(
'css_id' => 'panel-ville-eur-publications',
'css_class' => 'panel-ville-eur-volet panel-ville-volet panel-ville-volet-droite',
);
$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 = 'custom';
$pane->subtype = 'custom';
$pane->shown = TRUE;
$pane->access = array();
$pane->configuration = array(
'admin_title' => '',
'title' => 'Partenaires ?',
'body' => 'Proactively generate strategic services after cooperative outsourcing. ',
'format' => 'filtered_html',
'substitute' => 1,
);
$pane->cache = array();
$pane->style = array(
'settings' => NULL,
);
$pane->css = array(
'css_id' => 'panel-ville-eur-partenaires',
'css_class' => 'panel-ville-eur-volet panel-ville-volet panel-ville-volet-droite',
);
$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 = '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-7'] = $pane;
$display->panels['top'][0] = 'new-7';
$display->hide_title = PANELS_TITLE_FIXED;
$display->title_pane = '0';
$handler->conf['display'] = $display;
$export['node_view_panel_context_8'] = $handler;
return $export;
}

View File

@@ -0,0 +1,81 @@
<?php
/**
* @file
* popsu_villes_europe.strongarm.inc
*/
/**
* Implements hook_strongarm().
*/
function popsu_villes_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_ville_europe';
$strongarm->value = array(
'view_modes' => array(),
'extra_fields' => array(
'form' => array(
'title' => array(
'weight' => '3',
),
'path' => array(
'weight' => '4',
),
),
'display' => array(),
),
);
$export['field_bundle_settings_node__popsu_ville_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_ville_europe';
$strongarm->value = '0';
$export['language_content_type_popsu_ville_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_ville_europe';
$strongarm->value = array(
0 => 'menu-popsu-menu-popsu-europe',
);
$export['menu_options_popsu_ville_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_ville_europe';
$strongarm->value = 'menu-popsu-menu-popsu-europe:1214';
$export['menu_parent_popsu_ville_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_ville_europe';
$strongarm->value = array(
0 => 'status',
1 => 'revision',
);
$export['node_options_popsu_ville_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_ville_europe';
$strongarm->value = '0';
$export['node_preview_popsu_ville_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_ville_europe';
$strongarm->value = 0;
$export['node_submitted_popsu_ville_europe'] = $strongarm;
return $export;
}

View File

@@ -0,0 +1,174 @@
<?php
/**
* @file
* popsu_villes_europe.views_default.inc
*/
/**
* Implements hook_views_default_views().
*/
function popsu_villes_europe_views_default_views() {
$export = array();
$view = new view();
$view->name = 'villes_europe';
$view->description = 'Liste des publications';
$view->tag = 'POPSU';
$view->base_table = 'node';
$view->human_name = 'Fiches villes 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_ville_europe' => 'popsu_ville_europe',
);
/* Display: Page */
$handler = $view->new_display('page', 'Page', 'page_1');
$handler->display->display_options['defaults']['title'] = FALSE;
$handler->display->display_options['title'] = 'Villes Europe';
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
$handler->display->display_options['path'] = 'villes_europe';
/* Display: Villes Europe par POPSU Pane */
$handler = $view->new_display('panel_pane', 'Villes Europe par POPSU Pane', 'panel_pane_2');
$handler->display->display_options['defaults']['css_class'] = FALSE;
$handler->display->display_options['defaults']['hide_admin_links'] = FALSE;
$handler->display->display_options['defaults']['style_plugin'] = FALSE;
$handler->display->display_options['style_plugin'] = 'list';
$handler->display->display_options['style_options']['row_class'] = 'span2';
$handler->display->display_options['style_options']['default_row_class'] = FALSE;
$handler->display->display_options['style_options']['class'] = 'listing-villes';
$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 villes';
$handler->display->display_options['defaults']['fields'] = FALSE;
/* Champ: Contenu : Grandes images d'illustration */
$handler->display->display_options['fields']['field_popsu_ville_images_illustr']['id'] = 'field_popsu_ville_images_illustr';
$handler->display->display_options['fields']['field_popsu_ville_images_illustr']['table'] = 'field_data_field_popsu_ville_images_illustr';
$handler->display->display_options['fields']['field_popsu_ville_images_illustr']['field'] = 'field_popsu_ville_images_illustr';
$handler->display->display_options['fields']['field_popsu_ville_images_illustr']['label'] = '';
$handler->display->display_options['fields']['field_popsu_ville_images_illustr']['element_label_colon'] = FALSE;
$handler->display->display_options['fields']['field_popsu_ville_images_illustr']['click_sort_column'] = 'fid';
$handler->display->display_options['fields']['field_popsu_ville_images_illustr']['settings'] = array(
'image_style' => 'popsu-villes-listing-small',
'image_link' => 'content',
);
$handler->display->display_options['fields']['field_popsu_ville_images_illustr']['delta_limit'] = '1';
$handler->display->display_options['fields']['field_popsu_ville_images_illustr']['delta_offset'] = '0';
/* 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_villeur_popsu) */
$handler->display->display_options['arguments']['field_popsu_villeur_popsu_tid']['id'] = 'field_popsu_villeur_popsu_tid';
$handler->display->display_options['arguments']['field_popsu_villeur_popsu_tid']['table'] = 'field_data_field_popsu_villeur_popsu';
$handler->display->display_options['arguments']['field_popsu_villeur_popsu_tid']['field'] = 'field_popsu_villeur_popsu_tid';
$handler->display->display_options['arguments']['field_popsu_villeur_popsu_tid']['default_action'] = 'not found';
$handler->display->display_options['arguments']['field_popsu_villeur_popsu_tid']['exception']['title'] = 'Tout';
$handler->display->display_options['arguments']['field_popsu_villeur_popsu_tid']['default_argument_type'] = 'fixed';
$handler->display->display_options['arguments']['field_popsu_villeur_popsu_tid']['summary']['number_of_records'] = '0';
$handler->display->display_options['arguments']['field_popsu_villeur_popsu_tid']['summary']['format'] = 'default_summary';
$handler->display->display_options['arguments']['field_popsu_villeur_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_ville_europe' => 'popsu_ville_europe',
);
$handler->display->display_options['pane_category']['name'] = 'Volets de vue';
$handler->display->display_options['argument_input'] = array(
'field_popsu_villeur_popsu_tid' => array(
'type' => 'user',
'context' => 'string.raw',
'context_optional' => 0,
'panel' => '0',
'fixed' => '',
'label' => 'Contenu : POPSU (field_popsu_villeur_popsu)',
),
);
$translatables['villes_europe'] = array(
t('Master'),
t('plus'),
t('Appliquer'),
t('Réinitialiser'),
t('Trier par'),
t('Asc'),
t('Desc'),
t('Page'),
t('Villes Europe'),
t('Villes Europe par POPSU Pane'),
t('@total villes'),
t('Tout'),
t('Volets de vue'),
);
$export['villes_europe'] = $view;
return $export;
}