[TYPO3-core] RFC: Bugfix #10064: sysext fe_edit: config.admPanel without effect

Ralf Hettinger ng at ralfhettinger.de
Tue Jan 6 16:20:27 CET 2009


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=10064

Branches:
trunk only


Problem:
After moving frontend editing to a separate sysext (see
http://bugs.typo3.org/view.php?id=9615), the template TS property
config.admPanel (respectively config.[pageObj].admPanel) has no effect
any longer, which is a regression in functionality in current 4.3 alpha1
(e.g. you can't switch the Admin Panel off for certain branches only).

Quoting [1]: "Notice the fact that the visibility of the admin panel is
ultimately depending on being configured in your TypoScript template for
the website! This is easily done by inserting this string in the
TypoScript Template:

config.admPanel = 1

or if you use frames, this is probably better:

page.config.admPanel = 1"


Solution:
Respect $GLOBALS['TSFE']->config['config']['admPanel'] when drawing a
TYPO3 page as it has been done before fe_edit.


[1]
http://typo3.org/documentation/document-library/references/doc_core_tsconfig/4.2.0/view/1/2/

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 10064_4.3_alpha1.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090106/45faf4b6/attachment.txt 


More information about the TYPO3-team-core mailing list