Keyword

Category menu counter tool

  • Steen Lysgaard
  • Steen Lysgaard's Avatar Topic Author
  • Offline
  • New Member
More
11 years 6 months ago #111069 by Steen Lysgaard
Category menu counter tool was created by Steen Lysgaard
I have a website with items in following categories:

topcat1: 0
- sub1: 1
- sub2: 0
- sub3: 5

topcat2: 0
- sub1: 1
- sub2: 4
- sub3: 0

These articles are changing quite often, so I am looking for a way to make a menu from the counts of these categories:

topcat1: 6 (This is calculated from all the subcategories)
- sub1: 1 (Only shown if the topcat is chosen)
- sub3: 5 (Only shown if the topcat is chosen)

topcat2: 5 (This is calculated from all the subcategories)
- sub1: 1 (Only shown if the topcat is chosen)
- sub2: 4 (Only shown if the topcat is chosen)

In this way to show how many articles there is in each topcat, and also show articles in subcategories - AND empty sub categories not to be shown in the menu...

- If this just is totally impossible, just showing:

topcat1: 6 (This is calculated from all the subcategories)
topcat2: 5 (This is calculated from all the subcategories)

in a module, would be enough :)

Please Log in or Create an account to join the conversation.

  • Steen Lysgaard
  • Steen Lysgaard's Avatar Topic Author
  • Offline
  • New Member
More
11 years 5 months ago #111070 by Steen Lysgaard
Replied by Steen Lysgaard on topic Re: Category menu counter tool
I had really hoped on just a little help on this (If it is even possible) - If not possible, just an answer that would say that, would be nice :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum