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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
quadracer
Forum Members
Forum Members
Posts: 44
Joined: Wed Apr 26, 2006 9:59 am

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

Post 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  :)).
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm
Location: Finland

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

Post 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 ;)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

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

Post 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]
User avatar
quadracer
Forum Members
Forum Members
Posts: 44
Joined: Wed Apr 26, 2006 9:59 am

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

Post by quadracer »

tsw wrote: but it might be nice to have.
Would be very nice  :D ...

@mark

Thanks for your ideas.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm
Location: Finland

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

Post by tsw »

mind adding a feature request so its not forgotten

thanks.
Post Reply

Return to “CMSMS Core”