[TYPO3-core] RFC: Feature Request #6087: IRRE - Localization of child records

Oliver Hader oh at inpublica.de
Thu Jan 31 19:47:37 CET 2008


Hi,

I've created a new patch which removes the t3lib_tca again and puts the 
two required functions to t3lib_BEfunc. Additionally I made some other 
cleanings and smaller corrections.

olly


Ingmar Schlecht schrieb:
> Hi guys,
> 
> what do we do about this one?
> 
> I will definitely not have time to review it before feature freeze, but 
> it clearly is a patch that does need careful reviewing.
> 
> Just one short comment: I don't think it makes sense to introduce a new 
> class t3lib_tca for the functions in there. If we introduce new t3lib 
> classes, they should have a well thought-out interface.
> 
> cheers
> Ingmar
> 
> 
> Oliver Hader wrote:
>> This is a SVN patch request.
>>
>> Problem:
>> The localization of child records when viewing the parent record isn't 
>> possible. This is a missing feature of TYPO3 4.1.
>>
>> Solution:
>> Introduce some new TCA configuration settings which allow to define 
>> what should happen to child records when a parent record gets 
>> localized (see also attached text file for documentation changes).
>> Basically a new TCA property is introduced for fields of type 'inline' 
>> with the name 'localizationMode' and can be set to 'keep' or 'select'.
>>
>> Mode *keep*:
>> This is not a real localization, since the children are taken from the 
>> parent of the original language. But the children can be moved, 
>> deleted, modified etc. on the localized parent which - of course - 
>> also affects the original language.
>>     Mode *select*:
>> This mode provides the possibility to have an selective localization 
>> and to compare localized data to the pendants of the original 
>> language. Furthermore this mode is extended by a 'localize all' 
>> feature, which works similar to the localization of content on pages, 
>> and a 'synchronize' feature which offers the possibility to 
>> synchronize a localization with its original language.
>>
>> Documentation changes:
>> -> see attached text file
>>
>> Comments:
>> This issue is related to IRRE but also to other parts of the Core. The 
>> regular "I'll commit in one week if nobody objects" is not given here.
>> I introduced a new class t3lib_tca to start with a base for common TCA 
>> related checks and to retrieve parts of the configuration. It makes 
>> things a bit simpler but - to be honest - has not a real concept yet.
>> I'm looking forward also to conceptual comments on this. But I'm fine 
>> with removing that class and put the checks into the old classes 
>> (TCEmain, TCEforms, TCEforms_inline), since TYPO3 4.2.0-beta1 gets 
>> pushed...
>>
>> Some days ago I've create a short screencast which show this feature:
>> http://www.olly.de/typo3/irre_localization.html
>>
>> I've upgraded the extension 'irre_tutorial' (available in TER) to 
>> version 0.1.9 which supports the new configuration properties and 
>> offers the possibility to test localization on several IRRE cases.
>>
>> References:
>> http://bugs.typo3.org/view.php?id=6087
>> http://lists.netfielders.de/pipermail/typo3-project-irre/2008-January/000262.html 
>>
>> news://news.netfielders.de/mailman.1.1200922393.17504.typo3-project-irre@lists.netfielders.de 
>>
>>
>> Sponsoring:
>> This feature is partly sponsored by the fotobuch.de AG - 
>> http://www.fotobuch.de/ - thank you very much!
>>
>> Branch: Trunk
>>
>>
>> olly
-- 
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006087_v2.patch
Type: text/x-patch
Size: 82000 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080131/9124adc8/attachment-0001.bin 


More information about the TYPO3-team-core mailing list