[TYPO3] select and parameter

Andrea Giorgini a.giorgini at norvlit.de
Fri Jan 12 10:36:28 CET 2007


Hi all,

this is my TS:

temp.details = CONTENT
temp.details {
	table = tt_products
	wrap = |
	select {
		pidInList = 24,28
        	selectFields = note2
        	where = uid=GPvar:tx_ttproducts_pi1[product]
        }
        renderObj=COA
  	renderObj {
		10 = TEXT
		10 {
			wrap=<div id="single_details2">|</div>
			field = note2
		}
	}
}

without the where clause works fine, but I want only 1 product, the
current (this is the single view page).
Here is the URL:

index.php?id=33&tx_ttproducts_pi1[backPID]=27&tx_ttproducts_pi1[product]=14&cHash=45d0208851

so the uid parameter should be there... but I get empty result. Any idea?

Thx a lot

Andrea


More information about the TYPO3-english mailing list