[Typo3-dev] CMLayer on Mac

Macmade gad113 at macmade.net
Wed Nov 24 16:33:46 CET 2004


I notified something very interesting for the Typo3 Mac users.

On a MacOS system, the contextual menu of the backend is disabled, so
the menu can be displayed only on the top frame. There's in fact a Mac
detection hardcoded in the core "template" class.

This menu works without problems on Mac, with a Mozilla based browser.
Maybe it should be activeted for that platform on a next release of
Typo3... ;) I'm sure it will be appreciated...

For the moment, you can remove the detection at line 350 of the
typo3/template.php file. Change this:

return !$GLOBALS['BE_USER']->uc['disableCMlayers'] &&
$GLOBALS['CLIENT']['FORMSTYLE'] &&
$GLOBALS['CLIENT']['SYSTEM']!='mac';

To this:

return !$GLOBALS['BE_USER']->uc['disableCMlayers'] &&
$GLOBALS['CLIENT']['FORMSTYLE'];

And it works like a dream... :)




More information about the TYPO3-dev mailing list