[TYPO3] ow can i know number pages on a given level in page tree?

Andrew Davis andrew at theandrewunderground.com
Wed Mar 28 06:48:42 CEST 2007


Is there any TS that can reference / return the number of pages on a 
given level of a page tree?

Ex. if the root had 4 pages (home,contact,about,portfolio), i could ask 
"how many pages in level=1",  it would return "4"

I am trying to make a simple hmenu/gmenu that will adjust the width of 
the nav .gif images according to the number of pages in the nav, so that 
adding a page wont wrap the menu around to the next line...

Any help much appreciated, thanks

andrew davis


More information about the TYPO3-english mailing list