Index: class.tx_templavoila_tcemain.php =================================================================== --- class.tx_templavoila_tcemain.php (revision 29939) +++ class.tx_templavoila_tcemain.php (working copy) @@ -197,6 +197,15 @@ $fieldArray = null; } } + } else if ($table == 'sys_template' && $status == 'new') { + if (isset($fieldArray['root']) && $fieldArray['root'] == 1 && $fieldArray['clear'] == 3) { + $fieldArray['config'] = ' +page = PAGE +page.10 = USER +page.10.userFunc = tx_templavoila_pi1->main_page +page.10.disableExplosivePreview = 1 + '; + } } }