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}