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

"txt_welcome" gone from home page !!

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 01-08-2009, 08:28 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: "txt_welcome" gone from home page !!

Quote:
Originally Posted by anandat
Thanks for your reply buddy. There no reference for welcome.tpl in skin1/customer/home.tpl file & it's not there in main distribution file also.

But there is a referance for welcome.tpl file in customer/home_main.tpl template.

Where should be the reference in home.tpl file ?

My bad.. I meant home_main.tpl.

In welcome.tpl, try placing some text where your welcome text should be...
{$lng.txt_welcome} SOME TEXT HERE

and see if it shows up on your home page.
Are you getting the Welcome back "customer" or Welcome to "your site name" on the main page?
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #12  
Old 01-09-2009, 03:10 AM
 
anandat anandat is offline
 

X-Adept
  
Join Date: Jan 2004
Posts: 914
 

Default Re: "txt_welcome" gone from home page !!

Quote:
Originally Posted by JWait
In welcome.tpl, try placing some text where your welcome text should be...
{$lng.txt_welcome} SOME TEXT HERE and see if it shows up on your home page.
Ok tried this also but still not showing the welcome text


Quote:
Originally Posted by JWait
Are you getting the Welcome back "customer" or Welcome to "your site name" on the main page?
No this message doesn't show evevn though module "Greet Visitor" is enabled in the admin module options !!

Any other suggestion ?
__________________
X-Cart: 4.7.7 LIVE
Skin:Ultra by xcartmods.co.uk
X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9)
---------------
Server: Linux
php: 5.3
mysql: 5.0.89
----------------
Reply With Quote
  #13  
Old 01-09-2009, 03:53 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: "txt_welcome" gone from home page !!

Ok, it looks like your welcome.tpl isn't being called. Check home_main.tpl and make sure it has the following in it...

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

and also make sure {include file="customer/home_main.tpl"} is in home.tpl (although you would probably have more problems than what you do if it wasn't there).
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #14  
Old 01-09-2009, 04:00 AM
 
anandat anandat is offline
 

X-Adept
  
Join Date: Jan 2004
Posts: 914
 

Default Re: "txt_welcome" gone from home page !!

OK....I just figured out after some research my self.

Actually my shop is not in a root directory so I had made a special index.tpl & index.php (in root) to load store from directory /store & my index.tpl is not using home_main.tpl so welcome.tpl was not used . But now I have put string "{$lng.txt_welcome}" in my index.tpl & it's working fine.

Thanks JWait & all of you for your help & suggestions. I appreciate your co-operation
__________________
X-Cart: 4.7.7 LIVE
Skin:Ultra by xcartmods.co.uk
X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9)
---------------
Server: Linux
php: 5.3
mysql: 5.0.89
----------------
Reply With Quote
  #15  
Old 01-09-2009, 04:02 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: "txt_welcome" gone from home page !!

Looks like that may be the problem, although we did check that featured products were showing on the home page - which are in that welcome.tpl - so they would have to be being called from somewhere else if welcome.tpl isn't being used.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #16  
Old 01-09-2009, 04:12 AM
 
anandat anandat is offline
 

X-Adept
  
Join Date: Jan 2004
Posts: 914
 

Default Re: "txt_welcome" gone from home page !!

Featured products are called as following in my index.tpl file

{if $active_modules.Special_Offers ne ""}
{include file="modules/Special_Offers/customer/new_offers_message.tpl"}
{/if}
{include file="customer/main/featured.tpl" f_products=$f_products}

The index.tpl was created by qualiteam staff for me so I guess they must have created it after doing all the research
__________________
X-Cart: 4.7.7 LIVE
Skin:Ultra by xcartmods.co.uk
X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9)
---------------
Server: Linux
php: 5.3
mysql: 5.0.89
----------------
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:49 AM.

   

 
X-Cart forums © 2001-2020