logo
WSN Links PHP Directory Software
Features Showcase Reviews Demos Purchase Manual Support
 

Random Sponsored Links

Version: 4.1.39


Random Sponsored Links
fractalz
Beginner

Usergroup: Customer
Joined: Apr 26, 2008
Total Topics: 2
Total Posts: 3
Posted 04/26/08 - 08:50 AM:
quote post
#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>


You can see an example at:
http://www.hotzest.co.uk/jewellery-and-watches/wa... where it does show up and
http://www.hotzest.co.uk/clothing-and-accessories... where it doesn't.

Any clues to what I'm doing wrong?

Many thanks


Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 49
Total Posts: 5539
Posted 04/26/08 - 11:15 PM:
quote post
#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>
fractalz
Beginner

Usergroup: Customer
Joined: Apr 26, 2008
Total Topics: 2
Total Posts: 3
Posted 04/28/08 - 05:20 AM:
quote post
#3
Many thanks for that - working beautifully now.
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

Admin Control Panel

   
Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support
© 2008 Paul Knierim. All rights reserved.