[TYPO3-dev] Multiline typoscript and end parenthesis
Jerome Schneider
j.schneider at ameos.com
Wed Aug 15 11:29:10 CEST 2007
Hi Chris,
Thanks but as I said this kind of trick will be really unhandy on the
long term.
I'm looking for the possibility to implement something like the HEREDOC
php notation in TS parser (see
http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
)
Greetz from Frankreich :)
Christian Wolff a écrit :
>
>>
>> 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