Re: [TYPO3-english] question on TSref manual

2012-06-06 Thread typo3 study
Hi, Got it. Thanks. Tom On Wed, Jun 6, 2012 at 3:13 PM, François Suter wrote: > Hi Tom, > > > My question is: >> what does this line mean: stuff.if.isTrue.field = header ? >> > > It means that the whole object (i.e. "stuff") will be handled only if the > header field is not empty. > > The "i

Re: [TYPO3-english] question on TSref manual

2012-06-06 Thread François Suter
Hi Tom, My question is: what does this line mean: stuff.if.isTrue.field = header ? It means that the whole object (i.e. "stuff") will be handled only if the header field is not empty. The "if" construct is rather awkward to use. The basics are that if it returns true, the object it applie

[TYPO3-english] question on TSref manual

2012-06-05 Thread typo3 study
Hi, This example chooses between two different renderings of some content depending on whether the field "layout" is "1" or not ("default"). The result is in either case wrapped with "|". If the field "header" turns out not to be set ("false") an empty string is returned anyway. stuff = CASE stuff