[TYPO3-mvc] RFC #12212 Ajax widgets don't honor sys_language_uid
Kevin Ulrich Moschallski
km at 3digit.de
Fri Jan 14 15:34:25 CET 2011
On 2011-01-14 14:03:10 +0100, Franz Koch said:
> Hey,
>
>> thanks for your reply. You're right simply getting get variable L isn't
>> correct, i forgot about the possibility to configure it.
>>
>> My TS sets the language in "config." not "page.config.". Also i tried to
>> add it to the AJAX response TS without success.
>>
>> I think the problem is that the AJAX uri is build with
>> http_build_query(), which is of course not aware of any TSFE stuff.
>>
>> The normal link is create with the uriBuilder. But i think there is an
>> reason why it isn't used for the ajax uri. I will experiment on this and
>> try to fix it in a propper way.
>
> ah, thanks for info - didn't have a look at the code yet. As I see it
> the TSFE has to be used here - no matter what. The usage of
> http_build_query might probably be a relict of the FLOW3 port of the
> widget. But I'll check that with Sebastian and Bastian.
Hi,
a made v2 of the patch. This time i use the uriBuilder which calls
typoLink_URL() to build the ajax widget uri. It works fine with
languages. Please have a look at it.
Regards,
Kevin
More information about the TYPO3-project-typo3v4mvc
mailing list