I need your help for a toplist. (in real two toplists ;-))
For the displaylinks.tpl I need a toplist that shows all the subcats from the parent categorie (maybe the current categrorie marked bold) . If it possible I want to show the numbers of entries next to their categorienames.
For example: You are in the categorie Cats
this is a subcategorie of pets. I want to have that the user, that is in the categorie cats, now see, all subcategories from pets. Like: dogs, birds,.....
Please can somebody post the toplist code for that, I was burning my head to try it.
The second toplist is for the details.tpl
In this I want to show the categorie of the link and all the categories at the same level. If I read the link from a beautyful cat page, I will listend next to it the categorie birds, dogs,...
I think this will be a very powerfull thing for the users and for the search engines.
Comments on Categorie toplist - need your help
Member
Usergroup: Customer
Joined: Oct 23, 2005
Total Topics: 21
Total Comments: 27
Hi,
I need your help for a toplist. (in real two toplists ;-))
For the displaylinks.tpl I need a toplist that shows all the subcats from the parent categorie (maybe the current categrorie marked bold) . If it possible I want to show the numbers of entries next to their categorienames.
For example: You are in the categorie Cats
this is a subcategorie of pets. I want to have that the user, that is in the categorie cats, now see, all subcategories from pets. Like: dogs, birds,.....
Please can somebody post the toplist code for that, I was burning my head to try it.
The second toplist is for the details.tpl
In this I want to show the categorie of the link and all the categories at the same level.
If I read the link from a beautyful cat page, I will listend next to it the categorie birds, dogs,...
I think this will be a very powerfull thing for the users and for the search engines.
Greetings from Germany
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The condition for showing items within or beneth category x is
catid=x OR parentids LIKE '%x%'