X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Have the commands changed... (https://forum.x-cart.com/showthread.php?t=27580)

peter c 12-25-2006 03:05 PM

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.

balinor 12-26-2006 02:41 AM

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/

peter c 12-26-2006 04:16 AM

Re: Have the commands changed...
 
cheers Balinor and merry xmas.

peter c 12-26-2006 04:36 AM

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


All times are GMT -8. The time now is 02:49 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.