That is a category #18 toplist. If you're not seeing it, perhaps the whole toplist is not actually running in the spot you're looking and you're seeing something else... or you have 2 config lines, or some such.
After wasting 20 minutes on it I used the toplist generator and it worked perfectly as normal. Your syntax is wrong, please use the toplist generator for creating toplists like I do.
After several days of trying and umpteen goes over about an hour at the toplist generator (which I didn't realise was there!!!) I finally managed to get it working (although not with your filefield=1 in another thread www.webmastersite.net/forum...orums/comments.php?id=6182 - I've given up on that one)
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on toplist - catid
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
I have a toplist to be based on cat id 18 but it's not working and includes all cats. What's wrong with the following config?
<CONFIG>links,rand(),1,catid=18</CONFIG>
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
That is a category #18 toplist. If you're not seeing it, perhaps the whole toplist is not actually running in the spot you're looking and you're seeing something else... or you have 2 config lines, or some such.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
The toplist is working but is including ALL categories, not just ID 18. This is the full code I have....
<center>
<IF {SWITCH_MAINTOPLIST}>
<div class="box"><b><font size="2">Featured Canaan Dog</font></b><br />
<br />
<!-- BEGIN TOPLIST 1 -->
<CONFIG>links,rand(),1,catid=18</CONFIG>
<IF {LINKFILEFIELD}>
<!-- BEGIN 1 LINK ATTACHMENTS -->
<a href="{LINKDETAILSURL}"><img src="thumbnail.php?id={LINKID}&attachid={ATTACHID}" /></a>
<!-- END LINK ATTACHMENTS -->
<OTHERWISE>
<a href="{LINKDETAILSURL}"><img src="templates/default/images/nophoto.gif" /></a></IF>
<br />
<a href="{LINKDETAILSURL}">{LINKTITLE}</a>
<!-- END TOPLIST 1 -->
</div>
</IF>
</center>
Usergroup: Customer
Joined: Apr 15, 2005
Location: Russia
Total Topics: 3
Total Comments: 10
Similarly, could not make toplist for category, to mine all complexity in function rand(), if to make toplist on popularity - all works
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
After wasting 20 minutes on it I used the toplist generator and it worked perfectly as normal. Your syntax is wrong, please use the toplist generator for creating toplists like I do.
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
Thanks Paul.
After several days of trying and umpteen goes over about an hour at the toplist generator (which I didn't realise was there!!!) I finally managed to get it working (although not with your filefield=1 in another thread www.webmastersite.net/forum...orums/comments.php?id=6182 - I've given up on that one)