[TYPO3-dam] DAM, dam_ttcontent and localisation

Patric Pesch p.pesch at 11com7.de
Tue Apr 10 09:19:40 CEST 2007


René Fritz schrieb:
>> I observed the same and posted a bug-report including solution (patching
>> dam_ttcontent/pi_cssstyledcontent/class.tx_damttcontent_pi1.php )
>> see
>> http://bugs.typo3.org/view.php?id=5301
>> for details;
> 
> If one is interested. The code in dam_ttcontent is changed to use 'media' 
> object which fetches the right language in FE automatically (in next 
> version):
> 
> $media = tx_dam::media_getForFile($totalImagePath, '*');
> if ($media->isAvailable) {
> 	$this->addMetaToData ($media->getMetaArray());
> 	$imgsExtraData[$imgKey] = $media->getMetaArray();
> } else {
> 	$this->removeMetaFromData ();
> 	$imgsExtraData[$imgKey] = array();
> }
> 
> So that will be fixed in RC1
> 
> René
> 
Hi René, thank you for feedback. Good to hear, that the bug will be
fixed in the next version. :-)

Patric


More information about the TYPO3-project-dam mailing list