Commit 2e6e3571 authored by Kevin Ditscheid's avatar Kevin Ditscheid

[TASK] Remove Save & View Button from sg_routes table edit views

parent b737c6ff
options.saveDocView.tx_sgroutes_domain_model_pagenotfoundhandling = 0
options.saveDocView.tx_sgroutes_domain_model_route = 0
options.saveDocView.tx_sgroutes_domain_model_log = 0
options.saveDocView.tx_sgroutes_domain_model_category = 0
......@@ -39,6 +39,10 @@ call_user_func(
);
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig(
'@import "EXT:sg_routes/Configuration/TsConfig/User/DisableSaveDocView.tsconfig"'
);
if (TYPO3_MODE === 'FE') {
$GLOBALS['TYPO3_CONF_VARS']['FE']['tx_routes_executed'] = [];
// Save the original, because I need to redirect to this URL, if this handling can't succeed.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment