[TYPO3-dev] jquery / prototype conflict in backend

Michael Knoll mimi at kaktusteam.de
Thu Mar 3 16:42:44 CET 2011


Hi Kay,

thanks a lot fot this - we tried nonConflict(), but whenever we do so, 
nothing works anymore... it's strange behaviour. All jQuery things are 
working, but there is a problem with SWF Upload in backend which seems 
to be connected to the noConflict mode...

Anyways - thanks a lot!

Greetings

Mimi



Am 03.03.11 16:39, schrieb Kay Strobach:
> Hi Mimi,
>
> what about using jQuery in nonConflict mode?
>
> http://docs.jquery.com/Using_jQuery_with_Other_Libraries
>
> Works perfectly here ;)
>
> Otherwise take a look in the doku:
> http://api.typo3.org/typo3v4/current/html/classt3lib___page_renderer.html#aef2ea8c92f2d510086b58b8586e71e8d
>
> http://api.typo3.org/typo3v4/current/html/classt3lib___page_renderer.html#a9e0f3616874437bbcb0a74aa8df8c566
>
> Regards
> Kay
>
>
>
> Am 03.03.2011 16:21, schrieb Michael Knoll:
>> Hi there,
>>
>> we have a problem including jquery and prototype in the right order in
>> backend. We include a jquery library which is at the moment included via
>>
>> $pageRenderer->addJsFile($baseUrl .
>> 'Resources/Public/Js/JQuery/jquery-1.4.4.min.js', 'text/javascript',
>> $compress);
>>
>> If we do this in a flexform data provider, it is included before
>> prototype is included by the backend. If we include it in our fluid
>> template for our backend module, the order is wrong (prototype is
>> included before jquery is included, which leeds to a bug).
>>
>> Is there any way how to make T3 include jquery BEFORE prototype or let's
>> say: Can one change the order of inclusions.
>>
>> We are talking about backend - in frontend, everything is working fine,
>> as we have no prototype / jquery conflicts!
>>
>> Thanks a lot for your help!
>>
>> Mimi
>
>





More information about the TYPO3-dev mailing list