[TYPO3-dam] levelmedia: -1, slide notworking with dam ?

Mai Ling Hsieh mlhsieh at inet.mail.com.cn
Fri May 15 13:09:45 CEST 2009


Am 13.05.2009, 11:47 Uhr, schrieb Francois Suter <fsuter at cobweb.ch>:

> Hi,
>
>> Since this code worked forme in the past, I discovered that the code is
>> (for me) not working with dam, when I changed the media field to:  
>> tx_dampages_files
>>  Does anybody experienced this too?
>
> Yes, that cannot work with the DAM. IIRC you need to use extension  
> "dam_pages".
>
> HTH

Thanks, Yes Itried it, but no result.
I changed my code to:
     # adding a picture
   subparts.SMALL_HEADER_IMG = IMAGE
   subparts.SMALL_HEADER_IMG {
     file {
       import.cObject = USER
       import.cObject {
         userFunc = tx_dam_pages->get_media_file
         listNum = 0
         slide   = 1
       }
     }
   }

like requested in DAM documentation, but no result.
Didn't anybody have this prob before?

...

Thanks


More information about the TYPO3-project-dam mailing list