[TYPO3-UG Italy] content e select...

Andrea Giorgini a.giorgini at norvlit.de
Wed Nov 29 09:14:49 CET 2006


ciao,

se faccio direttamente sul db select title,image from tt_products where
offer=1 il risultato e' un record.

Se faccio da TS:


temp.POM = CONTENT
temp.POM {
	table = tt_products
	wrap = |
	select {
        	selectFields = title,image
        	where = offer=1
        }
        renderObj=COA
  	renderObj {
        	# create a IMAGE object
    		5=IMAGE
    		5{
			wrap=|
			file.import=uploads/pics/
			file.import.field=image
			file.width=100
			file.height=100
		}
		10=TEXT
    		10 {
			required=1
			wrap=<h3>|</h3>
			field=title
		}
	}
}

il risultato e' vuoto. Suggerimenti?

Grazie mille

Andrea


More information about the TYPO3-UG-italy mailing list