Usergroup: Customer
Joined: Apr 26, 2008
Total Topics: 2
Total Posts: 3
Posted 04/26/08 - 08:50 AM:
#1
Hi
I want to include a random sponsored link at the top of the relevant category. I've got it working with a link's primary category, but it's not showing up in the link's secondary category.
The Toplist code I'm using is
<CONFIG>links,rand(),1,ascending,type='feature d' and catid='{CATID}'</CONFIG>
Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 49
Total Posts: 5539
Posted 04/26/08 - 11:15 PM:
#2
In order to include secondary instances in a toplist, you need to set aliases to yes in the toplist generator's "What classifications of items should be shown in this toplist?" area. That'll generate what you want:
<CONFIG>links,rand(),5,ascending,type='featured' and catid='{CATID}',,,0,0,0,0,0,1,,0</CONFIG>