View Single Post
  #4  
Old 12-26-2006, 04:36 AM
 
peter c peter c is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 30
 

Default Re: Have the commands changed...

i have read Balinor, but that relates to bug fixes etc. so i am guessing that the following commands relate to smarty? In 4.0xxx the command on the welcome.tpl was:

Quote:
{* $Id: welcome.tpl,v 1.23.2.1 2005/04/23 08:32:48 max Exp $ *} {if ($active_modules.Greet_Visitor ne "") and ($smarty.cookies.GreetingCookie ne "") and $logout_user eq ''} {$lng.lbl_welcome_back}, {$smarty.cookies.GreetingCookie|replace:"\'":"'"}

{else} {$lng.lbl_welcome_to} { $config.Company.company_name }

{/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/featured.tpl" f_products=$f_products}

and in 4.1xxx

Quote:
{* $Id: welcome.tpl,v 1.28.2.1 2006/07/12 04:51:17 svowl Exp $ *} {if ($active_modules.Greet_Visitor ne "") and ($smarty.cookies.GreetingCookie ne "") and $logout_user eq ''} {assign var="_name" value=$smarty.cookies.GreetingCookie|replace:"\'": "'"} {$lng.lbl_welcome_back|substitute:"name":$_name}

{elseif $lng.lbl_site_title} {$lng.lbl_welcome_to|substitute:"company":$lng.lbl _site_title}

{else} {$lng.lbl_welcome_to|substitute:"company":$config. Company.company_name}

{/if} {$lng.txt_welcome}
{if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu ne "Y"} {include file="modules/Bestsellers/bestsellers.tpl"} {/if}
{include file="customer/main/featured.tpl" f_products=$f_products}


This is just example. There are other changes i have noticed. i need to check the smarty forum right? Thanks
__________________
X-Cart Version 4.1.5 | MySQL 4.1.21 | PHP 4.4.3 | Apache Apache/1.3.37 (Unix)
Reply With Quote