[TYPO3-core] RFC #11571: Feature: tslib_pibase - function pi_loadLL - _LOCAL_LANG Keys like listView.more should also be possible in Typoscript

Sonja Scholz ss at cabag.ch
Mon Aug 9 17:12:18 CEST 2010


Hi Susanne,

Susanne Moog wrote:
> Hi Sonja,
> 
> Sonja Scholz wrote:
>> Hi everyone,
>>
>> This is a SVN patch request.
>>
>> Type: New feature
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=11571
>>
>> Branches:
>> 4.2, 4.3, trunk
> 
> As it is a new feature it can only go to trunk.

Ok, no problem, than only to trunk.

> 
>> Problem:
>> A lot of extensions works with points in their locallang.xml files like
>> listView.more. At the moment its not possible to overwrite these
>> locallang labels via Typoscript, because the point will be interpreted
>> as new subarray.
>>
>> Solution:
>> The patch changes the function pi_loadLL in the class.tslib_pibase so
>> only in the subarray of _LOCAL_LANG its possible to have keys like
>> listView.more
> 
> Generally +1 by reading and testing, but I think the function
> pi_getFlatArray() should rather be something like
> t3lib_div::flattenArray() as we have lots of array functions already in
> place there. What do you think?
> 
> Best regards,
> 
> Susanne
> 

Thank you for your feedback and vote. I like your idea and created a new 
patch with the flattenArray function located in t3lib_div.

Best regards,

Sonja

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 11571_patch_2.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100809/fb149d22/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 11571_patch_pibase_2.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100809/fb149d22/attachment.asc>


More information about the TYPO3-team-core mailing list