View Single Post
  #3  
Old 11-05-2002, 05:23 AM
 
chris chris is offline
 

Senior Member
  
Join Date: Sep 2002
Location: UK
Posts: 145
 

Default TOOK ME AGES TO FIND IT - IT IS NOT IN A TEMPLATE!!

I bet like me you have hunted high and low for the opening statement - it is not in a template it is in the languages section:
called: txt_welcome
this message starts with "to

as the welcome bit inserts the users name if you want that
you can find that bit as a template:
/customer/main/welcome.tpl

to find this very elusive test item follow these steps:
1. open languages
2. select English from the drop down
3. select text from the next drop down
4. go to page 5 and look for txt_welcome (it is highlighted in the code snippet below)

you can embed html in the text and it can be as long as you like - pity they did not mention this in their faq or manual as it would have saved me the best part of a day hunting high and low for the non-existent template!!

the "welcome to" bit is controlled via the welcome.tpl
as this code snippet indicates:
Code:
{if ($active_modules.Greet_Visitor ne "") AND ($smarty.cookies.GreetingCookie ne "")} <font face="Arial, Helvetica" size="2">{$lng.lbl_welcome_back}, {$smarty.cookies.GreetingCookie} </font> {else} <font face="Arial, Helvetica" size="2">{$lng.lbl_welcome_to} { $config.Company.company_name }</font> {/if} {$lng.txt_welcome}

hope this helps - just persevere with it and it should become clear - but my advice is that once you have figured it out you put a big readme in a folder in xcart as it took me as long to find it the second time as the first!!

Chris
__________________
Chris
some carts at v4.4.5 security patched on a hardened managed unix server
Reply With Quote