[TYPO3-english] Typoscript: only if page has sub pages
Dmitry Dulepov
dmitry.dulepov at gmail.com
Thu Jun 17 10:38:30 CEST 2010
Hi!
JoH asenau wrote:
> Actually it's "isTrue" - and pidInList/selectFields has nothing to do with RECORDS but with "select" which is available for CONTENT and numRows ;-)
> Usually numRows has been made for counting items. In this case selectFields will be automatically set/overriden with COUNT(*)
>
> So this should do the job
>
> if.isTrue.numRows {
> table = pages
> }
Good one! I overlooked numRows. :)
--
Dmitry Dulepov
TYPO3 expert / TYPO3 core&security teams member
Twitter: http://twitter.com/dmitryd
Read more @ http://dmitry-dulepov.com/
More information about the TYPO3-english
mailing list