Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 27
Total Posts: 101
Posted 05/09/08 - 07:34 AM:
#1
I can't seem to get this to work. I want a toplist on my category pages for a certain link type.
This is what I have for config.
<CONFIG>links,rand(),5,ascending,catid={CATID } and type='sponsored'</CONFIG> or this <CONFIG>links,rand(),5,ascending,catid={CATID } AND type='sponsored'</CONFIG>
Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 27
Total Posts: 101
Posted 05/10/08 - 03:42 PM:
#5
No I don't have another toplist with the same number I checked that. I see nothing and when I view the page source I get this where the toplist is suppose to be.
<!-- END TOPLIST 20 -->
This is my toplist complete code.
<!-- BEGIN TOPLIST 20 --> <CONFIG>links,rand(),5,ascending,catid={CATID } AND type='sponsored'</CONFIG> <a href="{TRACKLINKURL}" class="labels" {EXTERNALLINKS}>{LINKTITLE}</a> {LINKADMIN}- {LINKDESCRIPTION}<br /> <!-- END TOPLIST 20 -->
I put this code in the displaylinks.tpl where I want my toplist. Not working and can't figure out why. I dropped the AND type='sponsored' and just used the catid={CATID} and it works fine. I also put just the type='sponsored' with out the catid={CATID} and it worked fine but when I do both with the AND I get nothing.
Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 27
Total Posts: 101
Posted 05/11/08 - 11:39 AM:
#6
Ok problem I found the problem. Ok I added some sponsored links but I'm using secondary categories on the links and the links are not showing up in the secondary categories for that link. How can get them to also show in the secondary categories also.