View Single Post
  #76  
Old 06-28-2008, 06:02 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...

I have one last task to do for a client and that is have different "Welcome" text depending whether customers are logged in or not.

I created a welcomenl.tpl (nl stands for not logged) and tried to call it in the home_main.tpl with:

{if $login ne ' ' }
{include file=customer/main/welcomenl.tpl}
{/if}

Doesn't work so I've tried to call a different text file based on the above

{if $login ne ' ' }
{inlcude file="$lng_txt_welcomenl}

that nada also.

Can anyone give me aheads up

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