[TYPO3-german] numRows liefert falschen Wert

Stefan Beylen typo3 at we-make.net
Mon Feb 25 09:52:00 CET 2008


hallo Liste,

habe folgende Abfrage gebaut:

CONTENT.5=IMAGE
CONTENT.5.altText.field = title
CONTENT.5.file = GIFBUILDER
CONTENT.5.file{
	XY = 440,90
	backColor=#b8dbdb
	10 = TEXT
	10{
		text.cObject=COA
		text.cObject.10=TEXT
		text.cObject.10{
			value=Page with uid 35 exists
			if.isTrue.numRows {
				table = pages
				select {
					where=uid=35
				}
			}
		}
		text.cObject.20=TEXT
		text.cObject.20{
			value=Page with uid 35 does not exist
			if.isFalse.numRows {
				table = pages
				select {
					where=uid=35
				}
			}
		}

leider bekomme ich - obwohl die seite mit der uid 35 existiert - immer 
"Page with uid 35 does not exist" gerendert...

kann mir wer sagen warum? die abfrage die ich benötige ist natürlich 
komplexer, aber ich bekomme nichtmal dieses einfache beispiel zum laufen...

danke für hilfe & lg


More information about the TYPO3-german mailing list