[TYPO3-english] Typoscript: only if page has sub pages

Tania Morales admin at taniamorales.com
Thu Jun 17 18:35:32 CEST 2010


Nice, it works. Thank you guys.

Tania Morales
Computer Science Engineer
TYPO3 Solutions & Web Development
http://www.taniamorales.com


On Thu, Jun 17, 2010 at 3:38 AM, Dmitry Dulepov <dmitry.dulepov at gmail.com>wrote:

> 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/
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list