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

Register | Forgot Password

Toplist - exclude category

Version: 4.1.4
Example URL: http://www.idealchristmasgift.co.uk/
printPrint


Toplist - exclude category
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 312
Total Posts: 1032
Posted 10/02/07 - 01:08 AM:
quote post
#1
I currently have...

<CONFIG>links,rand(),5,ascending,type='article',,,0,0,0,0,0,0</CONFIG>

which works great. But I want to exclude catid=5 I have tried all sorts of ways to try and filter it but can't get it to work - is it possible to exclude a category?

In case it isn't possible I then tried to filter it to catid=8 and all its sub-cats. But couldn't get that to work either!


Edited by babrees on 10/02/07 - 01:10 AM
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 10/03/07 - 04:21 PM:
quote post
#2
type='article' AND catid != 5

"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
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 312
Total Posts: 1032
Posted 10/03/07 - 08:53 PM:
quote post
#3
Brilliant! Thanks Paul works perfectly
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.