Page 1 of 1

MenuManager - How can I count entrys of sublevels in menu?

Posted: Fri Oct 06, 2006 7:43 am
by quadracer
How the topic says I wanna count all pages from a defined level upside - what I have to do?

The page I built should be a catalog page with counting of all subpages (I wount't use cataloger module  :)).

Re: MenuManager - How can I count entrys of sublevels in menu?

Posted: Fri Oct 06, 2006 9:25 am
by tsw
hmm, I dont think its easily done with the current implementation.

but it might be nice to have. Ill try to look how it could be done (or mark has the answer already ;)

Re: MenuManager - How can I count entrys of sublevels in menu?

Posted: Fri Oct 06, 2006 2:00 pm
by Dr.CSS
The only counting the menu manager uses that I can find...

|{$node->id}|{$node->prevdepth}|{$node->hierarchy}|{$node->depth}|

attached is an image of this in action....

[gelöscht durch Administrator]

Re: MenuManager - How can I count entrys of sublevels in menu?

Posted: Fri Oct 06, 2006 4:06 pm
by quadracer
tsw wrote: but it might be nice to have.
Would be very nice  :D ...

@mark

Thanks for your ideas.

Re: MenuManager - How can I count entrys of sublevels in menu?

Posted: Fri Oct 06, 2006 4:15 pm
by tsw
mind adding a feature request so its not forgotten

thanks.