[TYPO3-core] RFC #13068: t3lib_tceforms does not respect mod.SHARED.disableLanguages

Xavier Perseguers typo3 at perseguers.ch
Sat Dec 19 17:09:07 CET 2009


> This is an SVN patch request.
>
> Type: Bugfix / Follow-up to feature
>
> Branches: trunk, 4-3
>
> Problem:
> When a flexform does not disable inline translation (that is it enables
> it):
>
> <meta>
> <langDisable>0</langDisable>
> </meta>
>
> all languages are made available. However a page option
> mod.SHARED.disableLanguages allow languages to be deactivated.
>
> As such the behavior is not respected as when setting langDisable to 1
> (CE are localizable with mod.SHARED.disableLanguages taken into account).
>
> Solution:
> Use same code logic as within tx_cms_layout.php.
>
> Note:
> This bug is related to feature #10432 - Page TS option to disable
> available languages

In v2 I moved code to getAvailableLanguages() where it actually (better) belongs.

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 13068_v2.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091219/28e3c9a8/attachment.txt>


More information about the TYPO3-team-core mailing list