Browse code

Update

Benjamin Roth authored on20/03/2023 16:19:16
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,25 @@
1
+<?php
2
+
3
+/**
4
+ * Tweaks for Contao
5
+ *
6
+ * Copyright (c) 2016 Benjamin Roth [http://www.esales-media.de]
7
+ *
8
+ * @package eSM_tweaks
9
+ * @link    http://www.esales-media.de
10
+ * @license commercial
11
+ */
12
+
13
+/**
14
+ * Extend default palette
15
+ */
16
+$GLOBALS['TL_DCA']['tl_module']['palettes']['expertisePDF'] = '{title_legend},name,headline,type;{expertise_legend},classname;{protected_legend:hide},protected;{expert_legend:hide},guests,cssID,space';
17
+
18
+$GLOBALS['TL_DCA']['tl_module']['fields']['classname'] = array
19
+(
20
+  'label'                 => &$GLOBALS['TL_LANG']['tl_module']['classname'],
21
+  'exclude'               => true,
22
+  'inputType'             => 'text',
23
+  'eval'                  => array('mandatory'=>false, 'tl_class'=>'w50','decodeEntities'=>true),
24
+  'sql'                   => "varchar(255) NOT NULL default ''"
25
+);
0 26
\ No newline at end of file