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

Register | Forgot Password

Top list that DOESN'T include CATIDs
Top list that excludes certain categories

Version: 3.20
printPrint


Top list that DOESN'T include CATIDs
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 88
Total Posts: 304
Posted 08/07/05 - 12:02 PM:
quote post
#1
Hello,

I see the manual saying
catid=6 OR parentids LIKE '%|||6|||%'

for displaying only certain category and all it's subcategories. what is the option though, for NOT including certain categories. something like catid= NOT 6,5,3 . Or can I use <IF > conditionals in the CONFIG of the Top lists?

Thanks
David
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 08/07/05 - 03:16 PM:
quote post
#2
catid=6 OR parentids LIKE '%|||6|||%' AND catid != 5 AND catid != 3

"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
david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 88
Total Posts: 304
Posted 08/07/05 - 03:28 PM:
quote post
#3
Thank You Boss! smiling face
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.