Bug #16551
closedCannot reset settings via admPanel.override
0%
Description
I wasn't able to turn off edit panel using User TSConfig code:
admPanel {
enable.all = 1
hide = 0
override {
edit = 1
edit {
displayFieldIcons = 1
displayIcons = 0
editFormsOnPage = 1
editNoPopup = 1
}
}
}
I believe this deals with bug 1518. (not sure though)
See pathch attached to 1518.
Code below does not take into account that $this->extAdminConfig['override.'][$pre.'.'][$val] can be 0.
// override all settings with user TSconfig
if ($this->extAdminConfig['override.'][$pre.'.'][$val] && $val) {
return $this->extAdminConfig['override.'][$pre.'.'][$val];
}
if ($this->extAdminConfig['override.'][$pre]) {
return $this->extAdminConfig['override.'][$pre];
}
(issue imported from #M4198)
Files
Updated by Miroslav Monkevic about 18 years ago
Summary intended to be: Cannot reset settings via admPanel.override
Someone who can, change it, please.
Updated by Miroslav Monkevic about 18 years ago
Now I am not sure that code I posted earlier has something to do with it. AFAIR it worked with conf_userts (Preconfiguration of Backend Users) extension installed, before I started to configure it manualy.
Another thing, now when I try to change order of content elements in FE I get:
Fatal error: Call to a member function on a non-object in /../t3lib/class.t3lib_tsfebeuserauth.php on line 1068
Updated by Miroslav Monkevic about 18 years ago
I fured out that it works when I do not set .modulename to 1:
- this works
admPanel {
enable.edit = 1
hide = 1
override { - edit = 1
edit {
displayFieldIcons = 1
displayIcons = 0
editFormsOnPage = 1
editNoPopup = 1
}
}
However TSConfig docs (latest) states:
====
Note:
You have to activate a module first by setting
.modulename = 1
====
Fatal error still remains.
Updated by Alexander Opitz over 11 years ago
- Status changed from Accepted to Needs Feedback
- Target version deleted (
0) - PHP Version deleted (
4)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
- Assignee deleted (
Michael Stucki)
No feedback for over 90 days.