Webmastersite.net
Register Log In

top list
How do I make a top list

Comments on top list

shibby2373
Member

Usergroup: Customer
Joined: Mar 03, 2009

Total Topics: 6
Total Comments: 17
top list
Posted Jun 24, 2012 - 3:56 PM:

How do I make a top list that has the latest 10 links added as well as thumbshot images for each one?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Jun 25, 2012 - 4:14 PM:

Admin Panel -> Templates -> Toplist Generator -> make those selections, use
<div>
<IF {SWITCH_THUMBSHOTS}><div class="thumbshot">{LINKTHUMBSHOT}</div></IF>
<a href="{LINKDETAILSURL}">{LINKTITLE}</a> - {LINKDESCRIPTION}<div class="clear"></div>
</div>
as the display code. This is the resulting template code to place in your desired template at Admin -> Templates -> Manage Templates:
<!-- BEGIN TOPLIST 6884 -->
<CONFIG>links[,]time[,]10[,]descending[,][,][,]0[,]0[,]0[,]0[,][,]0[,]0[,][,]0[,][,][,]</CONFIG>
<div>
<div class="thumbshot">{LINKTHUMBSHOT}</div>
<a href="{LINKDETAILSURL}">{LINKTITLE}</a> - {LINKDESCRIPTION}<div class="clear"></div>
</div>
<!-- END TOPLIST 6884 -->
shibby2373
Member

Usergroup: Customer
Joined: Mar 03, 2009

Total Topics: 6
Total Comments: 17
Posted Jun 25, 2012 - 10:12 PM:

one of the issues I'm having is getting it to link to the image instead. Which I think I figured out but I am trying to get 5 or 10 haven't decided yet with just the image and linking to the image for that link. And I don't want the links ascending. I want them side by side.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Jun 27, 2012 - 2:29 PM:

To link the image, put an a href tag around it:
<div class="thumbshot"><a href="{LINKDETAILSURL}">{LINKTHUMBSHOT}</a></div>

"Side by side" sounds like you want a two column table. Select that you want two columns per row in the toplist generator if you want that.
shibby2373
Member

Usergroup: Customer
Joined: Mar 03, 2009

Total Topics: 6
Total Comments: 17
Posted Jun 28, 2012 - 6:47 AM:

The problem with that is it creates a table and I want the linked images side by side. So one row with 7 linked images no description or anything else.
shibby2373
Member

Usergroup: Customer
Joined: Mar 03, 2009

Total Topics: 6
Total Comments: 17
Posted Jun 28, 2012 - 10:01 AM:

I tried just removing the word ascending from the code but it does it anyways.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Jun 30, 2012 - 3:42 PM:

A table is side by side. I can't imagine what "side by side" can mean other than a two column table. Can you draw a picture of what you mean?

Removing the word ascending from the config line should break everything entirely -- there are only two logically possible sort orders, ascending and descending, and I presume you want descending based on what you said which is why I provided descending above.
shibby2373
Member

Usergroup: Customer
Joined: Mar 03, 2009

Total Topics: 6
Total Comments: 17
Posted Jul 01, 2012 - 4:00 PM:

http://fan-sites.org/hosted-sites/ The top is an example of how i would like it to display.
shibby2373
Member

Usergroup: Customer
Joined: Mar 03, 2009

Total Topics: 6
Total Comments: 17
Posted Jul 02, 2012 - 7:49 PM:

I got it. You were correct on the columns I just didn't set the right amount of columns.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.