Project

General

Profile

Actions

Bug #20993

closed

config.message_preview dosn't work anymore in TYPO3 4.3

Added by Sven Juergens about 15 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-09-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

if you activate preview_showHiddenRecords or preview_showHiddenPages in admPanel or UserTS, you got a MessageBox in the right upper Corner.
StandardMessage is "PREVIEW", with config.message_preview you can override the whole box but this dosn't work anymore.
Now it's displaying the message for a workspace "Preview of workspace "" (0)"

it's located in class.tslib_fe.php in

function previewInfo() { (line 3687)
...
if ($this->fePreview==2) {
}

with introdution of this part
"
if ($this->beUserLogin && ($GLOBALS['BE_USER']->adminPanel instanceof tslib_AdminPanel)) {
$this->fePreview = $GLOBALS['BE_USER']->adminPanel->extGetFeAdminValue('preview') ? true : false;
"

var $this->fePreview is now a boolean character and the If statement is not working correkt
(issue imported from #M11872)

Actions

Also available in: Atom PDF