updated features for showroom

This commit is contained in:
Bachir Soussi Chiadmi
2016-11-06 21:32:21 +01:00
parent c7e2de9e8b
commit c97d1d7f75
11 changed files with 463 additions and 76 deletions

View File

@@ -52,7 +52,7 @@ function showroom_field_default_field_instances() {
'module' => 'text',
'settings' => array(),
'type' => 'text_default',
'weight' => 0,
'weight' => 3,
),
'homeblock' => array(
'label' => 'above',
@@ -129,7 +129,7 @@ function showroom_field_default_field_instances() {
'weight' => 0,
),
'default' => array(
'label' => 'above',
'label' => 'hidden',
'module' => 'addressfield',
'settings' => array(
'format_handlers' => array(
@@ -138,7 +138,7 @@ function showroom_field_default_field_instances() {
'use_widget_handlers' => 1,
),
'type' => 'addressfield_default',
'weight' => 2,
'weight' => 0,
),
'homeblock' => array(
'label' => 'above',
@@ -472,11 +472,11 @@ function showroom_field_default_field_instances() {
'weight' => 0,
),
'default' => array(
'label' => 'above',
'label' => 'hidden',
'module' => 'email',
'settings' => array(),
'type' => 'email_default',
'weight' => 3,
'weight' => 1,
),
'homeblock' => array(
'label' => 'above',
@@ -547,11 +547,11 @@ function showroom_field_default_field_instances() {
'weight' => 0,
),
'default' => array(
'label' => 'above',
'label' => 'hidden',
'module' => 'cck_phone',
'settings' => array(),
'type' => 'global_phone_number',
'weight' => 4,
'weight' => 2,
),
'homeblock' => array(
'label' => 'above',
@@ -864,11 +864,10 @@ function showroom_field_default_field_instances() {
'weight' => 0,
),
'default' => array(
'label' => 'above',
'module' => 'taxonomy',
'label' => 'hidden',
'settings' => array(),
'type' => 'taxonomy_term_reference_link',
'weight' => 1,
'type' => 'hidden',
'weight' => 4,
),
'homeblock' => array(
'label' => 'above',
@@ -916,7 +915,7 @@ function showroom_field_default_field_instances() {
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'label' => 'hidden',
'settings' => array(),
'type' => 'hidden',
'weight' => 1,
@@ -955,7 +954,7 @@ function showroom_field_default_field_instances() {
'description' => '',
'display' => array(
'default' => array(
'label' => 'above',
'label' => 'hidden',
'settings' => array(),
'type' => 'hidden',
'weight' => 0,

View File

@@ -45,6 +45,7 @@ function showroom_user_default_permissions() {
'name' => 'create showroom content',
'roles' => array(
'administrator' => 'administrator',
'root' => 'root',
),
'module' => 'node',
);
@@ -54,6 +55,7 @@ function showroom_user_default_permissions() {
'name' => 'delete any showroom content',
'roles' => array(
'administrator' => 'administrator',
'root' => 'root',
),
'module' => 'node',
);
@@ -63,6 +65,7 @@ function showroom_user_default_permissions() {
'name' => 'delete own showroom content',
'roles' => array(
'administrator' => 'administrator',
'root' => 'root',
),
'module' => 'node',
);
@@ -72,6 +75,7 @@ function showroom_user_default_permissions() {
'name' => 'delete terms in showroom',
'roles' => array(
'administrator' => 'administrator',
'root' => 'root',
),
'module' => 'taxonomy',
);
@@ -91,6 +95,7 @@ function showroom_user_default_permissions() {
'name' => 'edit any showroom content',
'roles' => array(
'administrator' => 'administrator',
'root' => 'root',
),
'module' => 'node',
);
@@ -140,6 +145,7 @@ function showroom_user_default_permissions() {
'name' => 'edit own showroom content',
'roles' => array(
'administrator' => 'administrator',
'root' => 'root',
),
'module' => 'node',
);
@@ -149,6 +155,7 @@ function showroom_user_default_permissions() {
'name' => 'edit terms in showroom',
'roles' => array(
'administrator' => 'administrator',
'root' => 'root',
),
'module' => 'taxonomy',
);
@@ -166,63 +173,83 @@ function showroom_user_default_permissions() {
// Exported permission: 'enter showroom revision log entry'.
$permissions['enter showroom revision log entry'] = array(
'name' => 'enter showroom revision log entry',
'roles' => array(),
'roles' => array(
'root' => 'root',
),
'module' => 'override_node_options',
);
// Exported permission: 'merge showroom terms'.
$permissions['merge showroom terms'] = array(
'name' => 'merge showroom terms',
'roles' => array(),
'roles' => array(
'root' => 'root',
),
'module' => 'term_merge',
);
// Exported permission: 'override showroom authored by option'.
$permissions['override showroom authored by option'] = array(
'name' => 'override showroom authored by option',
'roles' => array(),
'roles' => array(
'root' => 'root',
),
'module' => 'override_node_options',
);
// Exported permission: 'override showroom authored on option'.
$permissions['override showroom authored on option'] = array(
'name' => 'override showroom authored on option',
'roles' => array(),
'roles' => array(
'root' => 'root',
),
'module' => 'override_node_options',
);
// Exported permission: 'override showroom promote to front page option'.
$permissions['override showroom promote to front page option'] = array(
'name' => 'override showroom promote to front page option',
'roles' => array(),
'roles' => array(
'root' => 'root',
),
'module' => 'override_node_options',
);
// Exported permission: 'override showroom published option'.
$permissions['override showroom published option'] = array(
'name' => 'override showroom published option',
'roles' => array(),
'roles' => array(
'root' => 'root',
),
'module' => 'override_node_options',
);
// Exported permission: 'override showroom revision option'.
$permissions['override showroom revision option'] = array(
'name' => 'override showroom revision option',
'roles' => array(),
'roles' => array(
'root' => 'root',
),
'module' => 'override_node_options',
);
// Exported permission: 'override showroom sticky option'.
$permissions['override showroom sticky option'] = array(
'name' => 'override showroom sticky option',
'roles' => array(),
'roles' => array(
'root' => 'root',
),
'module' => 'override_node_options',
);
// Exported permission: 'show showroom title'.
$permissions['show showroom title'] = array(
'name' => 'show showroom title',
'roles' => array(),
'roles' => array(
'Showroom' => 'Showroom',
'administrator' => 'administrator',
'root' => 'root',
),
'module' => 'materio_page_title',
);

View File

@@ -32,7 +32,7 @@ return t($items[0][\'name\']);
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'ant_php_showroom';
$strongarm->value = 0;
$strongarm->value = 1;
$export['ant_php_showroom'] = $strongarm;
$strongarm = new stdClass();
@@ -103,7 +103,53 @@ return t($items[0][\'name\']);
$strongarm->api_version = 1;
$strongarm->name = 'field_bundle_settings_node__showroom';
$strongarm->value = array(
'view_modes' => array(),
'view_modes' => array(
'teaser' => array(
'custom_settings' => TRUE,
),
'homeblock' => array(
'custom_settings' => TRUE,
),
'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,
),
'full' => array(
'custom_settings' => FALSE,
),
'rss' => array(
'custom_settings' => FALSE,
),
'diff_standard' => array(
'custom_settings' => FALSE,
),
'print' => array(
'custom_settings' => FALSE,
),
'email_plain' => array(
'custom_settings' => FALSE,
),
'email_html' => array(
'custom_settings' => FALSE,
),
'email_textalt' => array(
'custom_settings' => FALSE,
),
'token' => array(
'custom_settings' => FALSE,
),
),
'extra_fields' => array(
'form' => array(
'metatags' => array(
@@ -315,7 +361,9 @@ return t($items[0][\'name\']);
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'unique_field_fields_showroom';
$strongarm->value = array();
$strongarm->value = array(
0 => 'field_tode_showroom',
);
$export['unique_field_fields_showroom'] = $strongarm;
$strongarm = new stdClass();