![]() |
![]() |
![]() |
|
|||||||
| Modifications Simple to complex modifications, made by users or by our team, applied to logic or presentation, all kinds of modifications are discussed and requested here. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Join Date: Jan 2010
Posts: 4
![]() |
How can I put the thumbshot in the top/popular/random boxes ?
I want to show thumb shot of the website in the boxes like top/popular/random/sponsored and I have made some modification. I've reached to show the thumb shot but is the first same image on all listings...Here is the code: {if isset($box_listings.top) && !empty($box_listings.top)} {foreach from=$box_listings.top item=top_listing} <p> <a href="{print_listing_url listing=$listing}" {if $config.new_window}target="_blank"{/if} class="countable listings title" id="lnk_{$listing.id}"><img src="http://open.thumbshots.org/image.pxf?url={$listing.url}" alt="{$listing.url}" /></a></p> <p><a href="{print_listing_url listing=$top_listing}" {if $config.new_window}target="_blank"{/if} class="countable listings title" id="lnk_{$top_listing.id}_block">{$top_listing.tit le}</a></p> {/foreach} {/if} What I've done wrong ? Thanks |
|
|
|
|
|
#3 |
|
PLs if it's posible
__________________
My Dir - http://www.hrcarei.ro My Fiverr- http://www.1020.ro MyBlog - http://www.radustoia.com |
|
|
|
|
|
|
#4 |
|
Join Date: Nov 2010
Posts: 13
![]() |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|