Actions
Bug #16551
closedCannot reset settings via admPanel.override
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-09-11
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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
Actions