[TYPO3-dam] DAM, dam_ttcontent and localisation

René Fritz r.fritz at colorcube.de
Sat Apr 7 13:15:23 CEST 2007


> 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é

-- 
COLORCUBE
digital media lab

www.colorcube.de


More information about the TYPO3-project-dam mailing list