[TYPO3-dam] tt_news DAM connector: show old pictures?

georg kuehnberger georg at georg.org
Sun Jul 6 23:18:31 CEST 2008


Hey Sven,

Having had a look at EXT dam_ttnews The function user_imageMarkerFunc in 
dam_ttnews is simply replacing the marker ###NEWS_IMAGE### with the DAM 
image; So you might eigther extend user_imageMarkerFunc with the 
original code from tt_news. Another option would be to modify the TCA 
and add the original image via TS see dam_ttcontent ext_localconf.php.

Being you I would migrate the records to dam, like:
- copy all referenced image-files to fileadmin/whatever and dam-index them;
- loop through all tt_news records, insert the filename matching tx_dam 
record into tx_dam_mm_ref and add the counter in  tx_damnews_dam_images
DONE; That would provide you with a clean DAM setup.
What you might have to do in addition is migrating metadata 
(alt/title... ) from tt_news to tx_dam, in case meta-data is existing 
existing;

regards georg

Sven Hary wrote:
> Hi Georg,
> 
> thanks, the images show up again - but in the BE  only :-(
> In the media-fields I see the old pictures, but - after clearin ALL caches - 
> in the FE there's nothing.
> (the part with the image is completely gone - such If there wouldn't be no 
> image)
> 
> Any hint?
> 
> thanks
> 
> Sven Hary
> 
> "georg kuehnberger" <georg at georg.org> schrieb im Newsbeitrag 
> news:mailman.1.1214912163.22374.typo3-project-dam at lists.netfielders.de...
>> Sven,
>> As far as I recall you would just have to re-enable the old relation fied 
>> (aside the new media field) in order to show the images on the FE;
>>
>> regards georg
>>
>>
>> Sven Hary wrote:
>>> Hi List,
>>>
>>> I've just updated from 3.8 to 4.1.7 and installed DAM with the tt_news 
>>> DAM connector.
>>>
>>> Certainly my old tt_news-pic-relations are not shown, because I've 
>>> disabled the old relation field.
>>> Is there a way to "import" the old picture-relation to the DAM-relation? 
>>> Or even to show the old pictures in frontend even If the BE-User cannot 
>>> see them any longer?
>>> It would make sense because of an large archive of news (> 2000) ...
>>>
>>> thx and greets
>>>
>>> Sven Hary 
> 
> 


More information about the TYPO3-project-dam mailing list