updated amdin content-types showroom features

This commit is contained in:
Bachir Soussi Chiadmi
2016-11-21 15:32:15 +01:00
parent cc295255a1
commit 039f49aded
17 changed files with 504 additions and 574 deletions

View File

@@ -22,17 +22,17 @@ function showroom_strongarm() {
$strongarm->api_version = 1;
$strongarm->name = 'ant_pattern_showroom';
$strongarm->value = '<?php
//[node:field-tode-showroom:name]
$items = field_get_items(\'node\', $node, \'field_tode_showroom\');
return t($items[0][\'name\']);
?>
';
?>';
$export['ant_pattern_showroom'] = $strongarm;
$strongarm = new stdClass();
$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 = 1;
$strongarm->value = 0;
$export['ant_php_showroom'] = $strongarm;
$strongarm = new stdClass();
@@ -228,7 +228,7 @@ return t($items[0][\'name\']);
$strongarm->name = 'nodeformscols_field_placements_showroom_default';
$strongarm->value = array(
'additional_settings' => array(
'region' => 'main',
'region' => 'footer',
'weight' => '5',
'has_required' => FALSE,
'title' => 'Onglets verticaux',
@@ -236,7 +236,7 @@ return t($items[0][\'name\']);
),
'actions' => array(
'region' => 'right',
'weight' => '2',
'weight' => '3',
'has_required' => FALSE,
'title' => 'Enregistrer',
'hidden' => 0,
@@ -257,7 +257,7 @@ return t($items[0][\'name\']);
),
'body' => array(
'region' => 'main',
'weight' => '1',
'weight' => '4',
'has_required' => FALSE,
'title' => 'Body',
'hidden' => 0,
@@ -271,24 +271,31 @@ return t($items[0][\'name\']);
),
'field_public_address' => array(
'region' => 'main',
'weight' => '4',
'weight' => '3',
'has_required' => TRUE,
'title' => 'Adresse',
),
'field_public_email' => array(
'region' => 'main',
'weight' => '2',
'weight' => '1',
'has_required' => FALSE,
'title' => 'Email',
'hidden' => 0,
),
'field_public_phone' => array(
'region' => 'main',
'weight' => '3',
'weight' => '2',
'has_required' => FALSE,
'title' => 'Phone',
'hidden' => 0,
),
'field_memo' => array(
'region' => 'right',
'weight' => '2',
'has_required' => FALSE,
'title' => 'Mémo',
'hidden' => 0,
),
);
$export['nodeformscols_field_placements_showroom_default'] = $strongarm;