[TYPO3-templavoila] FCE with a localized DAM image

Ian Solo ian at webian.it
Sat Sep 1 20:11:09 CEST 2007


Hi!
I analyzed a little the problem.
I was using the extension dam_tv_connector to connect the DAM image to the 
FCE.
I think that this extension don't support localization.
The function "fetchFileList" of the class "class.tx_damtvc_tsfe.php" of this 
extension is called by this line in the DS:
-------------------------------------------------------------------
10.imgList.cObject.userFunc = tx_damtvc_tsfe->fetchFileList
-------------------------------------------------------------------
It seems that this funciont don't consider localized records.

So i tryed to use the function "fetchFileList" of the DAM extension (class: 
class.tx_dam_tsfe.php), calling it with this modified line in the DS:
-------------------------------------------------------------------
10.imgList.cObject.userFunc = tx_dam_tsfe->fetchFileList
-------------------------------------------------------------------

At the moment the variable $uid in this function is always NULL cause I'm 
unable to pass the UID of the content to this function with Typoscript.

I miss something like
10.imgList.cObject.uid = <content uid>

Any idea?

My lack in Typoscript knowledge is killing me... but i'm learning :P

My target is to make a DS field of a FCE with a DAM image that can be 
optionally zoomed with Lightbox.
I think this type of DS field can be very useful.

Well... i go on in my search (alias: open TSref) ;)
Bye!ian


"Ian Solo" <ian at webian.it> ha scritto nel messaggio 
news:mailman.1.1188583067.24721.typo3-project-templavoila at lists.netfielders.de...
> Hi!
> I made a FCE that have a DAM field_image.
> Am I wrong or isn't possible to have a localized version of the image with 
> DAM in FCE?
>
> By instance:
> 1.
> I have a site with 2 languages: english and deutsch.
> 2.
> I make a FCE record for the english with a DAM connected "image_en.jpg".
> 3.
> At the moment, in the FE, the page displays the "image_en.jpg" for both 
> english and deutsch.
> 4.
> Now I make a german translation of this record and I change the 
> "image_en.jpg" with the "image_de.jpg".
> 5.
> Now, in the FE, the page still displays the "image_en.jpg" for both 
> english and deutsch.
>
> I attached the DS structure at this message.
>
> Thanks in advance for your answer!ian
>
> 




More information about the TYPO3-project-templavoila mailing list