Index: class.tx_templavoila_tcemain.php =================================================================== --- class.tx_templavoila_tcemain.php (revision 34236) +++ class.tx_templavoila_tcemain.php (working copy) @@ -366,7 +366,6 @@ page.10.disableExplosivePreview = 1 unset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tx_templavoila_tcemain']['doNotInsertElementRefsToPage']); } } - } /** Index: cm1/class.tx_templavoila_cm1_dsedit.php =================================================================== --- cm1/class.tx_templavoila_cm1_dsedit.php (revision 34236) +++ cm1/class.tx_templavoila_cm1_dsedit.php (working copy) @@ -282,6 +282,15 @@ class tx_templavoila_cm1_dsEdit {
'; + } else { + $form .= ' +
+
+
+
+ +
+
'; } $formSubmit = ' Index: mod1/index.php =================================================================== --- mod1/index.php (revision 34236) +++ mod1/index.php (working copy) @@ -1345,6 +1345,11 @@ class tx_templavoila_module1 extends t3lib_SCbase { $result = ''; foreach ($fieldData as $fieldKey => $fieldValue) { + + if (isset($fieldValue['config']['tx_templavoila']['preview']) && $fieldValue['config']['tx_templavoila']['preview'] == 'disable') { + continue; + } + if ($fieldValue['config']['type'] == 'array') { if (isset($fieldValue['data']['el'])) { if ($fieldValue['config']['section']) {