[TYPO3-core] RFC: #4911: No function for adding alternative external URL for other languages
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Sun Nov 25 22:21:45 CET 2007
Benjamin Mack schrieb:
> Hey Masi,
>
> Martin Kutschker wrote:
>> There is the TCA-ctrl property transOrigPointerTable, which is used by
>> page_language_overlay. And in
>> t3lib_TCEforms->registerDefaultLanguageData() the original page record
>> is loaded into $t3lib_TCEforms->defaultLanguageData.
>>
>> Maybe getRTypeNum() can be changed as such that it tests for
>> TCA[<table>][ctrl]transOrigPointerTable and if set uses the TCA of
>> that table to determine the type (using of course
>> $t3lib_TCEforms->defaultLanguageData instead of the supplied $row
>> parameter).
> Sounds reasonable. You want to make a patch for that?
No, I'm happy with providing a starter for some else :-)
>> IMHO anyone who submits a patch here must check all changes, just
>> because it's in the BT is not a sufficient reason. The point is that
>> we not only verify the functionality but also the implications of a
>> patch. So it's important to understand what you submit.
> I know and agree completely. Sorry for the little communication from my
> side. AFAIK this part (the vars in the conf.php) was used before we had
> the config_default.php, so yes, this change is unnecessary (+ it's
> commented out), especially because the new installer will remove that
> directory completely anyway.
Thanks for the clarification.
> But /if/ somebody would uncomment these options again and uses these
> default settings we'd have option inconsistency.
I don't think they are up to date. Anyone commenting them out will see
many additions in config_default.php
> Better: Feel free to erase the commented out options.
If nobody objects I will remove those comment blocks.
Masi
More information about the TYPO3-team-core
mailing list