Show Page Thumbnails on main page

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-19-2007, 08:14 AM
New Pligger
Pligg Version: 9.8.2
Pligg Template: Emerald
 
Join Date: Nov 2007
Posts: 29
This one should be fairly simple for those who know what they are doing (i.e. not me :P)

How can I adjust the home page to show thumbnails? At the moment they only display on the story page and I think the main page looks really dull and text-heavy.

And although it may be off-topic slightly, the same thumbnail seems to be used for all stories from the same site. i.e. If I have a 2 different stories on different pages of the bbc site, the same thumbnail is used for both, why is this?

Many thanks to the wonderful pliggers
Reply With Quote
  #2 (permalink)  
Old 11-19-2007, 09:32 AM
Constant Pligger
 
Join Date: Feb 2007
Posts: 226
Try something like this.

Open your link_summary.tpl and find line that looks something like this.
Code:
{if $use_thumbnails eq true && $pagename eq "story" && $url_short neq "http://" && $url_short neq "://"}
And take out && $pagename "story". That part limit's the thumbnail to be shown only on the story page.
Don't know answer to your second question but maybe Websnapr offers only one thumbnail or then it has something to do with the {$url_short} part on the image's url.
Reply With Quote
  #3 (permalink)  
Old 11-20-2007, 05:20 AM
New Pligger
Pligg Version: 9.8.2
Pligg Template: Emerald
 
Join Date: Nov 2007
Posts: 29
Quote:
Originally Posted by Andtony View Post
Try something like this.

Open your link_summary.tpl and find line that looks something like this.
Code:
{if $use_thumbnails eq true && $pagename eq "story" && $url_short neq "http://" && $url_short neq "://"}
And take out && $pagename "story". That part limit's the thumbnail to be shown only on the story page.
Don't know answer to your second question but maybe Websnapr offers only one thumbnail or then it has something to do with the {$url_short} part on the image's url.
Works great (and so freaking obvious lol!!!)

Has caused some nasty formatting problems for me but still did what I wanted

Cheers!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Variables Yankidank Wiki Articles 3 05-19-2011 09:21 AM
Show Video and images Thumbnails on main page massi999 Questions and Comments 1 11-19-2007 01:40 PM
how to put thumbnails in main page sawy Questions and Comments 0 11-01-2007 08:52 AM
voted topics don't show up on main page soloveich Questions and Comments 2 09-12-2007 06:41 PM
Posts don't show up on the main page romaniucc Questions and Comments 2 10-17-2006 12:25 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development