diff --git a/src/Resources/contao/dca/tl_module.php b/src/Resources/contao/dca/tl_module.php
index f5b84db..f472b21 100644
--- a/src/Resources/contao/dca/tl_module.php
+++ b/src/Resources/contao/dca/tl_module.php
@@ -39,7 +39,7 @@
'default' => array('date', 'author'),
'exclude' => true,
'inputType' => 'checkbox',
- 'options' => array('date', 'author', 'rating'),
+ 'options' => array('date', 'author', 'rating', 'location'),
'reference' => &$GLOBALS['TL_LANG']['MSC'],
'eval' => array('multiple'=>true),
'sql' => "varchar(255) NOT NULL default ''"
diff --git a/src/Resources/contao/dca/tl_recommendation.php b/src/Resources/contao/dca/tl_recommendation.php
index a0dd8eb..bb8ef20 100644
--- a/src/Resources/contao/dca/tl_recommendation.php
+++ b/src/Resources/contao/dca/tl_recommendation.php
@@ -110,7 +110,7 @@
// Palettes
'palettes' => array
(
- 'default' => '{title_legend},title,alias,author;{date_legend},date,time;{recommendation_legend},rating,text,imageUrl;{teaser_legend:hide},teaser;{expert_legend:hide},cssClass,featured;{publish_legend},published,start,stop'
+ 'default' => '{title_legend},title,alias;{date_legend},date,time;{recommendation_legend},author,location,text,imageUrl,rating;{teaser_legend:hide},teaser;{expert_legend:hide},cssClass,featured;{publish_legend},published,start,stop'
),
// Fields
@@ -147,7 +147,7 @@
'exclude' => true,
'search' => true,
'inputType' => 'text',
- 'eval' => array('rgxp'=>'alias', 'doNotCopy'=>true, 'unique'=>true, 'maxlength'=>128, 'tl_class'=>'w50 clr'),
+ 'eval' => array('rgxp'=>'alias', 'doNotCopy'=>true, 'unique'=>true, 'maxlength'=>128, 'tl_class'=>'w50'),
'save_callback' => array
(
array('tl_recommendation', 'generateAlias')
@@ -165,6 +165,17 @@
'eval' => array('doNotCopy'=>true, 'mandatory'=>true, 'maxlength'=>128, 'tl_class'=>'w50'),
'sql' => "varchar(128) NOT NULL default ''"
),
+ 'location' => array
+ (
+ 'label' => &$GLOBALS['TL_LANG']['tl_recommendation']['location'],
+ 'exclude' => true,
+ 'search' => true,
+ 'sorting' => true,
+ 'flag' => 1,
+ 'inputType' => 'text',
+ 'eval' => array('doNotCopy'=>true, 'maxlength'=>128, 'tl_class'=>'w50'),
+ 'sql' => "varchar(128) NOT NULL default ''"
+ ),
'date' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_recommendation']['date'],
diff --git a/src/Resources/contao/languages/de/default.xlf b/src/Resources/contao/languages/de/default.xlf
index dc1c519..00bba05 100644
--- a/src/Resources/contao/languages/de/default.xlf
+++ b/src/Resources/contao/languages/de/default.xlf
@@ -5,6 +5,10 @@
Bewertung
+
+
+ Ort
+