[TYPO3] counting subpages recursivly?

Bernd Wilke xoonsji02 at sneakemail.com
Sun Jun 24 03:41:27 CEST 2007


On Sun, 24 Jun 2007 01:01:50 +0200, Peter Klein wrote
with subject "Re: [TYPO3] counting subpages recursivly?":

> Small fix.
> 
> This part (Inside the LOAD_REGISTER object):
> 
>      20 = TEXT
>      20.field = uid
> 
> should be:
> 
>      20 = TEXT
>      20.data = field:uid

Are you sure?
for me it also works with your original version. No differences.

And Thank You for this solution. I doubt I would get it by my own.
I got this solution for one level:

temp.addcnt = TEXT
temp.addcnt  {
	override {
		numRows {
			table = pages
			select {
				pidInList.field = uid
			}
		} 
	}
	noTrimWrap = | (|)|
	required = 1
}

with:
	1.NO.after.cObject < temp.addcnt

and I sought for an extended select.

Bernd

-- 
http://www.pi-phi.de/t3v4/cheatsheet.html


More information about the TYPO3-english mailing list