WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Categorie toplist - need your help
show the all the cats in the parent cat

Version: 3.2.7
printPrint


Categorie toplist - need your help
Marc
Member

Usergroup: Customer
Joined: Oct 23, 2005
Total Topics: 21
Total Posts: 27
Posted 02/21/06 - 09:01 AM:
quote post
#1
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








Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6339
Posted 02/27/06 - 10:51 PM:
quote post
#2
The condition for showing items within or beneth category x is
catid=x OR parentids LIKE '%x%'

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.