We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8b12ee commit 31b35e3Copy full SHA for 31b35e3
Configuration/TypoScript/setup.typoscript
@@ -6,7 +6,7 @@ tt_content.stdWrap.wrapContentElementsWithVeWrapper = 1
6
# add parameter editMode to every link in edit mode.
7
config.linkVars = editMode(1)
8
9
-# disable admin panel if editMode is set.
10
-[globalVar = GP:editMode = 1]
+# disable admin panel if editMode is set. this most likely dose not work as this setup.typoscript file is loaded as one of the first typoscript files
+[request && traverse(request.getQueryParams(),'editMode') == 1]
11
config.admPanel = 0
12
-[global]
+[end]
0 commit comments