[TYPO3-dam-devel] RFC #10399: Media > List does not display records with language "All"
Michiel Roos [netcreators]
michiel at netcreators.com
Wed May 20 09:15:16 CEST 2009
Francois Suter schreef:
> Hi Michiel,
>
>> Can you tell me how to mod the TCA to test this patch?
>
> Sure. Here you go:
>
> // Add translation field to dam categories
>
> t3lib_div::loadTCA('tx_dam_cat');
> $TCA['tx_dam_cat']['palettes']['2']['showitem'] = 'sys_language_uid';
> $TCA['tx_dam_cat']['types']['1']['showitem'] =
> 'title;;2,subtitle,nav_title,description,keywords,parent_id,--palette--;LLL:EXT:dam/locallang_db.xml:tx_dam_item.frontend_pheader;1;;1-1-1';
>
>
> // Add translation field to dam (to every type)
>
> t3lib_div::loadTCA('tx_dam');
> $TCA['tx_dam']['palettes']['60']['showitem'] = 'sys_language_uid';
> foreach ($TCA['tx_dam']['types'] as $key => $type) {
> $TCA['tx_dam']['types'][$key] = str_replace('title;;;;',
> 'title;;60;;', $type);
> }
>
> Cheers
>
Thx!
+1
Comitted to trunk and 1.1
--
Met vriendelijke groet / Warm regards,
Michiel Roos
TYPO3 Developer
Certified TYPO3 Integrator
t. 06 458 7 8 9 10
w. netcreators.com
_____________________________________________
Netcreators: Open Source, Open Minds, Open People
_____________________________________________
More information about the TYPO3-team-dam
mailing list