View Single Post
  #78  
Old 06-29-2008, 02:46 PM
  beetlejuice's Avatar 
beetlejuice beetlejuice is offline
 

eXpert
  
Join Date: Apr 2007
Posts: 251
 

Default Re: common if/then modifications I make to x-cart...

Thanks HWT,

you're on the money, I'm still not sure what the difference between "" & '' is to be honest.

Following your example I added the code to home_main.tpl and it initially made no difference probably due to this being active by default:

{elseif $main eq "catalog" and $current_category.category eq ""}
{include file="customer/main/welcome.tpl" f_products=$f_products}

So I added the code after the above, added the f_products etc to each, deleted {include file="customer/main/welcome.tpl" f_products=$f_products}

and wallah it works, thanks for the heads up again HWT.

Now can you tell me what the difference is between " " and ' '?

Thanks
__________________
XCart 4.5.4, 4.6.1, 4.64 stores
Many, many mods from Altered Cart
XCart Mods Reboot template
The XCart Store Templates and Mods
WCM CDSEO Pro
BCSE Rewards Points and Gallery Mods
and a few others
Reply With Quote