Project

General

Profile

Actions

Bug #16551

closed

Cannot reset settings via admPanel.override

Added by Miroslav Monkevic about 18 years ago. Updated about 11 years ago.

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

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

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #15224: NOTE to 1518: Option .showHiddenPages for "module.preview" obsolete?ClosedMichael Stucki2005-11-20

Actions
Has duplicate TYPO3 Core - Feature #15416: admPanel.module.edit.forceNoPopup = 0 doesn't affect to 'toolbar'ClosedMichael Stucki2006-01-14

Actions
Actions #1

Updated by Miroslav Monkevic about 18 years ago

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

Someone who can, change it, please.

Actions #2

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

Actions #3

Updated by Miroslav Monkevic about 18 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.

Actions #4

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)?

Actions #5

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.

Actions

Also available in: Atom PDF