[TYPO3-english] Overlay 'media' field in pages properties
Oliver Rowlands
oliver at liquidlight.co.uk
Tue Jul 13 11:05:41 CEST 2010
Hi Victor,
I packaged it up as an extension which you can download from here:
http://www.liquidlight.co.uk/ter/pagel10n/T3X_pagel10n-1_0_1-z-201007130944.t3x
It should be appearing in the TER in the next 24 hours as EXT:pagel10n.
This extension is not specific to any particular column so you will need
to set the "l10n_mode" to "mergeIfNotBlank" for the media column. You
can do so by adding the following to your typo3conf/extTables.php:
t3lib_div::loadTCA('pages_language_overlay');
$TCA['pages_language_overlay']['columns']['media']['l10n_mode'] =
'mergeIfNotBlank';
HTH,
Oliver
On 12/07/10 11:07, Victor Livakovsky wrote:
> Hi, Oliver.
>
> I tried config.sys_language_softMergeIfNotBlank = pages:media (I think
> this option does same as t3lib_pageSelect::getPageOverlay()), but that
> didn't work in TYPO3 v. 4.4
> I think it's because pages are localized not in same way as other records.
>
> So, yes, can you, please send me your XCLASS? :)
>
>> Hi Victor,
>>
>> You should be able to use the "l10n_mode": "mergeIfNotBlank" in the
>> "pages" TCA, however in 4.2 that does not seem to work as the
>> t3lib_pageSelect::getPageOverlay() function does not support it.
>>
>> I am not sure if the issue has been resolved in 4.3 and 4.4.
>>
>> We have a XCLASS for "class.t3lib_page.php" which resolves the problem
>> if you need it.
>>
>> Best regards,
>>
>> Oliver
>
More information about the TYPO3-english
mailing list