[TYPO3] content and array

Andrea Giorgini a.giorgini at norvlit.de
Thu Jan 11 10:37:58 CET 2007


Hi all,

here is my TS:

temp.POM = CONTENT
temp.POM {
	table = tt_products
	wrap = |
	select {
		pidInList = 24,28
        	selectFields = uid,title,image,note,description
        	where = offer=1
        }
	renderObj=COA
  	renderObj {
    		5=IMAGE
    		5{
			wrap=<div id="pom_image">|</div>
			file.import=uploads/pics/
			file.import.field=image
		}
}

and now my problem: if I have more than 1 picture, the image field will
contain an array. How do I get only the first cell?

Thx a lot

Andrea


More information about the TYPO3-english mailing list