Quote:
Originally Posted by fafbr
Hi Robert
How to I put the link in step 5 in skin1/customer/main/welcome.tpl?
|
Hi Faf,
It's up to you were you would like to put it, but try this to get you started...
Code:
{* $Id: welcome.tpl,v 1.28.2.3 2008/07/15 12:07:40 ferz Exp $ *}
{if ($active_modules.Greet_Visitor ne "") and ($smarty.cookies.GreetingCookie ne "") and $logout_user eq ''}
{assign var="_name" value=$smarty.cookies.GreetingCookie|replace:"\'": "'"}
<h3>{$lng.lbl_welcome_back|substitute:"name":$_nam e} </h3>
{elseif $lng.lbl_site_title}
<h3>{$lng.lbl_welcome_to|substitute:"company":$lng .lbl_site_title}</h3>
{else}
<h3>{$lng.lbl_welcome_to|substitute:"company":$con fig.Company.company_name}</h3>
{/if}
{$lng.txt_welcome}
<br />
{if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu ne "Y"}
{include file="modules/Bestsellers/bestsellers.tpl"}
{/if}
{* NOTE - Custom MOD - Add Newest Products Link Below *}
<p />
http://www.divinescrap.com/{$xcart_dir}/newproducts.php
<br />
{include file="customer/main/featured.tpl" f_products=$f_products}
Robert