[TYPO3-dev] Multiline typoscript and end parenthesis

Christian Wolff Chris at connye.com
Wed Aug 15 11:13:36 CEST 2007


>
> In my TS code (complete below), here are the problematic lines:
>
>          $rSql = $GLOBALS["TYPO3_DB"]->exec_SELECTquery(
> 	  "title",
> 	  "pages",
> 	  "uid=" . $iPageUid
> 	);	// this line fools the parser
>
>

Move the Parentese one line up.
the typo script parser looks for the first none whitespache char.
an if this is a Parentese then it exit the "Code-block"

greets chris




More information about the TYPO3-dev mailing list