[Typo3-dev] CMLayer on Mac
Jeff Segars
jsegars at alumni.rice.edu
Wed Nov 24 18:09:12 CET 2004
Thanks for the tip. It appears to work in Safari as well (although the
menu rollovers seem to stay activated even after you move to the next
menu item).
I've been missing those context menus since swithing to a mac so its
good to have them back :)
Macmade wrote:
> 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