updated/sunc feautures betxeen local and online
This commit is contained in:
parent
5cde537e0a
commit
41e7f80383
@ -7,8 +7,7 @@
|
||||
/**
|
||||
* Implements hook_ctools_plugin_api().
|
||||
*/
|
||||
function frequently_asked_questions_ctools_plugin_api() {
|
||||
list($module, $api) = func_get_args();
|
||||
function frequently_asked_questions_ctools_plugin_api($module = NULL, $api = NULL) {
|
||||
if ($module == "strongarm" && $api == "strongarm") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
|
@ -13,11 +13,11 @@ function frequently_asked_questions_taxonomy_default_vocabularies() {
|
||||
'name' => 'faq categories',
|
||||
'machine_name' => 'faq_categories',
|
||||
'description' => '',
|
||||
'hierarchy' => '0',
|
||||
'hierarchy' => 0,
|
||||
'module' => 'taxonomy',
|
||||
'weight' => '0',
|
||||
'weight' => 0,
|
||||
'language' => 'und',
|
||||
'i18n_mode' => '1',
|
||||
'i18n_mode' => 1,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
@ -10,129 +10,129 @@
|
||||
function frequently_asked_questions_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: administer faq.
|
||||
// Exported permission: 'administer faq'.
|
||||
$permissions['administer faq'] = array(
|
||||
'name' => 'administer faq',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'faq',
|
||||
);
|
||||
|
||||
// Exported permission: administer faq order.
|
||||
// Exported permission: 'administer faq order'.
|
||||
$permissions['administer faq order'] = array(
|
||||
'name' => 'administer faq order',
|
||||
'roles' => array(
|
||||
0 => 'administrator',
|
||||
1 => 'root',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'faq',
|
||||
);
|
||||
|
||||
// Exported permission: create faq content.
|
||||
// Exported permission: 'create faq content'.
|
||||
$permissions['create faq content'] = array(
|
||||
'name' => 'create faq content',
|
||||
'roles' => array(
|
||||
0 => 'administrator',
|
||||
1 => 'root',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: delete any faq content.
|
||||
// Exported permission: 'delete any faq content'.
|
||||
$permissions['delete any faq content'] = array(
|
||||
'name' => 'delete any faq content',
|
||||
'roles' => array(
|
||||
0 => 'administrator',
|
||||
1 => 'root',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: delete own faq content.
|
||||
// Exported permission: 'delete own faq content'.
|
||||
$permissions['delete own faq content'] = array(
|
||||
'name' => 'delete own faq content',
|
||||
'roles' => array(
|
||||
0 => 'administrator',
|
||||
1 => 'root',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: edit any faq content.
|
||||
// Exported permission: 'edit any faq content'.
|
||||
$permissions['edit any faq content'] = array(
|
||||
'name' => 'edit any faq content',
|
||||
'roles' => array(
|
||||
0 => 'administrator',
|
||||
1 => 'root',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: edit own faq content.
|
||||
// Exported permission: 'edit own faq content'.
|
||||
$permissions['edit own faq content'] = array(
|
||||
'name' => 'edit own faq content',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: enter faq revision log entry.
|
||||
// Exported permission: 'enter faq revision log entry'.
|
||||
$permissions['enter faq revision log entry'] = array(
|
||||
'name' => 'enter faq revision log entry',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: override faq authored by option.
|
||||
// Exported permission: 'override faq authored by option'.
|
||||
$permissions['override faq authored by option'] = array(
|
||||
'name' => 'override faq authored by option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: override faq authored on option.
|
||||
// Exported permission: 'override faq authored on option'.
|
||||
$permissions['override faq authored on option'] = array(
|
||||
'name' => 'override faq authored on option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: override faq promote to front page option.
|
||||
// Exported permission: 'override faq promote to front page option'.
|
||||
$permissions['override faq promote to front page option'] = array(
|
||||
'name' => 'override faq promote to front page option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: override faq published option.
|
||||
// Exported permission: 'override faq published option'.
|
||||
$permissions['override faq published option'] = array(
|
||||
'name' => 'override faq published option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: override faq revision option.
|
||||
// Exported permission: 'override faq revision option'.
|
||||
$permissions['override faq revision option'] = array(
|
||||
'name' => 'override faq revision option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: override faq sticky option.
|
||||
// Exported permission: 'override faq sticky option'.
|
||||
$permissions['override faq sticky option'] = array(
|
||||
'name' => 'override faq sticky option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: view faq page.
|
||||
// Exported permission: 'view faq page'.
|
||||
$permissions['view faq page'] = array(
|
||||
'name' => 'view faq page',
|
||||
'roles' => array(
|
||||
0 => 'authenticated user',
|
||||
1 => 'root',
|
||||
'authenticated user' => 'authenticated user',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'faq',
|
||||
);
|
||||
|
@ -1,15 +1,15 @@
|
||||
name = frequently asked questions
|
||||
core = 7.x
|
||||
package = Materio
|
||||
php = 5.2.4
|
||||
dependencies[] = ctools
|
||||
dependencies[] = faq
|
||||
dependencies[] = features
|
||||
dependencies[] = node
|
||||
dependencies[] = override_node_options
|
||||
dependencies[] = strongarm
|
||||
dependencies[] = taxonomy
|
||||
features[ctools][] = strongarm:strongarm:1
|
||||
features[features_api][] = api:1
|
||||
features[features_api][] = api:2
|
||||
features[taxonomy][] = faq_categories
|
||||
features[user_permission][] = administer faq
|
||||
features[user_permission][] = administer faq order
|
||||
@ -54,3 +54,4 @@ features[variable][] = faq_title
|
||||
features[variable][] = faq_use_categories
|
||||
features[variable][] = faq_use_teaser
|
||||
features[variable][] = nodeformscols_field_placements_faq_default
|
||||
project path = sites/all/modules/features
|
||||
|
@ -35,7 +35,7 @@ function frequently_asked_questions_strongarm() {
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'faq_category_display';
|
||||
$strongarm->value = 'categories_inline';
|
||||
$strongarm->value = 'none';
|
||||
$export['faq_category_display'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
@ -84,7 +84,7 @@ function frequently_asked_questions_strongarm() {
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'faq_disable_node_links';
|
||||
$strongarm->value = 1;
|
||||
$strongarm->value = 0;
|
||||
$export['faq_disable_node_links'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
@ -160,7 +160,7 @@ function frequently_asked_questions_strongarm() {
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'faq_question_long_form';
|
||||
$strongarm->value = 1;
|
||||
$strongarm->value = 0;
|
||||
$export['faq_question_long_form'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
@ -174,7 +174,7 @@ function frequently_asked_questions_strongarm() {
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'faq_show_node_links';
|
||||
$strongarm->value = 0;
|
||||
$strongarm->value = 1;
|
||||
$export['faq_show_node_links'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
@ -202,7 +202,7 @@ function frequently_asked_questions_strongarm() {
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'faq_use_teaser';
|
||||
$strongarm->value = 0;
|
||||
$strongarm->value = 1;
|
||||
$export['faq_use_teaser'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
@ -212,13 +212,13 @@ function frequently_asked_questions_strongarm() {
|
||||
$strongarm->value = array(
|
||||
'title' => array(
|
||||
'region' => 'main',
|
||||
'weight' => '0',
|
||||
'weight' => '1',
|
||||
'has_required' => TRUE,
|
||||
'title' => 'Question',
|
||||
),
|
||||
'additional_settings' => array(
|
||||
'region' => 'main',
|
||||
'weight' => '4',
|
||||
'weight' => '5',
|
||||
'has_required' => FALSE,
|
||||
'title' => 'Vertical tabs',
|
||||
'hidden' => 0,
|
||||
@ -227,21 +227,14 @@ function frequently_asked_questions_strongarm() {
|
||||
'region' => 'right',
|
||||
'weight' => '3',
|
||||
'has_required' => FALSE,
|
||||
'title' => 'Enregistrer',
|
||||
'title' => 'Save',
|
||||
'hidden' => 0,
|
||||
),
|
||||
'language' => array(
|
||||
'region' => 'right',
|
||||
'weight' => '1',
|
||||
'has_required' => FALSE,
|
||||
'title' => 'Langue',
|
||||
'hidden' => 0,
|
||||
),
|
||||
'detailed_question' => array(
|
||||
'region' => 'main',
|
||||
'weight' => '2',
|
||||
'has_required' => FALSE,
|
||||
'title' => 'Question details',
|
||||
'title' => 'Language',
|
||||
'hidden' => 0,
|
||||
),
|
||||
'body' => array(
|
||||
@ -257,12 +250,17 @@ function frequently_asked_questions_strongarm() {
|
||||
'has_required' => TRUE,
|
||||
'title' => 'Categories',
|
||||
),
|
||||
'title_field' => array(
|
||||
'region' => 'main',
|
||||
'weight' => '0',
|
||||
'has_required' => TRUE,
|
||||
'title' => 'Title',
|
||||
),
|
||||
'workflow' => array(
|
||||
'region' => 'right',
|
||||
'weight' => '2',
|
||||
'has_required' => FALSE,
|
||||
'title' => 'Publication',
|
||||
'collapsed' => 0,
|
||||
'title' => 'Importé',
|
||||
'hidden' => 0,
|
||||
),
|
||||
);
|
||||
|
@ -7,8 +7,7 @@
|
||||
/**
|
||||
* Implements hook_ctools_plugin_api().
|
||||
*/
|
||||
function materio_administration_ctools_plugin_api() {
|
||||
list($module, $api) = func_get_args();
|
||||
function materio_administration_ctools_plugin_api($module = NULL, $api = NULL) {
|
||||
if ($module == "strongarm" && $api == "strongarm") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
@ -17,6 +16,6 @@ function materio_administration_ctools_plugin_api() {
|
||||
/**
|
||||
* Implements hook_views_api().
|
||||
*/
|
||||
function materio_administration_views_api() {
|
||||
return array("version" => "3.0");
|
||||
function materio_administration_views_api($module = NULL, $api = NULL) {
|
||||
return array("api" => "3.0");
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ function materio_administration_menu_default_menu_custom() {
|
||||
'title' => 'Navigation',
|
||||
'description' => 'The <em>Navigation</em> menu contains links intended for site visitors. Links are added to the <em>Navigation</em> menu automatically by some modules.',
|
||||
'language' => 'und',
|
||||
'i18n_mode' => '0',
|
||||
'i18n_mode' => 0,
|
||||
);
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
|
@ -1,54 +1,17 @@
|
||||
name = Materio Administration
|
||||
core = 7.x
|
||||
package = Materio
|
||||
php = 5.2.4
|
||||
dependencies[] = ctools
|
||||
dependencies[] = features
|
||||
dependencies[] = menu
|
||||
dependencies[] = strongarm
|
||||
dependencies[] = views
|
||||
dependencies[] = views_bulk_operations
|
||||
dependencies[] = workflow
|
||||
dependencies[] = views_data_export
|
||||
dependencies[] = workflow_actions
|
||||
dependencies[] = workflow_views
|
||||
features[ctools][] = strongarm:strongarm:1
|
||||
features[ctools][] = views:views_default:3.0
|
||||
features[features_api][] = api:1
|
||||
features[features_api][] = api:2
|
||||
features[menu_custom][] = navigation
|
||||
features[menu_links][] = navigation:admin/config/regional/translate/table
|
||||
features[menu_links][] = navigation:admin/config/regional/translate/table/menu
|
||||
features[menu_links][] = navigation:admin/config/regional/translate/table/nodetype
|
||||
features[menu_links][] = navigation:admin/config/regional/translate/table/taxonomy
|
||||
features[menu_links][] = navigation:admin/config/regional/translate/translate
|
||||
features[menu_links][] = navigation:admin/content/companies
|
||||
features[menu_links][] = navigation:admin/content/materiaux
|
||||
features[menu_links][] = navigation:admin/content/medias
|
||||
features[menu_links][] = navigation:admin/content/pages
|
||||
features[menu_links][] = navigation:admin/dashboard
|
||||
features[menu_links][] = navigation:admin/people
|
||||
features[menu_links][] = navigation:admin/people/create
|
||||
features[menu_links][] = navigation:admin/reports/feedback
|
||||
features[menu_links][] = navigation:admin/structure/taxonomy_manager/voc
|
||||
features[menu_links][] = navigation:admin/structure/taxonomy_manager/voc/company
|
||||
features[menu_links][] = navigation:admin/structure/taxonomy_manager/voc/onthologie
|
||||
features[menu_links][] = navigation:admin/structure/taxonomy_manager/voc/tag_libres
|
||||
features[menu_links][] = navigation:admin/users
|
||||
features[menu_links][] = navigation:cart
|
||||
features[menu_links][] = navigation:filter/tips
|
||||
features[menu_links][] = navigation:materio_search_api_ajax/actuality
|
||||
features[menu_links][] = navigation:mysessions
|
||||
features[menu_links][] = navigation:node/11186/webform-results
|
||||
features[menu_links][] = navigation:node/add
|
||||
features[menu_links][] = navigation:node/add/breve
|
||||
features[menu_links][] = navigation:node/add/company
|
||||
features[menu_links][] = navigation:node/add/didactique
|
||||
features[menu_links][] = navigation:node/add/faq
|
||||
features[menu_links][] = navigation:node/add/materiau
|
||||
features[menu_links][] = navigation:node/add/node_export
|
||||
features[menu_links][] = navigation:node/add/page
|
||||
features[menu_links][] = navigation:node/add/panel
|
||||
features[menu_links][] = navigation:node/add/product
|
||||
features[menu_links][] = navigation:node/add/webform
|
||||
features[variable][] = editmenu_cache_menu
|
||||
features[variable][] = editmenu_css_error
|
||||
features[variable][] = editmenu_css_filename
|
||||
@ -74,3 +37,5 @@ features[views_view][] = admin_content_node
|
||||
features[views_view][] = admin_contents
|
||||
features[views_view][] = admin_peoples
|
||||
features[views_view][] = taxonomy_companies_manager
|
||||
features_exclude[dependencies][views] = views
|
||||
project path = sites/all/modules/features
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -13,7 +13,7 @@ function materio_bookmarks_flag_default_flags() {
|
||||
$flags['bookmarks'] = array(
|
||||
'entity_type' => 'node',
|
||||
'title' => 'Bookmarks',
|
||||
'global' => '0',
|
||||
'global' => 0,
|
||||
'types' => array(
|
||||
0 => 'breve',
|
||||
1 => 'materiau',
|
||||
@ -27,11 +27,26 @@ function materio_bookmarks_flag_default_flags() {
|
||||
'unflag_denied_text' => '',
|
||||
'link_type' => 'toggle',
|
||||
'weight' => 0,
|
||||
'show_in_links' => array(
|
||||
'full' => 'full',
|
||||
'bookmark' => 'bookmark',
|
||||
'cardsmall' => 'cardsmall',
|
||||
'cardmedium' => 'cardmedium',
|
||||
'cardbig' => 'cardbig',
|
||||
'cardfull' => 'cardfull',
|
||||
'teaser' => 0,
|
||||
'rss' => 0,
|
||||
'diff_standard' => 0,
|
||||
'print' => 0,
|
||||
'email_plain' => 0,
|
||||
'email_html' => 0,
|
||||
'email_textalt' => 0,
|
||||
'token' => 0,
|
||||
),
|
||||
'show_as_field' => 0,
|
||||
'show_on_form' => 0,
|
||||
'access_author' => '',
|
||||
'show_contextual_link' => FALSE,
|
||||
'show_on_page' => 1,
|
||||
'show_on_teaser' => 0,
|
||||
'i18n' => 0,
|
||||
'module' => 'materio_bookmarks',
|
||||
'locked' => array(
|
||||
@ -63,12 +78,13 @@ function materio_bookmarks_image_default_styles() {
|
||||
'module' => 'image',
|
||||
'name' => 'image_scale_and_crop',
|
||||
'data' => array(
|
||||
'width' => '50',
|
||||
'height' => '70',
|
||||
'width' => 50,
|
||||
'height' => 70,
|
||||
),
|
||||
'weight' => '1',
|
||||
'weight' => 1,
|
||||
),
|
||||
),
|
||||
'label' => 'card-bookmark',
|
||||
);
|
||||
|
||||
return $styles;
|
||||
|
@ -10,24 +10,26 @@
|
||||
function materio_bookmarks_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: flag bookmarks.
|
||||
// Exported permission: 'flag bookmarks'.
|
||||
$permissions['flag bookmarks'] = array(
|
||||
'name' => 'flag bookmarks',
|
||||
'roles' => array(
|
||||
0 => 'Utilisateur',
|
||||
1 => 'administrator',
|
||||
2 => 'root',
|
||||
'Student' => 'Student',
|
||||
'Utilisateur' => 'Utilisateur',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'flag',
|
||||
);
|
||||
|
||||
// Exported permission: unflag bookmarks.
|
||||
// Exported permission: 'unflag bookmarks'.
|
||||
$permissions['unflag bookmarks'] = array(
|
||||
'name' => 'unflag bookmarks',
|
||||
'roles' => array(
|
||||
0 => 'Utilisateur',
|
||||
1 => 'administrator',
|
||||
2 => 'root',
|
||||
'Student' => 'Student',
|
||||
'Utilisateur' => 'Utilisateur',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'flag',
|
||||
);
|
||||
|
@ -1,13 +1,13 @@
|
||||
name = Materio bookmarks
|
||||
core = 7.x
|
||||
package = Materio
|
||||
php = 5.2.4
|
||||
dependencies[] = features
|
||||
dependencies[] = flag
|
||||
dependencies[] = image
|
||||
dependencies[] = materio_flag
|
||||
features[features_api][] = api:1
|
||||
features[features_api][] = api:2
|
||||
features[flag][] = bookmarks
|
||||
features[image][] = card-bookmark
|
||||
features[user_permission][] = flag bookmarks
|
||||
features[user_permission][] = unflag bookmarks
|
||||
project path = sites/all/modules/features
|
||||
|
1159
materio_content_types/materio_content_types.features.field_base.inc
Normal file
1159
materio_content_types/materio_content_types.features.field_base.inc
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -7,16 +7,13 @@
|
||||
/**
|
||||
* Implements hook_ctools_plugin_api().
|
||||
*/
|
||||
function materio_content_types_ctools_plugin_api() {
|
||||
list($module, $api) = func_get_args();
|
||||
if ($module == "corresponding_entity_references" && $api == "default_corresponding_entity_references_presets") {
|
||||
function materio_content_types_ctools_plugin_api($module = NULL, $api = NULL) {
|
||||
if ($module == "cer" && $api == "default_cer_presets") {
|
||||
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 == "strongarm" && $api == "strongarm") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
@ -25,8 +22,8 @@ function materio_content_types_ctools_plugin_api() {
|
||||
/**
|
||||
* Implements hook_views_api().
|
||||
*/
|
||||
function materio_content_types_views_api() {
|
||||
return array("version" => "3.0");
|
||||
function materio_content_types_views_api($module = NULL, $api = NULL) {
|
||||
return array("api" => "3.0");
|
||||
}
|
||||
|
||||
/**
|
||||
@ -49,12 +46,13 @@ function materio_content_types_image_default_styles() {
|
||||
'module' => 'image',
|
||||
'name' => 'image_scale_and_crop',
|
||||
'data' => array(
|
||||
'width' => '430',
|
||||
'height' => '340',
|
||||
'width' => 430,
|
||||
'height' => 340,
|
||||
),
|
||||
'weight' => '1',
|
||||
'weight' => 1,
|
||||
),
|
||||
),
|
||||
'label' => 'card-big',
|
||||
);
|
||||
|
||||
// Exported image style: card-full.
|
||||
@ -71,12 +69,13 @@ function materio_content_types_image_default_styles() {
|
||||
'module' => 'image',
|
||||
'name' => 'image_scale_and_crop',
|
||||
'data' => array(
|
||||
'width' => '425',
|
||||
'height' => '610',
|
||||
'width' => 425,
|
||||
'height' => 610,
|
||||
),
|
||||
'weight' => '1',
|
||||
'weight' => 1,
|
||||
),
|
||||
),
|
||||
'label' => 'card-full',
|
||||
);
|
||||
|
||||
// Exported image style: card-medium.
|
||||
@ -93,12 +92,13 @@ function materio_content_types_image_default_styles() {
|
||||
'module' => 'image',
|
||||
'name' => 'image_scale_and_crop',
|
||||
'data' => array(
|
||||
'width' => '210',
|
||||
'height' => '295',
|
||||
'width' => 210,
|
||||
'height' => 295,
|
||||
),
|
||||
'weight' => '1',
|
||||
'weight' => 1,
|
||||
),
|
||||
),
|
||||
'label' => 'card-medium',
|
||||
);
|
||||
|
||||
// Exported image style: card-small.
|
||||
@ -115,12 +115,13 @@ function materio_content_types_image_default_styles() {
|
||||
'module' => 'image',
|
||||
'name' => 'image_scale_and_crop',
|
||||
'data' => array(
|
||||
'width' => '100',
|
||||
'height' => '140',
|
||||
'width' => 100,
|
||||
'height' => 140,
|
||||
),
|
||||
'weight' => '1',
|
||||
'weight' => 1,
|
||||
),
|
||||
),
|
||||
'label' => 'card-small',
|
||||
);
|
||||
|
||||
return $styles;
|
||||
|
@ -13,31 +13,31 @@ function materio_content_types_taxonomy_default_vocabularies() {
|
||||
'name' => 'Company',
|
||||
'machine_name' => 'company',
|
||||
'description' => '',
|
||||
'hierarchy' => '0',
|
||||
'hierarchy' => 0,
|
||||
'module' => 'taxonomy',
|
||||
'weight' => '-8',
|
||||
'weight' => -8,
|
||||
'language' => 'und',
|
||||
'i18n_mode' => '0',
|
||||
'i18n_mode' => 0,
|
||||
),
|
||||
'onthologie' => array(
|
||||
'name' => 'Ontologie',
|
||||
'machine_name' => 'onthologie',
|
||||
'description' => '',
|
||||
'hierarchy' => '1',
|
||||
'hierarchy' => 1,
|
||||
'module' => 'taxonomy',
|
||||
'weight' => '-10',
|
||||
'weight' => -10,
|
||||
'language' => 'und',
|
||||
'i18n_mode' => '1',
|
||||
'i18n_mode' => 1,
|
||||
),
|
||||
'tag_libres' => array(
|
||||
'name' => 'Tag libres',
|
||||
'machine_name' => 'tag_libres',
|
||||
'description' => '',
|
||||
'hierarchy' => '0',
|
||||
'hierarchy' => 0,
|
||||
'module' => 'taxonomy',
|
||||
'weight' => '-9',
|
||||
'weight' => -9,
|
||||
'language' => 'und',
|
||||
'i18n_mode' => '1',
|
||||
'i18n_mode' => 1,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -30,7 +30,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side 4',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-4 field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -64,7 +64,7 @@ function materio_content_types_field_group_info() {
|
||||
'label' => 'Contenus',
|
||||
'instance_settings' => array(
|
||||
'required_fields' => 1,
|
||||
'classes' => '',
|
||||
'classes' => ' group-base field-group-htab',
|
||||
'description' => '',
|
||||
),
|
||||
'formatter' => 'closed',
|
||||
@ -94,7 +94,7 @@ function materio_content_types_field_group_info() {
|
||||
'label' => 'Contenus',
|
||||
'instance_settings' => array(
|
||||
'required_fields' => 1,
|
||||
'classes' => '',
|
||||
'classes' => ' group-base field-group-htab',
|
||||
'description' => '',
|
||||
),
|
||||
'formatter' => 'closed',
|
||||
@ -123,7 +123,7 @@ function materio_content_types_field_group_info() {
|
||||
'label' => 'Companies',
|
||||
'instance_settings' => array(
|
||||
'required_fields' => 1,
|
||||
'classes' => '',
|
||||
'classes' => ' group-contact-ope field-group-fieldset',
|
||||
'description' => '',
|
||||
),
|
||||
'formatter' => 'collapsible',
|
||||
@ -151,7 +151,7 @@ function materio_content_types_field_group_info() {
|
||||
'formatter' => 'closed',
|
||||
'instance_settings' => array(
|
||||
'description' => '',
|
||||
'classes' => '',
|
||||
'classes' => ' group-fichiers field-group-htab',
|
||||
'required_fields' => 1,
|
||||
),
|
||||
),
|
||||
@ -177,7 +177,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'header',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-header field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -209,7 +209,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'header',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-header field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -241,7 +241,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'header',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-header field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -273,7 +273,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'Header',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-header field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -305,7 +305,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'header',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-header field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -338,7 +338,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'header',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-header field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -372,7 +372,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'header',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-header field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -406,7 +406,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'header',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-header field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -440,7 +440,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'header',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-header field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -474,7 +474,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'header',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-header field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -507,7 +507,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'formatter' => '',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-htabs field-group-htabs',
|
||||
),
|
||||
),
|
||||
);
|
||||
@ -536,7 +536,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'htabs',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-htabs field-group-htabs',
|
||||
),
|
||||
),
|
||||
);
|
||||
@ -561,7 +561,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'images',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-images field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -592,7 +592,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'images',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-images field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -623,7 +623,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'images',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-images field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -654,7 +654,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'images',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-images field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -685,7 +685,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'images',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-images field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -716,7 +716,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'images',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-images field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -747,7 +747,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'images',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-images field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -778,7 +778,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'images',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-images field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -809,7 +809,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'images',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-images field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -840,7 +840,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'images',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-images field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -873,7 +873,7 @@ function materio_content_types_field_group_info() {
|
||||
'formatter' => 'collapsible',
|
||||
'instance_settings' => array(
|
||||
'description' => '',
|
||||
'classes' => '',
|
||||
'classes' => ' group-media field-group-fieldset',
|
||||
'required_fields' => 1,
|
||||
),
|
||||
),
|
||||
@ -901,7 +901,7 @@ function materio_content_types_field_group_info() {
|
||||
'formatter' => 'closed',
|
||||
'instance_settings' => array(
|
||||
'description' => '',
|
||||
'classes' => '',
|
||||
'classes' => ' group-referencement field-group-htab',
|
||||
'required_fields' => 1,
|
||||
),
|
||||
),
|
||||
@ -929,7 +929,7 @@ function materio_content_types_field_group_info() {
|
||||
'label' => 'Référencement',
|
||||
'instance_settings' => array(
|
||||
'required_fields' => 0,
|
||||
'classes' => '',
|
||||
'classes' => ' group-referencement field-group-htab',
|
||||
'description' => '',
|
||||
),
|
||||
'formatter' => 'open',
|
||||
@ -957,7 +957,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side 1',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-side1 field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -988,7 +988,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side 1',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side1 field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1020,7 +1020,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side 1',
|
||||
'instance_settings' => array(
|
||||
'classes' => '',
|
||||
'classes' => ' group-side1 field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1051,7 +1051,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side 1',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side1 field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1082,7 +1082,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side 2',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side2 field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1113,7 +1113,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side 2',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side2 field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1144,7 +1144,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side 2',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side2 field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1175,7 +1175,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side 2',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side2 field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1206,7 +1206,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side 3',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side3 field-group-hidden',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1237,7 +1237,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side 3',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side3 field-group-hidden',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1268,7 +1268,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side 3',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side3 field-group-hidden',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1299,7 +1299,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side 3',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side3 field-group-hidden',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1331,7 +1331,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side 4',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side4 field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1363,7 +1363,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side 4',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side4 field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1395,7 +1395,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side 4',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side-4 field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1426,7 +1426,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side 5',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side-5 field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1452,12 +1452,13 @@ function materio_content_types_field_group_info() {
|
||||
'weight' => '5',
|
||||
'children' => array(
|
||||
0 => 'field_attachments',
|
||||
1 => 'field_materiau_ref',
|
||||
),
|
||||
'format_type' => 'div',
|
||||
'format_settings' => array(
|
||||
'label' => 'side 5',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side-5 field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1488,7 +1489,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side left',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side-left field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1519,7 +1520,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'Side left',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side-left field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1553,7 +1554,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side right',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side-right field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1588,7 +1589,7 @@ function materio_content_types_field_group_info() {
|
||||
'format_settings' => array(
|
||||
'label' => 'side right',
|
||||
'instance_settings' => array(
|
||||
'classes' => 'side',
|
||||
'classes' => 'side group-side-right field-group-div',
|
||||
'description' => '',
|
||||
'show_label' => '0',
|
||||
'label_element' => 'h3',
|
||||
@ -1621,7 +1622,7 @@ function materio_content_types_field_group_info() {
|
||||
'label' => 'Médias',
|
||||
'instance_settings' => array(
|
||||
'required_fields' => 1,
|
||||
'classes' => '',
|
||||
'classes' => ' group-upload field-group-htab',
|
||||
'description' => '',
|
||||
),
|
||||
'formatter' => 'closed',
|
||||
|
@ -1,12 +1,11 @@
|
||||
name = Materio Content types
|
||||
core = 7.x
|
||||
package = Materio
|
||||
php = 5.2.4
|
||||
dependencies[] = addressfield
|
||||
dependencies[] = autocomplete_deluxe
|
||||
dependencies[] = cck_phone
|
||||
dependencies[] = computed_field
|
||||
dependencies[] = cer
|
||||
dependencies[] = computed_field
|
||||
dependencies[] = ctools
|
||||
dependencies[] = email
|
||||
dependencies[] = entityreference
|
||||
@ -28,62 +27,43 @@ dependencies[] = title
|
||||
dependencies[] = tode
|
||||
dependencies[] = video_filter_field
|
||||
dependencies[] = views
|
||||
features[cer][] = node*breve*field_materiau_ref*node*materiau*field_breve_ref
|
||||
features[cer][] = node*materiau*field_materiau_ref*node*materiau*field_materiau_ref
|
||||
features[ctools][] = cer:default_cer_presets:1
|
||||
features[ctools][] = field_group:field_group:1
|
||||
features[ctools][] = strongarm:strongarm:1
|
||||
features[ctools][] = views:views_default:3.0
|
||||
features[features_api][] = api:1
|
||||
features[field][] = node-breve-body
|
||||
features[field][] = node-breve-field_authored_on
|
||||
features[field][] = node-breve-field_materiau_ref
|
||||
features[field][] = node-breve-field_memo
|
||||
features[field][] = node-breve-field_onthologie
|
||||
features[field][] = node-breve-field_source
|
||||
features[field][] = node-breve-field_tags_libres
|
||||
features[field][] = node-breve-field_video_filter
|
||||
features[field][] = node-breve-field_visuel
|
||||
features[field][] = node-breve-field_workflow_state
|
||||
features[field][] = node-breve-title_field
|
||||
features[field][] = node-company-body
|
||||
features[field][] = node-company-field_attachments
|
||||
features[field][] = node-company-field_department
|
||||
features[field][] = node-company-field_infos_from_company
|
||||
features[field][] = node-company-field_memo
|
||||
features[field][] = node-company-field_note
|
||||
features[field][] = node-company-field_public_address
|
||||
features[field][] = node-company-field_public_email
|
||||
features[field][] = node-company-field_public_phone
|
||||
features[field][] = node-company-field_tode_company
|
||||
features[field][] = node-company-field_website
|
||||
features[field][] = node-materiau-field_attachments
|
||||
features[field][] = node-materiau-field_breve_ref
|
||||
features[field][] = node-materiau-field_company_distrib
|
||||
features[field][] = node-materiau-field_company_fab
|
||||
features[field][] = node-materiau-field_description
|
||||
features[field][] = node-materiau-field_famille
|
||||
features[field][] = node-materiau-field_identifiant
|
||||
features[field][] = node-materiau-field_localisation
|
||||
features[field][] = node-materiau-field_materiau_image
|
||||
features[field][] = node-materiau-field_materiau_ref
|
||||
features[field][] = node-materiau-field_memo
|
||||
features[field][] = node-materiau-field_nature_titre
|
||||
features[field][] = node-materiau-field_onthologie
|
||||
features[field][] = node-materiau-field_reference_materio
|
||||
features[field][] = node-materiau-field_tags_libres
|
||||
features[field][] = node-materiau-field_video_filter
|
||||
features[field][] = node-materiau-field_workflow_state
|
||||
features[field][] = node-materiau-title_field
|
||||
features[field][] = node-page-body
|
||||
features[field][] = node-page-title_field
|
||||
features[field][] = node-webform-body
|
||||
features[field][] = node-webform-title_field
|
||||
features[field][] = taxonomy_term-company-synonyms_synonym
|
||||
features[field][] = taxonomy_term-onthologie-name_field
|
||||
features[field][] = taxonomy_term-onthologie-synonyms_synonym
|
||||
features[field][] = taxonomy_term-tag_libres-name_field
|
||||
features[field][] = taxonomy_term-tag_libres-synonyms_synonym
|
||||
features[features_api][] = api:2
|
||||
features[field_base][] = body
|
||||
features[field_base][] = field_attachments
|
||||
features[field_base][] = field_authored_on
|
||||
features[field_base][] = field_breve_ref
|
||||
features[field_base][] = field_company_distrib
|
||||
features[field_base][] = field_company_fab
|
||||
features[field_base][] = field_department
|
||||
features[field_base][] = field_description
|
||||
features[field_base][] = field_famille
|
||||
features[field_base][] = field_identifiant
|
||||
features[field_base][] = field_infos_from_company
|
||||
features[field_base][] = field_localisation
|
||||
features[field_base][] = field_materiau_image
|
||||
features[field_base][] = field_materiau_ref
|
||||
features[field_base][] = field_memo
|
||||
features[field_base][] = field_nature_titre
|
||||
features[field_base][] = field_note
|
||||
features[field_base][] = field_onthologie
|
||||
features[field_base][] = field_public_address
|
||||
features[field_base][] = field_public_email
|
||||
features[field_base][] = field_public_phone
|
||||
features[field_base][] = field_reference_materio
|
||||
features[field_base][] = field_source
|
||||
features[field_base][] = field_tags_libres
|
||||
features[field_base][] = field_tode_company
|
||||
features[field_base][] = field_video_filter
|
||||
features[field_base][] = field_visuel
|
||||
features[field_base][] = field_website
|
||||
features[field_base][] = field_workflow_state
|
||||
features[field_base][] = name_field
|
||||
features[field_base][] = synonyms_synonym
|
||||
features[field_base][] = title_field
|
||||
features[field_group][] = group_4|node|materiau|cardbig
|
||||
features[field_group][] = group_base|node|breve|form
|
||||
features[field_group][] = group_base|node|materiau|form
|
||||
@ -136,6 +116,55 @@ features[field_group][] = group_side_left|node|materiau|cardfull
|
||||
features[field_group][] = group_side_right|node|breve|cardfull
|
||||
features[field_group][] = group_side_right|node|materiau|cardfull
|
||||
features[field_group][] = group_upload|node|breve|form
|
||||
features[field_instance][] = node-breve-body
|
||||
features[field_instance][] = node-breve-field_authored_on
|
||||
features[field_instance][] = node-breve-field_materiau_ref
|
||||
features[field_instance][] = node-breve-field_memo
|
||||
features[field_instance][] = node-breve-field_onthologie
|
||||
features[field_instance][] = node-breve-field_source
|
||||
features[field_instance][] = node-breve-field_tags_libres
|
||||
features[field_instance][] = node-breve-field_video_filter
|
||||
features[field_instance][] = node-breve-field_visuel
|
||||
features[field_instance][] = node-breve-field_workflow_state
|
||||
features[field_instance][] = node-breve-title_field
|
||||
features[field_instance][] = node-company-body
|
||||
features[field_instance][] = node-company-field_attachments
|
||||
features[field_instance][] = node-company-field_department
|
||||
features[field_instance][] = node-company-field_infos_from_company
|
||||
features[field_instance][] = node-company-field_memo
|
||||
features[field_instance][] = node-company-field_note
|
||||
features[field_instance][] = node-company-field_public_address
|
||||
features[field_instance][] = node-company-field_public_email
|
||||
features[field_instance][] = node-company-field_public_phone
|
||||
features[field_instance][] = node-company-field_tode_company
|
||||
features[field_instance][] = node-company-field_website
|
||||
features[field_instance][] = node-materiau-field_attachments
|
||||
features[field_instance][] = node-materiau-field_breve_ref
|
||||
features[field_instance][] = node-materiau-field_company_distrib
|
||||
features[field_instance][] = node-materiau-field_company_fab
|
||||
features[field_instance][] = node-materiau-field_description
|
||||
features[field_instance][] = node-materiau-field_famille
|
||||
features[field_instance][] = node-materiau-field_identifiant
|
||||
features[field_instance][] = node-materiau-field_localisation
|
||||
features[field_instance][] = node-materiau-field_materiau_image
|
||||
features[field_instance][] = node-materiau-field_materiau_ref
|
||||
features[field_instance][] = node-materiau-field_memo
|
||||
features[field_instance][] = node-materiau-field_nature_titre
|
||||
features[field_instance][] = node-materiau-field_onthologie
|
||||
features[field_instance][] = node-materiau-field_reference_materio
|
||||
features[field_instance][] = node-materiau-field_tags_libres
|
||||
features[field_instance][] = node-materiau-field_video_filter
|
||||
features[field_instance][] = node-materiau-field_workflow_state
|
||||
features[field_instance][] = node-materiau-title_field
|
||||
features[field_instance][] = node-page-body
|
||||
features[field_instance][] = node-page-title_field
|
||||
features[field_instance][] = node-webform-body
|
||||
features[field_instance][] = node-webform-title_field
|
||||
features[field_instance][] = taxonomy_term-company-synonyms_synonym
|
||||
features[field_instance][] = taxonomy_term-onthologie-name_field
|
||||
features[field_instance][] = taxonomy_term-onthologie-synonyms_synonym
|
||||
features[field_instance][] = taxonomy_term-tag_libres-name_field
|
||||
features[field_instance][] = taxonomy_term-tag_libres-synonyms_synonym
|
||||
features[image][] = card-big
|
||||
features[image][] = card-full
|
||||
features[image][] = card-medium
|
||||
@ -280,3 +309,4 @@ features[variable][] = node_submitted_materiau
|
||||
features[variable][] = node_submitted_page
|
||||
features[variable][] = node_submitted_webform
|
||||
features[views_view][] = entity_reference_materiaux_breves
|
||||
project path = sites/all/modules/features
|
||||
|
@ -165,6 +165,27 @@ function materio_content_types_strongarm() {
|
||||
'search_result' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
'bookmark' => array(
|
||||
'custom_settings' => TRUE,
|
||||
),
|
||||
'cardsmall' => array(
|
||||
'custom_settings' => TRUE,
|
||||
),
|
||||
'cardmedium' => array(
|
||||
'custom_settings' => TRUE,
|
||||
),
|
||||
'cardbig' => array(
|
||||
'custom_settings' => TRUE,
|
||||
),
|
||||
'cardfull' => array(
|
||||
'custom_settings' => TRUE,
|
||||
),
|
||||
'print' => array(
|
||||
'custom_settings' => TRUE,
|
||||
),
|
||||
'diff_standard' => array(
|
||||
'custom_settings' => FALSE,
|
||||
),
|
||||
),
|
||||
'extra_fields' => array(
|
||||
'form' => array(
|
||||
@ -180,6 +201,12 @@ function materio_content_types_strongarm() {
|
||||
'workflow' => array(
|
||||
'weight' => '5',
|
||||
),
|
||||
'metatags' => array(
|
||||
'weight' => '40',
|
||||
),
|
||||
'redirect' => array(
|
||||
'weight' => '30',
|
||||
),
|
||||
),
|
||||
'display' => array(
|
||||
'language' => array(
|
||||
@ -208,6 +235,18 @@ function materio_content_types_strongarm() {
|
||||
'visible' => FALSE,
|
||||
),
|
||||
),
|
||||
'workflow_current_state' => array(
|
||||
'cardmedium' => array(
|
||||
'weight' => '-99',
|
||||
'visible' => TRUE,
|
||||
),
|
||||
),
|
||||
'workflow' => array(
|
||||
'cardmedium' => array(
|
||||
'weight' => '99',
|
||||
'visible' => TRUE,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -23,6 +23,7 @@ function materio_content_types_views_default_views() {
|
||||
/* 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'] = 'role';
|
||||
$handler->display->display_options['access']['role'] = array(
|
||||
3 => '3',
|
||||
@ -31,7 +32,17 @@ function materio_content_types_views_default_views() {
|
||||
$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';
|
||||
$handler->display->display_options['row_options']['inline'] = array(
|
||||
@ -39,7 +50,7 @@ function materio_content_types_views_default_views() {
|
||||
'title' => 'title',
|
||||
);
|
||||
$handler->display->display_options['row_options']['hide_empty'] = TRUE;
|
||||
/* Field: Content: Référence Materio */
|
||||
/* Champ: Contenu : Référence Materio */
|
||||
$handler->display->display_options['fields']['field_reference_materio']['id'] = 'field_reference_materio';
|
||||
$handler->display->display_options['fields']['field_reference_materio']['table'] = 'field_data_field_reference_materio';
|
||||
$handler->display->display_options['fields']['field_reference_materio']['field'] = 'field_reference_materio';
|
||||
@ -47,7 +58,7 @@ function materio_content_types_views_default_views() {
|
||||
$handler->display->display_options['fields']['field_reference_materio']['alter']['text'] = '[field_reference_materio] ';
|
||||
$handler->display->display_options['fields']['field_reference_materio']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['fields']['field_reference_materio']['hide_empty'] = TRUE;
|
||||
/* Field: Content: Title */
|
||||
/* 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';
|
||||
@ -57,19 +68,19 @@ function materio_content_types_views_default_views() {
|
||||
$handler->display->display_options['fields']['title']['alter']['ellipsis'] = FALSE;
|
||||
$handler->display->display_options['fields']['title']['element_label_colon'] = FALSE;
|
||||
$handler->display->display_options['fields']['title']['link_to_node'] = FALSE;
|
||||
/* Sort criterion: Content: Post date */
|
||||
/* 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';
|
||||
/* Filter criterion: Content: Published */
|
||||
/* 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;
|
||||
/* Filter criterion: Content: Type */
|
||||
/* 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';
|
||||
@ -103,19 +114,19 @@ function materio_content_types_views_default_views() {
|
||||
$handler->display->display_options['defaults']['row_options'] = FALSE;
|
||||
$translatables['entity_reference_materiaux_breves'] = array(
|
||||
t('Master'),
|
||||
t('more'),
|
||||
t('Apply'),
|
||||
t('Reset'),
|
||||
t('Sort by'),
|
||||
t('plus'),
|
||||
t('Appliquer'),
|
||||
t('Réinitialiser'),
|
||||
t('Trier par'),
|
||||
t('Asc'),
|
||||
t('Desc'),
|
||||
t('Items per page'),
|
||||
t('- All -'),
|
||||
t('Offset'),
|
||||
t('« first'),
|
||||
t('‹ previous'),
|
||||
t('next ›'),
|
||||
t('last »'),
|
||||
t('Éléments par page'),
|
||||
t('- Tout -'),
|
||||
t('Décalage'),
|
||||
t('« premier'),
|
||||
t('‹ précédent'),
|
||||
t('suivant ›'),
|
||||
t('dernier »'),
|
||||
t('[field_reference_materio] '),
|
||||
t('[field_reference_materio][title]'),
|
||||
t('Entity Reference'),
|
||||
|
@ -10,33 +10,33 @@
|
||||
function materio_feedback_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: access feedback form.
|
||||
// Exported permission: 'access feedback form'.
|
||||
$permissions['access feedback form'] = array(
|
||||
'name' => 'access feedback form',
|
||||
'roles' => array(
|
||||
0 => 'Adhérent',
|
||||
1 => 'Premium',
|
||||
2 => 'Student',
|
||||
3 => 'Utilisateur',
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Premium' => 'Premium',
|
||||
'Student' => 'Student',
|
||||
'Utilisateur' => 'Utilisateur',
|
||||
),
|
||||
'module' => 'feedback',
|
||||
);
|
||||
|
||||
// Exported permission: administer feedback.
|
||||
// Exported permission: 'administer feedback'.
|
||||
$permissions['administer feedback'] = array(
|
||||
'name' => 'administer feedback',
|
||||
'roles' => array(
|
||||
0 => 'root',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'feedback',
|
||||
);
|
||||
|
||||
// Exported permission: view feedback messages.
|
||||
// Exported permission: 'view feedback messages'.
|
||||
$permissions['view feedback messages'] = array(
|
||||
'name' => 'view feedback messages',
|
||||
'roles' => array(
|
||||
0 => 'administrator',
|
||||
1 => 'root',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'feedback',
|
||||
);
|
||||
|
@ -1,11 +1,11 @@
|
||||
name = materio feedback
|
||||
core = 7.x
|
||||
package = Materio
|
||||
php = 5.2.4
|
||||
dependencies[] = browscap
|
||||
dependencies[] = features
|
||||
dependencies[] = feedback
|
||||
features[features_api][] = api:1
|
||||
features[features_api][] = api:2
|
||||
features[user_permission][] = access feedback form
|
||||
features[user_permission][] = administer feedback
|
||||
features[user_permission][] = view feedback messages
|
||||
project path = sites/all/modules/features
|
||||
|
@ -10,70 +10,70 @@
|
||||
function materio_folders_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: create flag lists.
|
||||
// Exported permission: 'create flag lists'.
|
||||
$permissions['create flag lists'] = array(
|
||||
'name' => 'create flag lists',
|
||||
'roles' => array(
|
||||
0 => 'Adhérent',
|
||||
1 => 'Premium',
|
||||
2 => 'root',
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Premium' => 'Premium',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'flag_lists',
|
||||
);
|
||||
|
||||
// Exported permission: delete own flag lists.
|
||||
// Exported permission: 'delete own flag lists'.
|
||||
$permissions['delete own flag lists'] = array(
|
||||
'name' => 'delete own flag lists',
|
||||
'roles' => array(
|
||||
0 => 'Adhérent',
|
||||
1 => 'Premium',
|
||||
2 => 'root',
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Premium' => 'Premium',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'flag_lists',
|
||||
);
|
||||
|
||||
// Exported permission: edit own flag lists.
|
||||
// Exported permission: 'edit own flag lists'.
|
||||
$permissions['edit own flag lists'] = array(
|
||||
'name' => 'edit own flag lists',
|
||||
'roles' => array(
|
||||
0 => 'Adhérent',
|
||||
1 => 'Premium',
|
||||
2 => 'root',
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Premium' => 'Premium',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'flag_lists',
|
||||
);
|
||||
|
||||
// Exported permission: flag fl_template.
|
||||
// Exported permission: 'flag fl_template'.
|
||||
$permissions['flag fl_template'] = array(
|
||||
'name' => 'flag fl_template',
|
||||
'roles' => array(
|
||||
0 => 'Adhérent',
|
||||
1 => 'Premium',
|
||||
2 => 'administrator',
|
||||
3 => 'root',
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Premium' => 'Premium',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'flag',
|
||||
);
|
||||
|
||||
// Exported permission: unflag fl_template.
|
||||
// Exported permission: 'unflag fl_template'.
|
||||
$permissions['unflag fl_template'] = array(
|
||||
'name' => 'unflag fl_template',
|
||||
'roles' => array(
|
||||
0 => 'Adhérent',
|
||||
1 => 'Premium',
|
||||
2 => 'administrator',
|
||||
3 => 'root',
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Premium' => 'Premium',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'flag',
|
||||
);
|
||||
|
||||
// Exported permission: view flag lists.
|
||||
// Exported permission: 'view flag lists'.
|
||||
$permissions['view flag lists'] = array(
|
||||
'name' => 'view flag lists',
|
||||
'roles' => array(
|
||||
0 => 'Adhérent',
|
||||
1 => 'Premium',
|
||||
2 => 'root',
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Premium' => 'Premium',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'flag_lists',
|
||||
);
|
||||
|
@ -2,14 +2,14 @@ name = Materio Folders
|
||||
description = flag lists
|
||||
core = 7.x
|
||||
package = Materio
|
||||
php = 5.2.4
|
||||
dependencies[] = features
|
||||
dependencies[] = flag
|
||||
dependencies[] = flag_lists
|
||||
features[features_api][] = api:1
|
||||
features[features_api][] = api:2
|
||||
features[user_permission][] = create flag lists
|
||||
features[user_permission][] = delete own flag lists
|
||||
features[user_permission][] = edit own flag lists
|
||||
features[user_permission][] = flag fl_template
|
||||
features[user_permission][] = unflag fl_template
|
||||
features[user_permission][] = view flag lists
|
||||
project path = sites/all/modules/features
|
||||
|
0
materio_subscriptions/materio_subscriptions.features.field.inc
Executable file → Normal file
0
materio_subscriptions/materio_subscriptions.features.field.inc
Executable file → Normal file
13
materio_subscriptions/materio_subscriptions.features.inc
Executable file → Normal file
13
materio_subscriptions/materio_subscriptions.features.inc
Executable file → Normal file
@ -13,24 +13,17 @@ function materio_subscriptions_ctools_plugin_api($module = NULL, $api = NULL) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_views_api().
|
||||
*/
|
||||
function materio_subscriptions_views_api($module = NULL, $api = NULL) {
|
||||
return array("api" => "3.0");
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_uc_product_default_classes().
|
||||
*/
|
||||
function materio_subscriptions_uc_product_default_classes() {
|
||||
$items = array(
|
||||
'product' => array(
|
||||
'name' => t('Product'),
|
||||
'name' => t('Produit'),
|
||||
'base' => 'uc_product',
|
||||
'description' => t('Use <em>products</em> to represent items for sale on the website, including all the unique information that can be attributed to a specific model number.'),
|
||||
'description' => t('Utiliser les <em>produits</em> pour représenter les articles en vente sur le site web, incluant toute l\'information unique qui peut être attribuée à un numéro de modèle spécifique.'),
|
||||
'has_title' => '1',
|
||||
'title_label' => t('Name'),
|
||||
'title_label' => t('Nom'),
|
||||
'help' => '',
|
||||
),
|
||||
);
|
||||
|
0
materio_subscriptions/materio_subscriptions.features.taxonomy.inc
Executable file → Normal file
0
materio_subscriptions/materio_subscriptions.features.taxonomy.inc
Executable file → Normal file
127
materio_subscriptions/materio_subscriptions.features.user_permission.inc
Executable file → Normal file
127
materio_subscriptions/materio_subscriptions.features.user_permission.inc
Executable file → Normal file
@ -10,15 +10,6 @@
|
||||
function materio_subscriptions_user_default_permissions() {
|
||||
$permissions = array();
|
||||
|
||||
// Exported permission: 'access default UC roles expiration list'.
|
||||
$permissions['access default UC roles expiration list'] = array(
|
||||
'name' => 'access default UC roles expiration list',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'materio_admin',
|
||||
);
|
||||
|
||||
// Exported permission: 'administer attributes'.
|
||||
$permissions['administer attributes'] = array(
|
||||
'name' => 'administer attributes',
|
||||
@ -163,13 +154,6 @@ function materio_subscriptions_user_default_permissions() {
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'delete payments'.
|
||||
$permissions['delete payments'] = array(
|
||||
'name' => 'delete payments',
|
||||
'roles' => array(),
|
||||
'module' => 'uc_payment',
|
||||
);
|
||||
|
||||
// Exported permission: 'edit any product content'.
|
||||
$permissions['edit any product content'] = array(
|
||||
'name' => 'edit any product content',
|
||||
@ -197,60 +181,14 @@ function materio_subscriptions_user_default_permissions() {
|
||||
'module' => 'node',
|
||||
);
|
||||
|
||||
// Exported permission: 'enter product revision log entry'.
|
||||
$permissions['enter product revision log entry'] = array(
|
||||
'name' => 'enter product revision log entry',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: 'manual payments'.
|
||||
$permissions['manual payments'] = array(
|
||||
'name' => 'manual payments',
|
||||
'roles' => array(),
|
||||
'module' => 'uc_payment',
|
||||
);
|
||||
|
||||
// Exported permission: 'override product authored by option'.
|
||||
$permissions['override product authored by option'] = array(
|
||||
'name' => 'override product authored by option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: 'override product authored on option'.
|
||||
$permissions['override product authored on option'] = array(
|
||||
'name' => 'override product authored on option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: 'override product promote to front page option'.
|
||||
$permissions['override product promote to front page option'] = array(
|
||||
'name' => 'override product promote to front page option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: 'override product published option'.
|
||||
$permissions['override product published option'] = array(
|
||||
'name' => 'override product published option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: 'override product revision option'.
|
||||
$permissions['override product revision option'] = array(
|
||||
'name' => 'override product revision option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
);
|
||||
|
||||
// Exported permission: 'override product sticky option'.
|
||||
$permissions['override product sticky option'] = array(
|
||||
'name' => 'override product sticky option',
|
||||
'roles' => array(),
|
||||
'module' => 'override_node_options',
|
||||
// Exported permission: 'manage store coupons'.
|
||||
$permissions['manage store coupons'] = array(
|
||||
'name' => 'manage store coupons',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_coupon',
|
||||
);
|
||||
|
||||
// Exported permission: 'process credit cards'.
|
||||
@ -262,15 +200,6 @@ function materio_subscriptions_user_default_permissions() {
|
||||
'module' => 'uc_credit',
|
||||
);
|
||||
|
||||
// Exported permission: 'show product title'.
|
||||
$permissions['show product title'] = array(
|
||||
'name' => 'show product title',
|
||||
'roles' => array(
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'materio_page_title',
|
||||
);
|
||||
|
||||
// Exported permission: 'unconditionally delete orders'.
|
||||
$permissions['unconditionally delete orders'] = array(
|
||||
'name' => 'unconditionally delete orders',
|
||||
@ -318,45 +247,15 @@ function materio_subscriptions_user_default_permissions() {
|
||||
'module' => 'uc_order',
|
||||
);
|
||||
|
||||
// Exported permission: 'view own invoices'.
|
||||
$permissions['view own invoices'] = array(
|
||||
'name' => 'view own invoices',
|
||||
'roles' => array(
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Contact opérationnel' => 'Contact opérationnel',
|
||||
'Premium' => 'Premium',
|
||||
'Student' => 'Student',
|
||||
'Unverified' => 'Unverified',
|
||||
'Utilisateur' => 'Utilisateur',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_order',
|
||||
);
|
||||
|
||||
// Exported permission: 'view own orders'.
|
||||
$permissions['view own orders'] = array(
|
||||
'name' => 'view own orders',
|
||||
'roles' => array(
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Contact opérationnel' => 'Contact opérationnel',
|
||||
'Premium' => 'Premium',
|
||||
'Student' => 'Student',
|
||||
'Unverified' => 'Unverified',
|
||||
'Utilisateur' => 'Utilisateur',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_order',
|
||||
);
|
||||
|
||||
// Exported permission: 'view payments'.
|
||||
$permissions['view payments'] = array(
|
||||
'name' => 'view payments',
|
||||
'roles' => array(),
|
||||
'module' => 'uc_payment',
|
||||
);
|
||||
|
||||
// Exported permission: 'view reports'.
|
||||
$permissions['view reports'] = array(
|
||||
'name' => 'view reports',
|
||||
@ -367,5 +266,15 @@ function materio_subscriptions_user_default_permissions() {
|
||||
'module' => 'uc_store',
|
||||
);
|
||||
|
||||
// Exported permission: 'view store coupons'.
|
||||
$permissions['view store coupons'] = array(
|
||||
'name' => 'view store coupons',
|
||||
'roles' => array(
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'uc_coupon',
|
||||
);
|
||||
|
||||
return $permissions;
|
||||
}
|
||||
|
0
materio_subscriptions/materio_subscriptions.features.user_role.inc
Executable file → Normal file
0
materio_subscriptions/materio_subscriptions.features.user_role.inc
Executable file → Normal file
34
materio_subscriptions/materio_subscriptions.info
Executable file → Normal file
34
materio_subscriptions/materio_subscriptions.info
Executable file → Normal file
@ -5,25 +5,19 @@ dependencies[] = ctools
|
||||
dependencies[] = features
|
||||
dependencies[] = i18n_taxonomy
|
||||
dependencies[] = image
|
||||
dependencies[] = materio_admin
|
||||
dependencies[] = materio_page_title
|
||||
dependencies[] = node
|
||||
dependencies[] = options
|
||||
dependencies[] = override_node_options
|
||||
dependencies[] = strongarm
|
||||
dependencies[] = taxonomy
|
||||
dependencies[] = text
|
||||
dependencies[] = uc_attribute
|
||||
dependencies[] = uc_cart
|
||||
dependencies[] = uc_cart_links
|
||||
dependencies[] = uc_coupon
|
||||
dependencies[] = uc_credit
|
||||
dependencies[] = uc_order
|
||||
dependencies[] = uc_payment
|
||||
dependencies[] = uc_product
|
||||
dependencies[] = uc_store
|
||||
dependencies[] = views
|
||||
features[ctools][] = strongarm:strongarm:1
|
||||
features[ctools][] = views:views_default:3.0
|
||||
features[features_api][] = api:2
|
||||
features[field_base][] = body
|
||||
features[field_base][] = synonyms_synonym
|
||||
@ -37,7 +31,6 @@ features[field_instance][] = taxonomy_term-catalog-synonyms_synonym
|
||||
features[field_instance][] = taxonomy_term-catalog-uc_catalog_image
|
||||
features[taxonomy][] = catalog
|
||||
features[uc_product_classes][] = product
|
||||
features[user_permission][] = access default UC roles expiration list
|
||||
features[user_permission][] = administer attributes
|
||||
features[user_permission][] = administer cart links
|
||||
features[user_permission][] = administer credit cards
|
||||
@ -54,36 +47,22 @@ features[user_permission][] = create product content
|
||||
features[user_permission][] = delete any product content
|
||||
features[user_permission][] = delete orders
|
||||
features[user_permission][] = delete own product content
|
||||
features[user_permission][] = delete payments
|
||||
features[user_permission][] = edit any product content
|
||||
features[user_permission][] = edit orders
|
||||
features[user_permission][] = edit own product content
|
||||
features[user_permission][] = enter product revision log entry
|
||||
features[user_permission][] = manual payments
|
||||
features[user_permission][] = override product authored by option
|
||||
features[user_permission][] = override product authored on option
|
||||
features[user_permission][] = override product promote to front page option
|
||||
features[user_permission][] = override product published option
|
||||
features[user_permission][] = override product revision option
|
||||
features[user_permission][] = override product sticky option
|
||||
features[user_permission][] = manage store coupons
|
||||
features[user_permission][] = process credit cards
|
||||
features[user_permission][] = show product title
|
||||
features[user_permission][] = unconditionally delete orders
|
||||
features[user_permission][] = view all orders
|
||||
features[user_permission][] = view cart links report
|
||||
features[user_permission][] = view cc details
|
||||
features[user_permission][] = view customers
|
||||
features[user_permission][] = view own invoices
|
||||
features[user_permission][] = view own orders
|
||||
features[user_permission][] = view payments
|
||||
features[user_permission][] = view reports
|
||||
features[user_permission][] = view store coupons
|
||||
features[user_role][] = Adhérent
|
||||
features[user_role][] = Premium
|
||||
features[user_role][] = Utilisateur
|
||||
features[variable][] = cart-settings__active_tab
|
||||
features[variable][] = date_format_uc_store
|
||||
features[variable][] = field_bundle_settings_node__product
|
||||
features[variable][] = pathauto_node_product_pattern
|
||||
features[variable][] = uc_add_item_redirect
|
||||
features[variable][] = uc_address_fields
|
||||
features[variable][] = uc_address_fields_required
|
||||
@ -108,10 +87,8 @@ features[variable][] = uc_cart_auth_unit
|
||||
features[variable][] = uc_cart_breadcrumb_text
|
||||
features[variable][] = uc_cart_breadcrumb_url
|
||||
features[variable][] = uc_cart_checkout_complete_page
|
||||
features[variable][] = uc_cart_default_same_address
|
||||
features[variable][] = uc_cart_delivery_not_shippable
|
||||
features[variable][] = uc_cart_email_validation
|
||||
features[variable][] = uc_cart_empty_button
|
||||
features[variable][] = uc_cart_mail_existing
|
||||
features[variable][] = uc_cart_new_account_details
|
||||
features[variable][] = uc_cart_new_account_name
|
||||
@ -121,7 +98,6 @@ features[variable][] = uc_checkout_enabled
|
||||
features[variable][] = uc_checkout_instructions
|
||||
features[variable][] = uc_checkout_review_instructions
|
||||
features[variable][] = uc_collapse_current_pane
|
||||
features[variable][] = uc_continue_shopping_text
|
||||
features[variable][] = uc_continue_shopping_type
|
||||
features[variable][] = uc_continue_shopping_url
|
||||
features[variable][] = uc_continue_shopping_use_last_url
|
||||
@ -207,9 +183,6 @@ features[variable][] = uc_reports_table_size
|
||||
features[variable][] = uc_roles_default_by_quantity
|
||||
features[variable][] = uc_roles_default_end_expiration
|
||||
features[variable][] = uc_roles_default_end_time
|
||||
features[variable][] = uc_roles_default_expiration_header
|
||||
features[variable][] = uc_roles_default_expiration_message
|
||||
features[variable][] = uc_roles_default_expiration_title
|
||||
features[variable][] = uc_roles_default_granularity
|
||||
features[variable][] = uc_roles_default_length
|
||||
features[variable][] = uc_roles_default_role
|
||||
@ -242,3 +215,4 @@ features[variable][] = uc_weight_format_kg
|
||||
features[variable][] = uc_weight_format_lb
|
||||
features[variable][] = uc_weight_format_oz
|
||||
features[variable][] = uc_weight_unit
|
||||
project path = sites/all/modules/features
|
||||
|
0
materio_subscriptions/materio_subscriptions.module
Executable file → Normal file
0
materio_subscriptions/materio_subscriptions.module
Executable file → Normal file
167
materio_subscriptions/materio_subscriptions.strongarm.inc
Executable file → Normal file
167
materio_subscriptions/materio_subscriptions.strongarm.inc
Executable file → Normal file
@ -10,75 +10,6 @@
|
||||
function materio_subscriptions_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 = 'cart-settings__active_tab';
|
||||
$strongarm->value = 'edit-breadcrumb';
|
||||
$export['cart-settings__active_tab'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'date_format_uc_store';
|
||||
$strongarm->value = 'm/d/Y';
|
||||
$export['date_format_uc_store'] = $strongarm;
|
||||
|
||||
$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__product';
|
||||
$strongarm->value = array(
|
||||
'view_modes' => array(
|
||||
'teaser' => array(
|
||||
'custom_settings' => TRUE,
|
||||
),
|
||||
),
|
||||
'extra_fields' => array(
|
||||
'form' => array(),
|
||||
'display' => array(
|
||||
'model' => array(
|
||||
'teaser' => array(
|
||||
'weight' => 0,
|
||||
'visible' => FALSE,
|
||||
),
|
||||
),
|
||||
'list_price' => array(
|
||||
'teaser' => array(
|
||||
'weight' => 0,
|
||||
'visible' => FALSE,
|
||||
),
|
||||
),
|
||||
'cost' => array(
|
||||
'teaser' => array(
|
||||
'weight' => 0,
|
||||
'visible' => FALSE,
|
||||
),
|
||||
),
|
||||
'weight' => array(
|
||||
'teaser' => array(
|
||||
'weight' => 0,
|
||||
'visible' => FALSE,
|
||||
),
|
||||
),
|
||||
'dimensions' => array(
|
||||
'teaser' => array(
|
||||
'weight' => 0,
|
||||
'visible' => FALSE,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
$export['field_bundle_settings_node__product'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'pathauto_node_product_pattern';
|
||||
$strongarm->value = '';
|
||||
$export['pathauto_node_product_pattern'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
@ -146,11 +77,11 @@ function materio_subscriptions_strongarm() {
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_address_format_250';
|
||||
$strongarm->value = '!company
|
||||
!first_name !last_name
|
||||
!street1
|
||||
!street2
|
||||
!postal_code !city
|
||||
$strongarm->value = '!company
|
||||
!first_name !last_name
|
||||
!street1
|
||||
!street2
|
||||
!postal_code !city
|
||||
!country_name_if';
|
||||
$export['uc_address_format_250'] = $strongarm;
|
||||
|
||||
@ -226,7 +157,7 @@ function materio_subscriptions_strongarm() {
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_cap_uc_termsofservice_agreement_cart_enabled';
|
||||
$strongarm->value = 0;
|
||||
$strongarm->value = 1;
|
||||
$export['uc_cap_uc_termsofservice_agreement_cart_enabled'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
@ -292,13 +223,6 @@ function materio_subscriptions_strongarm() {
|
||||
$strongarm->value = '';
|
||||
$export['uc_cart_checkout_complete_page'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_cart_default_same_address';
|
||||
$strongarm->value = 0;
|
||||
$export['uc_cart_default_same_address'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
@ -313,13 +237,6 @@ function materio_subscriptions_strongarm() {
|
||||
$strongarm->value = 1;
|
||||
$export['uc_cart_email_validation'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_cart_empty_button';
|
||||
$strongarm->value = 0;
|
||||
$export['uc_cart_empty_button'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
@ -352,7 +269,7 @@ function materio_subscriptions_strongarm() {
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_checkout_anonymous';
|
||||
$strongarm->value = 0;
|
||||
$strongarm->value = 1;
|
||||
$export['uc_checkout_anonymous'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
@ -383,13 +300,6 @@ function materio_subscriptions_strongarm() {
|
||||
$strongarm->value = 0;
|
||||
$export['uc_collapse_current_pane'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_continue_shopping_text';
|
||||
$strongarm->value = '';
|
||||
$export['uc_continue_shopping_text'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
@ -415,7 +325,7 @@ function materio_subscriptions_strongarm() {
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_coupon_collapse_pane';
|
||||
$strongarm->value = 1;
|
||||
$strongarm->value = 0;
|
||||
$export['uc_coupon_collapse_pane'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
@ -429,9 +339,9 @@ function materio_subscriptions_strongarm() {
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_credit_accepted_types';
|
||||
$strongarm->value = 'Visa
|
||||
Mastercard
|
||||
Discover
|
||||
$strongarm->value = 'Visa
|
||||
Mastercard
|
||||
Discover
|
||||
American Express';
|
||||
$export['uc_credit_accepted_types'] = $strongarm;
|
||||
|
||||
@ -460,14 +370,14 @@ American Express';
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_credit_discover';
|
||||
$strongarm->value = 0;
|
||||
$strongarm->value = 1;
|
||||
$export['uc_credit_discover'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_credit_encryption_path';
|
||||
$strongarm->value = '/home/bachir/Sites/materio/creditcards_encryptkeys';
|
||||
$strongarm->value = '/Users/bachir/Sites/materio/encrypt';
|
||||
$export['uc_credit_encryption_path'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
@ -481,7 +391,7 @@ American Express';
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_credit_issue_enabled';
|
||||
$strongarm->value = 0;
|
||||
$strongarm->value = 1;
|
||||
$export['uc_credit_issue_enabled'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
@ -509,7 +419,7 @@ American Express';
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_credit_start_enabled';
|
||||
$strongarm->value = 0;
|
||||
$strongarm->value = 1;
|
||||
$export['uc_credit_start_enabled'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
@ -537,7 +447,7 @@ American Express';
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_credit__active_tab';
|
||||
$strongarm->value = 'edit-cc-fields';
|
||||
$strongarm->value = 'edit-test-gateway';
|
||||
$export['uc_credit__active_tab'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
@ -719,8 +629,8 @@ American Express';
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_msg_order_existing_user';
|
||||
$strongarm->value = 'Thank you for shopping at [store:name]. Your current order has been attached to the account we found matching your e-mail address.
|
||||
|
||||
$strongarm->value = 'Thank you for shopping at [store:name]. Your current order has been attached to the account we found matching your e-mail address.
|
||||
|
||||
<a href="/fr/user">Login</a> to view your current order status and order history. Remember to login when you make your next purchase for a faster checkout experience!';
|
||||
$export['uc_msg_order_existing_user'] = $strongarm;
|
||||
|
||||
@ -735,11 +645,11 @@ American Express';
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_msg_order_new_user';
|
||||
$strongarm->value = 'Thank you for shopping at [store:name]. A new account has been created for you here that you may use to view your current order status.
|
||||
|
||||
<a href="/fr/user">Login</a> to your new account using the following information:
|
||||
|
||||
<strong>Username:</strong> !new_username
|
||||
$strongarm->value = 'Thank you for shopping at [store:name]. A new account has been created for you here that you may use to view your current order status.
|
||||
|
||||
<a href="/fr/user">Login</a> to your new account using the following information:
|
||||
|
||||
<strong>Username:</strong> !new_username
|
||||
<strong>Password:</strong> !new_password';
|
||||
$export['uc_msg_order_new_user'] = $strongarm;
|
||||
|
||||
@ -747,10 +657,10 @@ American Express';
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_msg_order_new_user_logged_in';
|
||||
$strongarm->value = 'Thank you for shopping at [store:name]. A new account has been created for you here that you may use to view your current order status.
|
||||
|
||||
Your password and further instructions have been sent to your e-mail address.
|
||||
|
||||
$strongarm->value = 'Thank you for shopping at [store:name]. A new account has been created for you here that you may use to view your current order status.
|
||||
|
||||
Your password and further instructions have been sent to your e-mail address.
|
||||
|
||||
For your convenience, you are already logged in with your newly created account.';
|
||||
$export['uc_msg_order_new_user_logged_in'] = $strongarm;
|
||||
|
||||
@ -905,7 +815,7 @@ For your convenience, you are already logged in with your newly created account.
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_pane_uc_termsofservice_agreement_checkout_enabled';
|
||||
$strongarm->value = 0;
|
||||
$strongarm->value = 1;
|
||||
$export['uc_pane_uc_termsofservice_agreement_checkout_enabled'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
@ -1011,27 +921,6 @@ For your convenience, you are already logged in with your newly created account.
|
||||
);
|
||||
$export['uc_roles_default_end_time'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_roles_default_expiration_header';
|
||||
$strongarm->value = 'Expiring roles';
|
||||
$export['uc_roles_default_expiration_header'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_roles_default_expiration_message';
|
||||
$strongarm->value = 'This role will expire on !date';
|
||||
$export['uc_roles_default_expiration_message'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
$strongarm->name = 'uc_roles_default_expiration_title';
|
||||
$strongarm->value = '!role_name';
|
||||
$export['uc_roles_default_expiration_title'] = $strongarm;
|
||||
|
||||
$strongarm = new stdClass();
|
||||
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
|
||||
$strongarm->api_version = 1;
|
||||
|
0
materio_user_profiles/materio_user_profiles.features.field.inc
Executable file → Normal file
0
materio_user_profiles/materio_user_profiles.features.field.inc
Executable file → Normal file
@ -98,6 +98,55 @@ function materio_user_profiles_field_default_field_bases() {
|
||||
'type' => 'addressfield',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_company'
|
||||
$field_bases['field_company'] = array(
|
||||
'active' => 1,
|
||||
'cardinality' => 1,
|
||||
'deleted' => 0,
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_company',
|
||||
'field_permissions' => array(
|
||||
'type' => 2,
|
||||
),
|
||||
'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' => 'company',
|
||||
'parent' => 0,
|
||||
),
|
||||
),
|
||||
'entity_translation_sync' => FALSE,
|
||||
'options_list_callback' => 'i18n_taxonomy_allowed_values',
|
||||
'profile2_private' => FALSE,
|
||||
'user_role_field' => array(
|
||||
1 => 0,
|
||||
2 => 0,
|
||||
3 => 0,
|
||||
4 => 0,
|
||||
5 => 5,
|
||||
6 => 0,
|
||||
7 => 0,
|
||||
),
|
||||
),
|
||||
'translatable' => 0,
|
||||
'type' => 'taxonomy_term_reference',
|
||||
);
|
||||
|
||||
// Exported field_base: 'field_employee'
|
||||
$field_bases['field_employee'] = array(
|
||||
'active' => 1,
|
||||
@ -654,7 +703,7 @@ function materio_user_profiles_field_default_field_bases() {
|
||||
'entity_types' => array(),
|
||||
'field_name' => 'field_vat_number_intra_ce',
|
||||
'field_permissions' => array(
|
||||
'type' => 1,
|
||||
'type' => 0,
|
||||
),
|
||||
'foreign keys' => array(
|
||||
'format' => array(
|
||||
@ -673,7 +722,7 @@ function materio_user_profiles_field_default_field_bases() {
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'entity_translation_sync' => FALSE,
|
||||
'max_length' => 20,
|
||||
'max_length' => 255,
|
||||
'profile2_private' => 0,
|
||||
),
|
||||
'translatable' => 0,
|
||||
|
@ -41,7 +41,7 @@ function materio_user_profiles_field_default_field_instances() {
|
||||
'size' => 60,
|
||||
),
|
||||
'type' => 'text_textfield',
|
||||
'weight' => 6,
|
||||
'weight' => 4,
|
||||
),
|
||||
);
|
||||
|
||||
@ -57,7 +57,7 @@ function materio_user_profiles_field_default_field_instances() {
|
||||
'module' => 'email',
|
||||
'settings' => array(),
|
||||
'type' => 'email_default',
|
||||
'weight' => 14,
|
||||
'weight' => 15,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'profile2',
|
||||
@ -75,7 +75,7 @@ function materio_user_profiles_field_default_field_instances() {
|
||||
'size' => 60,
|
||||
),
|
||||
'type' => 'email_textfield',
|
||||
'weight' => 13,
|
||||
'weight' => 11,
|
||||
),
|
||||
);
|
||||
|
||||
@ -130,7 +130,7 @@ function materio_user_profiles_field_default_field_instances() {
|
||||
),
|
||||
),
|
||||
'type' => 'addressfield_standard',
|
||||
'weight' => 16,
|
||||
'weight' => 14,
|
||||
),
|
||||
);
|
||||
|
||||
@ -171,7 +171,7 @@ function materio_user_profiles_field_default_field_instances() {
|
||||
'module' => 'number',
|
||||
'settings' => array(),
|
||||
'type' => 'number',
|
||||
'weight' => 9,
|
||||
'weight' => 7,
|
||||
),
|
||||
);
|
||||
|
||||
@ -241,7 +241,7 @@ function materio_user_profiles_field_default_field_instances() {
|
||||
'size' => 60,
|
||||
),
|
||||
'type' => 'text_textfield',
|
||||
'weight' => 10,
|
||||
'weight' => 8,
|
||||
),
|
||||
);
|
||||
|
||||
@ -311,7 +311,7 @@ function materio_user_profiles_field_default_field_instances() {
|
||||
'size' => 60,
|
||||
),
|
||||
'type' => 'text_textfield',
|
||||
'weight' => 5,
|
||||
'weight' => 3,
|
||||
),
|
||||
);
|
||||
|
||||
@ -620,7 +620,7 @@ function materio_user_profiles_field_default_field_instances() {
|
||||
'size' => 15,
|
||||
),
|
||||
'type' => 'phone_number',
|
||||
'weight' => 15,
|
||||
'weight' => 13,
|
||||
),
|
||||
);
|
||||
|
||||
@ -655,7 +655,7 @@ function materio_user_profiles_field_default_field_instances() {
|
||||
'size' => 60,
|
||||
),
|
||||
'type' => 'text_textfield',
|
||||
'weight' => 7,
|
||||
'weight' => 5,
|
||||
),
|
||||
);
|
||||
|
||||
@ -690,7 +690,7 @@ function materio_user_profiles_field_default_field_instances() {
|
||||
'size' => 60,
|
||||
),
|
||||
'type' => 'text_textfield',
|
||||
'weight' => 8,
|
||||
'weight' => 6,
|
||||
),
|
||||
);
|
||||
|
||||
@ -725,7 +725,7 @@ function materio_user_profiles_field_default_field_instances() {
|
||||
'size' => 60,
|
||||
),
|
||||
'type' => 'text_textfield',
|
||||
'weight' => 11,
|
||||
'weight' => 9,
|
||||
),
|
||||
);
|
||||
|
||||
@ -774,7 +774,7 @@ function materio_user_profiles_field_default_field_instances() {
|
||||
'module' => 'link',
|
||||
'settings' => array(),
|
||||
'type' => 'link_field',
|
||||
'weight' => 14,
|
||||
'weight' => 12,
|
||||
),
|
||||
);
|
||||
|
||||
@ -790,7 +790,7 @@ function materio_user_profiles_field_default_field_instances() {
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'type' => 'text_default',
|
||||
'weight' => 15,
|
||||
'weight' => 14,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'profile2',
|
||||
@ -809,7 +809,7 @@ function materio_user_profiles_field_default_field_instances() {
|
||||
'size' => 60,
|
||||
),
|
||||
'type' => 'text_textfield',
|
||||
'weight' => 12,
|
||||
'weight' => 10,
|
||||
),
|
||||
);
|
||||
|
||||
@ -1261,11 +1261,83 @@ function materio_user_profiles_field_default_field_instances() {
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance: 'user-user-field_company'
|
||||
$field_instances['user-user-field_company'] = array(
|
||||
'bundle' => 'user',
|
||||
'default_value' => NULL,
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'above',
|
||||
'module' => 'i18n_taxonomy',
|
||||
'settings' => array(),
|
||||
'type' => 'i18n_taxonomy_term_reference_link',
|
||||
'weight' => 1,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'user',
|
||||
'field_name' => 'field_company',
|
||||
'label' => 'Company',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'entity_translation_sync' => FALSE,
|
||||
'user_register_form' => 1,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'autocomplete_deluxe',
|
||||
'settings' => array(
|
||||
'autocomplete_deluxe_path' => 'autocomplete_deluxe/taxonomy',
|
||||
'content_taxonomy_autocomplete_new_terms' => 'deny',
|
||||
'size' => 60,
|
||||
),
|
||||
'type' => 'autocomplete_deluxe_taxonomy',
|
||||
'weight' => 2,
|
||||
),
|
||||
);
|
||||
|
||||
// Exported field_instance: 'user-user-field_memo'
|
||||
$field_instances['user-user-field_memo'] = array(
|
||||
'bundle' => 'user',
|
||||
'default_value' => NULL,
|
||||
'deleted' => 0,
|
||||
'description' => '',
|
||||
'display' => array(
|
||||
'default' => array(
|
||||
'label' => 'above',
|
||||
'module' => 'text',
|
||||
'settings' => array(),
|
||||
'type' => 'text_default',
|
||||
'weight' => 0,
|
||||
),
|
||||
),
|
||||
'entity_type' => 'user',
|
||||
'field_name' => 'field_memo',
|
||||
'label' => 'Mémo',
|
||||
'required' => 0,
|
||||
'settings' => array(
|
||||
'entity_translation_sync' => FALSE,
|
||||
'text_processing' => 0,
|
||||
'user_register_form' => 0,
|
||||
),
|
||||
'widget' => array(
|
||||
'active' => 1,
|
||||
'module' => 'text',
|
||||
'settings' => array(
|
||||
'rows' => 10,
|
||||
),
|
||||
'type' => 'text_textarea',
|
||||
'weight' => 7,
|
||||
),
|
||||
);
|
||||
|
||||
// Translatables
|
||||
// Included for use with string extractors like potx.
|
||||
t('Activity sector');
|
||||
t('Administrative email');
|
||||
t('Adresse');
|
||||
t('Company');
|
||||
t('Email');
|
||||
t('Employee');
|
||||
t('First name');
|
||||
|
9
materio_user_profiles/materio_user_profiles.features.inc
Executable file → Normal file
9
materio_user_profiles/materio_user_profiles.features.inc
Executable file → Normal file
@ -4,15 +4,6 @@
|
||||
* materio_user_profiles.features.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_ctools_plugin_api().
|
||||
*/
|
||||
function materio_user_profiles_ctools_plugin_api($module = NULL, $api = NULL) {
|
||||
if ($module == "strongarm" && $api == "strongarm") {
|
||||
return array("version" => "1");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_default_profile2_type().
|
||||
*/
|
||||
|
15
materio_user_profiles/materio_user_profiles.features.user_permission.inc
Executable file → Normal file
15
materio_user_profiles/materio_user_profiles.features.user_permission.inc
Executable file → Normal file
@ -331,8 +331,6 @@ function materio_user_profiles_user_default_permissions() {
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Premium' => 'Premium',
|
||||
'Student' => 'Student',
|
||||
'Unverified' => 'Unverified',
|
||||
'Utilisateur' => 'Utilisateur',
|
||||
),
|
||||
'module' => 'profile2',
|
||||
);
|
||||
@ -523,6 +521,9 @@ function materio_user_profiles_user_default_permissions() {
|
||||
$permissions['view field_adresse'] = array(
|
||||
'name' => 'view field_adresse',
|
||||
'roles' => array(
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Contact opérationnel' => 'Contact opérationnel',
|
||||
'Premium' => 'Premium',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
@ -593,6 +594,10 @@ function materio_user_profiles_user_default_permissions() {
|
||||
$permissions['view field_private_phone'] = array(
|
||||
'name' => 'view field_private_phone',
|
||||
'roles' => array(
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Contact opérationnel' => 'Contact opérationnel',
|
||||
'Premium' => 'Premium',
|
||||
'Student' => 'Student',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
@ -633,6 +638,9 @@ function materio_user_profiles_user_default_permissions() {
|
||||
$permissions['view field_user_website'] = array(
|
||||
'name' => 'view field_user_website',
|
||||
'roles' => array(
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Contact opérationnel' => 'Contact opérationnel',
|
||||
'Premium' => 'Premium',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
@ -646,7 +654,6 @@ function materio_user_profiles_user_default_permissions() {
|
||||
'Adhérent' => 'Adhérent',
|
||||
'Premium' => 'Premium',
|
||||
'Student' => 'Student',
|
||||
'Utilisateur' => 'Utilisateur',
|
||||
),
|
||||
'module' => 'profile2',
|
||||
);
|
||||
@ -668,6 +675,7 @@ function materio_user_profiles_user_default_permissions() {
|
||||
'Contact opérationnel' => 'Contact opérationnel',
|
||||
'Premium' => 'Premium',
|
||||
'Student' => 'Student',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
@ -809,6 +817,7 @@ function materio_user_profiles_user_default_permissions() {
|
||||
'Contact opérationnel' => 'Contact opérationnel',
|
||||
'Premium' => 'Premium',
|
||||
'Student' => 'Student',
|
||||
'administrator' => 'administrator',
|
||||
'root' => 'root',
|
||||
),
|
||||
'module' => 'field_permissions',
|
||||
|
12
materio_user_profiles/materio_user_profiles.info
Executable file → Normal file
12
materio_user_profiles/materio_user_profiles.info
Executable file → Normal file
@ -4,7 +4,6 @@ package = Materio
|
||||
dependencies[] = addressfield
|
||||
dependencies[] = autocomplete_deluxe
|
||||
dependencies[] = cck_phone
|
||||
dependencies[] = ctools
|
||||
dependencies[] = email
|
||||
dependencies[] = entity
|
||||
dependencies[] = features
|
||||
@ -16,14 +15,13 @@ dependencies[] = materio_content_types
|
||||
dependencies[] = number
|
||||
dependencies[] = options
|
||||
dependencies[] = profile2
|
||||
dependencies[] = strongarm
|
||||
dependencies[] = taxonomy
|
||||
dependencies[] = text
|
||||
features[ctools][] = strongarm:strongarm:1
|
||||
features[features_api][] = api:2
|
||||
features[field_base][] = field_activity_sector
|
||||
features[field_base][] = field_administrative_email
|
||||
features[field_base][] = field_adresse
|
||||
features[field_base][] = field_company
|
||||
features[field_base][] = field_employee
|
||||
features[field_base][] = field_first_name
|
||||
features[field_base][] = field_memo
|
||||
@ -60,6 +58,8 @@ features[field_instance][] = profile2-contact_operationnel-field_private_name
|
||||
features[field_instance][] = profile2-contact_operationnel-field_private_name_title
|
||||
features[field_instance][] = profile2-contact_operationnel-field_private_phone
|
||||
features[field_instance][] = profile2-contact_operationnel-field_private_quality
|
||||
features[field_instance][] = user-user-field_company
|
||||
features[field_instance][] = user-user-field_memo
|
||||
features[profile2_type][] = adherent
|
||||
features[profile2_type][] = contact_operationnel
|
||||
features[user_permission][] = administer profile types
|
||||
@ -132,8 +132,4 @@ features[user_permission][] = view own field_private_quality
|
||||
features[user_permission][] = view own field_service
|
||||
features[user_permission][] = view own field_siret
|
||||
features[user_permission][] = view own field_user_website
|
||||
features[variable][] = field_bundle_settings_profile2__adherent
|
||||
features[variable][] = field_bundle_settings_profile2__contact_operationnel
|
||||
features_exclude[field_base][field_company] = field_company
|
||||
features_exclude[field_instance][user-user-field_company] = user-user-field_company
|
||||
features_exclude[field_instance][user-user-field_memo] = user-user-field_memo
|
||||
project path = sites/all/modules/features
|
||||
|
0
materio_user_profiles/materio_user_profiles.module
Executable file → Normal file
0
materio_user_profiles/materio_user_profiles.module
Executable file → Normal file
@ -1,44 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* materio_user_profiles.strongarm.inc
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_strongarm().
|
||||
*/
|
||||
function materio_user_profiles_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_profile2__adherent';
|
||||
$strongarm->value = array(
|
||||
'view_modes' => array(),
|
||||
'extra_fields' => array(
|
||||
'form' => array(
|
||||
'redirect' => array(
|
||||
'weight' => '14',
|
||||
),
|
||||
),
|
||||
'display' => array(),
|
||||
),
|
||||
);
|
||||
$export['field_bundle_settings_profile2__adherent'] = $strongarm;
|
||||
|
||||
$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_profile2__contact_operationnel';
|
||||
$strongarm->value = array(
|
||||
'view_modes' => array(),
|
||||
'extra_fields' => array(
|
||||
'form' => array(),
|
||||
'display' => array(),
|
||||
),
|
||||
);
|
||||
$export['field_bundle_settings_profile2__contact_operationnel'] = $strongarm;
|
||||
|
||||
return $export;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user