Bug #16551

Cannot reset settings via admPanel.override

Added by Miroslav Monkevic over 6 years ago. Updated 18 days ago.

Status:Needs Feedback Start date:2006-09-11
Priority:Should have Due date:
Assignee:Michael Stucki % Done:

0%

Category:-
Target version:-
TYPO3 Version:4.0 Complexity:
PHP Version:
Votes: 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)

bug_4198.diff (714 Bytes) Administrator Admin, 2006-10-17 20:03


Related issues

related to Core - Bug #15224: NOTE to 1518: Option .showHiddenPages for "module.preview... Closed 2005-11-20
duplicated by Core - Feature #15416: admPanel.module.edit.forceNoPopup = 0 doesn't affect to '... Closed 2006-01-14

History

Updated by Miroslav Monkevic over 6 years ago

Summary intended to be: Cannot reset settings via admPanel.override

Someone who can, change it, please.

Updated by Miroslav Monkevic over 6 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 over 6 years ago

I fured out that it works when I do not set .modulename to 1:

  1. this works
    admPanel {
    enable.edit = 1
    hide = 1
    override {
  2. 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 18 days 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)?

Also available in: Atom PDF