Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sg_routes
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
TYPO3
sg_routes
Commits
2e6e3571
Commit
2e6e3571
authored
Mar 04, 2019
by
Kevin Ditscheid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TASK] Remove Save & View Button from sg_routes table edit views
parent
b737c6ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
Configuration/TsConfig/User/DisableSaveDocView.tsconfig
Configuration/TsConfig/User/DisableSaveDocView.tsconfig
+4
-0
ext_localconf.php
ext_localconf.php
+4
-0
No files found.
Configuration/TsConfig/User/DisableSaveDocView.tsconfig
0 → 100644
View file @
2e6e3571
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
ext_localconf.php
View file @
2e6e3571
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment