WebmasterSite.net

Register | Forgot Password

Toplist Tweak
Can't quite nail this.

Version: 5.0.28
printPrint


Toplist Tweak
sparkalina
Forum Regular

Usergroup: Customer
Joined: Nov 25, 2003

Total Topics: 60
Total Posts: 179
Posted 01/03/09 - 06:47 PM:
quote post
#1
I have turned on mix itemtypes because I have a zillion different itemtypes each sponsored.

This messes with my ability to show "featured" links at the top with mix itemtypes off so I thought I'd remedy that by creating a toplist, but I'm missing one part of the equation because the toplist shows my featured links in every single category rather than the category they belong to.

Basically I'm trying to toplist featured links in the category they belong in and mimic the display of featured links as if mix linktypes were off.

This is what I have so far and it isn't working. What dufus thing did I do or not do?


<table width="100%" cellspacing="5" cellpadding="5">
[INSERTFILE=linkcolumnsbit]
<!-- BEGIN TOPLIST -->
<CONFIG>items,time;title,5,descending,type = 'pfeatured' or 'pfprivacy' or 'pfppp' and catparentid = '{CATID}',,,0,0,0,0,0,0,,0</CONFIG>
[INSERTFILE=linkbit]
<!-- END TOPLIST -->
</table>


I want my featured links to show but only if they are in that category...

Is that even possible?

Also, I suppose creating a featured link top list for user created keyword based search results wouldn't work because you'd have to make a toplist based on that keyword..which you don't know at the time... that makes no sense but I'm going with that. smiling face


Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California

Total Topics: 62
Total Posts: 7080
Posted 01/04/09 - 02:36 PM:
quote post
#2
Use
(type='pfeatured' or type='pfprivacy' or type='pfppp') and catid={CATID}
as the condition.

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

Usergroup: Customer
Joined: Nov 25, 2003

Total Topics: 60
Total Posts: 179
Posted 01/04/09 - 07:11 PM:
quote post
#3
Thanks. Works perfectly.
Search thread for
Download thread as


Sorry, you don't have permission to post. Log in, or register if you haven't yet.

WSN Links WSN Gallery WSN Knowledge Base WSN Forum WSN Classifieds WSN Directory WSN Software Directory