View Single Post
  #7  
Old 03-26-2008, 06:14 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Modding Bestsellers to work in vertcolumnright

Quote:
Originally Posted by toolexperts
not sure yurij...here is the site, http://216.75.30.97...if i move it back to the center of the page, it works....


Check code file "skin1/modules/bestsellers/bestsellers.tpl"
PHP Code:
{* $Idbestsellers.tpl,v 1.8.2.1 2006/11/16 13:12:29 max Exp $ *}
{if 
$bestsellers}
{
capture name=bestsellers}
<
table cellpadding="0" cellspacing="2">
{foreach 
from=$bestsellers item=bestseller}
<
tr>
{if 
$config.Bestsellers.bestsellers_thumbnails eq "Y"}
    <
td width="30">
    <
a href="product.php?productid={$bestseller.productid}&amp;cat={$cat}&amp;bestseller">{include file="product_thumbnail.tpl" productid=$bestseller.productid image_x=25 product=$bestseller.product}</a>
    </
td>
{/if}
    <
td>
    <
b><a href="product.php?productid={$bestseller.productid}&amp;cat={$cat}&amp;bestseller">{$bestseller.product}</a></b><br />
{
$lng.lbl_our_price}: {include file="currency.tpl" value=$bestseller.taxed_price}<br />
    </
td>
</
tr>
{/foreach}
</
table>
{/
capture}
{include 
file="dialog.tpl" title=$lng.lbl_bestsellers content=$smarty.capture.bestsellers extra='width="100%"'}
{/if} 

In any case, should displayed HTML tag links.

You have a wealth of errors in the resulting HTML code:
- check top search block in header, for Advanced Search, i'm find this:
PHP Code:
<a href="search.php"><font="ffffff"><u>Advanced search</u></a></f

- check left block on main page - "Monthly Specials", i'm find wrong links:
PHP Code:
http://216.75.30.97/product.php?productid=17206}&cat=0&page=1 
Odd parenthesis in product url - "....?productid=17206}........"

and some else....
Reply With Quote