Issue Bug Closed

#20993config.message_preview dosn't work anymore in TYPO3 4.3

Sven Juergens 09/04/09, 10:44 updated 05/14/13, 11:59

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.