Jump to content

Issue mgc module after update from presta 1.4.6.2 to 1.5.3


auwebmania

Recommended Posts

Hello,

 

i have a issue regarding 1 module ( MGC Carousel) the problem is that the image are not displayed properly.

 

When i check the image url link, it's like : http://www.mondomaine.com/mondomaine.com/img/1/.......

 

I don't know why in the link i have twice the domaine URL.

 

I make some modification in the TPL file, but without success.

 

Maybe can someone help me ? i think it's a variable in the TPL file that is not set properly.

 

See code in attachement.

 

Thanks a lot

 

 

<!--

jCarousel library

-->

<script type="text/javascript" src="{$base_dir}modules/homecarousel/jcarousel/lib/jquery.jcarousel.pack.js"></script>

<!--

jCarousel core stylesheet

-->

<link rel="stylesheet" type="text/css" href="{$base_dir}modules/homecarousel/jcarousel/lib/jquery.jcarousel.css" />

<!--

jCarousel skin stylesheet

-->

<link rel="stylesheet" type="text/css" href="{$base_dir}modules/homecarousel/jcarousel/skins/tango/skin.css" />

 

{if $autoplay}

<script type="text/javascript">

var carousel_autoplay = '{$autoplayduration}';

var carousel_items_visible = '{$itemsvisible}';

var carousel_scroll = '{$itemsscroll}';

</script>

{else}

<script type="text/javascript">

var carousel_autoplay = 0;

var carousel_items_visible = '{$itemsvisible}';

var carousel_scroll = '{$itemsscroll}';

</script>

{/if}

 

<script type="text/javascript" src="{$base_dir}modules/homecarousel/homecarousel.js"></script>

 

<!-- MODULE Home Featured Products -->

{if isset($products) AND $products}

<ul id="mycarousel" class="jcarousel-skin-tango">

{foreach from=$products item=product name=homeFeaturedProducts}

{assign var='productLink' value=$link->getProductLink($product.id_product, $product.link_rewrite)}

<li>

<a href="{$product.link}" title="{$product.name|escape:html:'UTF-8'}" class="product_image"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$product.name|escape:html:'UTF-8'}" /></a>

{if $displayname}

<h5><a href="{$productLink}" title="{$product.name}">{$product.name|escape:htmlall:'UTF-8'|truncate:45}</a></h5>

{/if}

{if $displayprice}

<p>

<span class="price">{displayWtPrice p=$product.price}</span>

</p>

{/if}

</li>

{/foreach}

</ul>

{else}

<p>{l s='No products for carousel' mod='homecarousel'}</p>

{/if}

<!-- /MODULE Home Featured Products -->

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...