[TYPO3-english] Problem with CONTENT

Tapio Markula tapio.markula at xetpoint.fi
Fri Nov 28 08:51:11 CET 2008


Hi

I tried to put into menu image from the field media

This works


20 = CONTENT
     20 {
       table = tt_content

       select {
         where = colPos=0
         pidInList.field = uid
         max=1
       }
       renderObj = IMAGE
       renderObj {
         file.import=uploads/pics/
         file.import.field=image


This doesn't

20 = CONTENT
     20 {

       table=pages
       select {
         where = hidden=0
         pidInList.field = uid
         #max=1
       }
       renderObj = IMAGE
       renderObj {
         file.import=uploads/media/
         file.import.field=media

I put certain page an image to the media field. I just don't understand 
why the latter doesn't work - no image fetched


More information about the TYPO3-english mailing list