View Single Post
  #48  
Old 05-28-2011, 07:01 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Conveyor belt slideshow javascript for Featured Items

Quote:
Originally Posted by Learner
Hi JWait,
Thanks for your help.I have called product name but the entire page distorted.

I have given my codes below-

{section name=product loop=$f_products}
leftrightslide[{counter}]='<a href="product.php?productid={$f_products[product].productid}">{$f_products[product].product}{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url}</a>'

{/section}

I want to call products name below or above thumbnail uniformly with text wrapping.

Have you tried adding a "break" tag?
{section name=product loop=$f_products}
leftrightslide[{counter}]='<a href="product.php?productid={$f_products[product].productid}">{$f_products[product].product}<br />{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url}</a>'

{/section}
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote