X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   Tela Firma X-Cart Multicolum Recommends 4.1 (https://forum.x-cart.com/showthread.php?t=41360)

Cyber Matrix 07-25-2008 03:29 PM

Tela Firma X-Cart Multicolum Recommends 4.1
 
I have used this great mod on several sites and it has always worked except for one. I notice that the images will not show up. On all product pages such as http://www.cssiofficesupplies.com/products/pressboard-hanging-data-binder-14-78-x-11-unburst-sheets-dark-green.html the image is being called as http://www.cssiofficesupplies.com/image.php?type=T&id=12162 and if you go to the page it stated a bad path. How do I get the images to show?

And one last thing the Alt tag for the first image gives a warning

<img><b>Warning</b>: htmlspecialchars() expects parameter 1 to be string, array given in <b>/home/cssi247/public_html/include/templater/plugins/modifier.escape.php</b> on line <b>54</b><br /> Array

then the others alt are Array instead of the alt tag i assigned the image.

konadnailart 08-01-2008 10:52 AM

Re: Tela Firma X-Cart Multicolum Recommends 4.1
 
Same here, any solution?
Thank you

Cyber Matrix 08-01-2008 10:56 AM

Re: Tela Firma X-Cart Multicolum Recommends 4.1
 
Nope nobody ever replied and I have emailed and PM Tela Firma

Cyber Matrix 08-06-2008 05:17 AM

Re: Tela Firma X-Cart Multicolum Recommends 4.1
 
Does anyone know how to fix this? I have used this mod on several sites and they all are working except for this one that I posted above. Any suggestion would be appreciated.

konadnailart 08-06-2008 06:10 AM

Re: Tela Firma X-Cart Multicolum Recommends 4.1
 
i took out the tela forma mod and did another mod mention in this forum can't remember where. i got the same problem then i did some trial and error modification and it works, same here did not know where i made the modification. below is my related and recommend tpl for your reference.


{* $Id: related_products.tpl,v 1.15.2.1 2007/05/02 06:05:39 max Exp $ *}
{if $product_links ne ""}
{capture name=related_products}
{assign var="tmp" value="0"}
{section name=cat_num loop=$product_links}
{if $product_links[num].productid}{assign var="tmp" value="1"}{/if}
{/section}
{section name=num loop=$product_links}
{if %num.first%}
<table border=0 width="100%">
<tr>
{/if}
{if $smarty.section.num.index is div by 3}
</tr><tr valign="top">
{/if}
<td width=25% align=center valign=top class="PListCell";>
<a href="product.php?productid={$product_links[num].productid}" class="ItemsList">{$product_links[num].product}</a>
<br />
<a href="product.php?productid={$product_links[num].productid}">{include file="product_thumbnail.tpl" productid=$product_links[num].productid image_x=$config.Appearance.thumbnail_width product=$product_links[num].product type="T"}</a>
<br />
<font class="ProductPrice">{$lng.lbl_our_price}: {include file="currency.tpl" value=$product_links[num].taxed_price}</font>
</td>
{if %num.last%}
</tr></table>
{/if}
{/section}
{/capture}
{include file="dialog.tpl" title=$lng.lbl_related_products content=$smarty.capture.related_products extra='width="100%"'}
{else}
{capture name=dialog}
No related products with this product.
{/capture}
{/if}

{* $Id: recommends.tpl,v 1.9 2006/03/21 07:17:18 svowl Exp $ *}
{if $recommends}
{capture name=recommends}
{assign var="tmp" value="0"}
{section name=num loop=$recommends}
{if $recommends[num].productid}{assign var="tmp" value="1"}{/if}
{/section}
{section name=num loop=$recommends}
{if %num.first%}
<table border=0 width="100%">
<tr>
{/if}
{if $smarty.section.num.index is div by 3}
</tr><tr valign="top">
{/if}
<td width=33% align=center valign=top class="PListCell";>
<a href="product.php?productid={$recommends[num].productid}" class="ItemsList">{$recommends[num].product}</a>
<br />
<a href="product.php?productid={$recommends[num].productid}">{include file="product_thumbnail.tpl" productid=$recommends[num].productid image_x=$config.Appearance.thumbnail_width product=$recommends[num].product type="T"}</a>
<br />
<font class="ProductPrice">{$lng.lbl_our_price}: {include file="currency.tpl" value=$recommends[num].taxed_price}</font>
</td>
{if %num.last%}
</tr></table>
{/if}
{/section}
{/capture}
{include file="dialog.tpl" title=$lng.lbl_recommends content=$smarty.capture.recommends extra='width="100%"'}
{else}
{capture name=dialog}
No recommends with this product.
{/capture}
{/if}

Cyber Matrix 08-11-2008 08:32 AM

Re: Tela Firma X-Cart Multicolum Recommends 4.1
 
This help some but the images will still not show up.


All times are GMT -8. The time now is 10:46 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.