Index: typo3/alt_doc.php =================================================================== --- typo3/alt_doc.php (revision 5327) +++ typo3/alt_doc.php (working copy) @@ -1369,6 +1369,18 @@ if (($key == 'saveDocNew' || $key == 'saveDocView') && $TSconfig['value'] != '0') { $output = !(isset($TSconfig['properties'][$table]) && $TSconfig['properties'][$table] == '0'); } + // exclude view for sysfolders. Configuration: options.saveDocView.excludeDokTypes = 254,255,... + if ($key == 'saveDocView') { + if (isset($TSconfig['properties']['excludeDokTypes'])) { + $excludeDokTypes = t3lib_div::trimExplode(',', $TSconfig['properties']['excludeDokTypes'], true); + } else { + // exclude sysfolders and recycler by default + $excludeDokTypes = array('254', '255'); + } + if (in_array($this->pageinfo['doktype'], $excludeDokTypes) && ($output !== true || !array_key_exists($table, $TSconfig['properties']))) { + $output = false; + } + } return $output; }