Link Types on main index
Is it possible to list link types on main index?
Version: 5.1.36
URL:
|
tradenet
Forum Regular Usergroup: Customer Joined: Oct 14, 2004 Total Topics: 45 Total Posts: 111 |
Posted 06/08/10 - 9:38 AM:
eg. in "main.tpl":
If so I can't get them to show. I think this would be useful if you'd like to show a "featured" link type on the front page. I guess this can be achieved by generating a top list. The other thing is can you show image attachment thumbnails in top lists? I've been trying something like:
But it doesn't seem to get the "attachid". Edited by tradenet on 06/09/10 - 11:30 AM |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 06/09/10 - 9:29 PM:
You use a toplist to show links on the index, yes. To show a thumbnail, <IF {LINKTHUMBURLBOOL}><img src="{LINKTHUMBURL}" /></IF> For 5 featured listings:
|
|
tradenet
Forum Regular Usergroup: Customer Joined: Oct 14, 2004 Total Topics: 45 Total Posts: 111 |
Posted 06/10/10 - 5:49 AM:
So does {LINKTHUMBURLBOOL} pull random images? Or rather just the one if there are multiple ones uploaded? Also, a question on pagination, to make this a multi-page toplist. Does pagination take you to a separate page? Edited by tradenet on 06/10/10 - 6:21 AM |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 06/14/10 - 10:15 AM:
It's random in WSN Classifieds (due to having been used that way in the standard templates for a while -- may change it to nonrandom in 6.0) but no longer random in the other scripts because random sorts are very slow on large databases. It shows the oldest attached image. Pagination takes you to a technically separate page that contains all the same content except it has the next group of results from that toplist. Edited by Paul on 06/14/10 - 10:17 AM |
Sorry, you don't have permission to post. Log in, or register if you haven't yet.

Print