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)
-   -   "txt_welcome" gone from home page !! (https://forum.x-cart.com/showthread.php?t=44672)

anandat 01-08-2009 02:35 AM

"txt_welcome" gone from home page !!
 
Hello Guys,
I don't know exactly but I guess after any template edit by me my welcome text at home page is gone !
How ever in the admin area language section "txt_welcome" still show my site's description. Any one got the idea what could be the wrong ?

pauldodman 01-08-2009 04:11 AM

Re: "txt_welcome" gone from home page !!
 
Have you checked the template - skin1/customer/main/welcome.tpl?

JWait 01-08-2009 04:42 AM

Re: "txt_welcome" gone from home page !!
 
Also look at skin1/customer/home.tpl and make sure the reference to welcome.tpl is still there.

anandat 01-08-2009 04:56 AM

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

Originally Posted by JWait
Also look at skin1/customer/home.tpl and make sure the reference to welcome.tpl is still there.

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 ?

balinor 01-08-2009 04:56 AM

Re: "txt_welcome" gone from home page !!
 
I believe he meant home_main.tpl - it shouldn't be in home.tpl

anandat 01-08-2009 04:57 AM

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

Originally Posted by pauldodman
Have you checked the template - skin1/customer/main/welcome.tpl?


Yes the welcome.tpl is there .

pauldodman 01-08-2009 04:58 AM

Re: "txt_welcome" gone from home page !!
 
I meant to actually check the template itself - make sure the reference to txt_welcome is still in welcome.tpl

anandat 01-08-2009 05:02 AM

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

Originally Posted by pauldodman
I meant to actually check the template itself - make sure the reference to txt_welcome is still in welcome.tpl

Thanks Paul for your suggestion.

Following my welcome.tpl

{* $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:"\'": "'"}
<h3>{$lng.lbl_welcome_back|substitute:"name":$_nam e} </h3>
{elseif $lng.lbl_site_title}
<h3>{$lng.lbl_welcome_to|substitute:"company":$lng .lbl_site_title}</h3>
{else}
<h3>{$lng.lbl_welcome_to|substitute:"company":$con fig.Company.company_name}</h3>
{/if}
{$lng.txt_welcome}
<br />
{if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu ne "Y"}
{include file="modules/Bestsellers/bestsellers.tpl"}
{/if}
<br />
{include file="customer/main/featured.tpl" f_products=$f_products}

pauldodman 01-08-2009 05:07 AM

Re: "txt_welcome" gone from home page !!
 
Yes, that's there ok - are your featured products showing on the home page ok?

If so, what is the text that is supposed to be there - ie the text in the language variable in admin? Is it simple, plain text, or is it full of html code and formatting?

Have you tried changing this text and saving it?

Have you tried running cleanup.php?

Have you emptied your computer's cache?

anandat 01-08-2009 05:33 AM

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

Originally Posted by pauldodman
Yes, that's there ok - are your featured products showing on the home page ok?


Yes featured products are showing correctly.

If so, what is the text that is supposed to be there - ie the text in the language variable in admin? Is it simple, plain text, or is it full of html code and formatting?
There was HTML link & I used <P> & <B> tags but now I have removed all html tags & using only text.

Quote:

Originally Posted by pauldodman
Have you tried changing this text and saving it?


I edited the text from admin & saved.

Quote:

Originally Posted by pauldodman
Have you tried running cleanup.php?

I run cleanup.php also !

Quote:

Originally Posted by pauldodman
Have you emptied your computer's cache?

I clearup my firefox's cache & offline web pages also.

Still it's not displaying welcome text !!!

Any other suggestion would be welcome.
Thanks to all guys for your help :)


All times are GMT -8. The time now is 01:12 PM.

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