Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Have the commands changed...

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-25-2006, 03:05 PM
 
peter c peter c is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 30
 

Default Have the commands changed...

Hi. merry xmas all. having downloaded the latest cart recently. My question is this: Is there a manual or link that outlines the diffs between v4.0xxx & 4.1xxx of cart. also the diffs between smarty 2.6.9 & 2.6.12. I ask this because the manual only covers store operation and some of the commands that were used in previous versions seem to be different. Hope someone can help or point me in the right direction. Peter.
__________________
X-Cart Version 4.1.5 | MySQL 4.1.21 | PHP 4.4.3 | Apache Apache/1.3.37 (Unix)
Reply With Quote
  #2  
Old 12-26-2006, 02:41 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Have the commands changed...

You would need to look at the release notes for each version to see what is new/changed. They are in the News & Announcements forum. For smarty, you'll need to visit the smarty forum http://www.phpinsider.com/smarty-forum/
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 12-26-2006, 04:16 AM
 
peter c peter c is offline
 

Advanced Member
  
Join Date: Dec 2006
Posts: 30
 

Default Re: Have the commands changed...

cheers Balinor and merry xmas.
__________________
X-Cart Version 4.1.5 | MySQL 4.1.21 | PHP 4.4.3 | Apache Apache/1.3.37 (Unix)
Reply With Quote
  #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
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:00 AM.

   

 
X-Cart forums © 2001-2020