View Single Post
  #2  
Old 12-13-2002, 09:50 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

create a new template products2arow.tpl which is your 2 products a row list. Revert the products.tpl to the original settings.

create a copy of featured.tpl as featured2arow.tpl
as follows:
Code:
{* $Id: featured2arow.tpl,v 1.13 2002/05/20 06:55:20 lucky Exp $ *} {capture name=dialog} {if $f_products ne ""} {include file="customer/main/products2arow.tpl" products=$f_products} {else} {$lng.txt_no_featured} {/if} {/capture} {include file="dialog.tpl" title=$lng.lbl_featured_products content=$smarty.capture.dialog extra="width=100%"}

Then amend welcome.tpl to be
Code:
{* $Id: welcome.tpl,v 1.21 2002/09/10 12:36:34 zorg Exp $ *} {if ($active_modules.Greet_Visitor ne "") AND ($smarty.cookies.GreetingCookie ne "")} <h3>{$lng.lbl_welcome_back}, {$smarty.cookies.GreetingCookie} </h3> {else} <h3>{$lng.lbl_welcome_to} { $config.Company.company_name }</h3> {/if} {$lng.txt_welcome} {if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu ne "Y"} {include file="modules/Bestsellers/bestsellers.tpl"} {/if} {include file="customer/main/featured2arow.tpl" f_products=$f_products}
This should do it.
__________________
ex x-cart guru
Reply With Quote