[Typo3-dev] CMLayer on Mac

Michael Stucki michael at typo3.org
Mon Feb 7 16:09:41 CET 2005


This is now fixed in CVS. Thanks for doing the helpful browser-checks!

- michael

Ingo Schommer wrote:
> just FYI, I posted this a while ago on bugs.typo3.org [1], together
> with a diff-dump for the same proposed fix (delete the mac-condition).
> 
> also tested it thoroughly in like every mac-browser out there,
> with the result of only opera complaining.
> 
> greets
> ingo
> 
> [1] http://bugs.typo3.org/bug_view_page.php?bug_id=0000486
> 
> 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... :)
-- 
Want support? Please read the list rules first: http://typo3.org/1438.0.html




More information about the TYPO3-dev mailing list