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='featured' and catid='{CATID}'</CONFIG>
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>
Comments on Random Sponsored Links
Beginner
Usergroup: Customer
Joined: Apr 26, 2008
Total Topics: 2
Total Comments: 3
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
You can see an example at:
http://www.hotzest.co.uk/jewellery-and-watches/watches where it does show up and
www.hotzest.co.uk/clothing-...and-accessories/sunglasses where it doesn't.
Any clues to what I'm doing wrong?
Many thanks
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
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:
Beginner
Usergroup: Customer
Joined: Apr 26, 2008
Total Topics: 2
Total Comments: 3
Many thanks for that - working beautifully now.