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

Bottom.tpl missing when a customer is not logged in

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-15-2005, 06:50 PM
 
lyle84 lyle84 is offline
 

Newbie
  
Join Date: Oct 2004
Posts: 8
 

Default Bottom.tpl missing when a customer is not logged in

Hi all,

I was editing some templates and everything worked fine until i noticed that when a customer is not logged into the site they cannot see the bottom.tpl. When logged it it looks perfectly fine. Which template would it be that calls the botto.tpl when a customer is not logged in?
__________________
X-Cart GOLD
Reply With Quote
  #2  
Old 01-15-2005, 07:37 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default Re: Bottom.tpl missing when a customer is not logged in

Quote:
Originally Posted by lyle84
Hi all,

I was editing some templates and everything worked fine until i noticed that when a customer is not logged into the site they cannot see the bottom.tpl. When logged it it looks perfectly fine. Which template would it be that calls the botto.tpl when a customer is not logged in?

I would think it is the very same templates that call for it when somone is both logged in or not.

Do you remember what you were doing when this first happened?
__________________
vs 4.1.12
Reply With Quote
  #3  
Old 01-15-2005, 08:53 PM
 
lyle84 lyle84 is offline
 

Newbie
  
Join Date: Oct 2004
Posts: 8
 

Default

I was editing head.tpl and home.tpl i restored head.tpl but it didnt fix the problem, i havnt tried home.tpl to be restored yet trying that now

I just dont remember noticing it dissapear till the next day i looked at the site.
__________________
X-Cart GOLD
Reply With Quote
  #4  
Old 01-15-2005, 09:05 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default

Quote:
Originally Posted by lyle84
I was editing head.tpl and home.tpl i restored head.tpl but it didnt fix the problem, i havnt tried home.tpl to be restored yet trying that now

I just dont remember noticing it dissapear till the next day i looked at the site.

It is possible that while editing this file, you accidentally removed a portion of the call tag that requires the bottom.tpl

Home has a line of code that calls for this and if a small portion of it is missing, then it simply will not be placed into the full page as it renders and may or may not cause an error
__________________
vs 4.1.12
Reply With Quote
  #5  
Old 01-15-2005, 10:12 PM
 
zardos zardos is offline
 

Senior Member
  
Join Date: Jun 2004
Location: UK England
Posts: 140
 

Default

Hi lyle84

Have a look for this in your skin1/customer/home.tpl

The line that says include file=rectangle_bottom.tpl

Code:
{ include file="modules/Interneka/menu_interneka.tpl" } {/if} { include file="poweredby.tpl" } [img]{$ImagesDir}/spacer.gif[/img] </TD> <TD width="6"></TD> </TR> </TABLE> { include file="rectangle_bottom.tpl" } </BODY> </HTML> {/if}

Hope that helps

Also put your X-Cart version in your profile, you will recieve better help.
__________________
X-Cart V4.0.18
PHP 4.3.10
MySQL Server 4.0.22
Apache/1.3.33 (unix)
OS - Linux
Reply With Quote
  #6  
Old 01-15-2005, 10:37 PM
 
lyle84 lyle84 is offline
 

Newbie
  
Join Date: Oct 2004
Posts: 8
 

Default

this is what i have at the bottom of the source

Quote:
</TABLE>
{ include file="rectangle_bottom.tpl" }
</BODY>
</HTML>

its fine when logged in, just dosnt work when logged out
__________________
X-Cart GOLD
Reply With Quote
  #7  
Old 01-15-2005, 11:04 PM
 
zardos zardos is offline
 

Senior Member
  
Join Date: Jun 2004
Location: UK England
Posts: 140
 

Default

Hi lyle84

What X-Cart version are you on.

And have checked your rectangle_bottom.tpl, to make sure it includes
the bottom.tpl just in case.
__________________
X-Cart V4.0.18
PHP 4.3.10
MySQL Server 4.0.22
Apache/1.3.33 (unix)
OS - Linux
Reply With Quote
  #8  
Old 01-15-2005, 11:44 PM
 
lyle84 lyle84 is offline
 

Newbie
  
Join Date: Oct 2004
Posts: 8
 

Default

Quote:
And have checked your rectangle_bottom.tpl, to make sure it includes
the bottom.tpl just in case.

Yes it does contain bottom.tpl
I restored the home.tpl and i could see the bottom.tpl when not logged into the site. So i must be missing something in there.
i have { include file="rectangle_bottom.tpl" } at the bottom of the home.tpl and i dont understand why i cant see it when not logged in, but when logged in as a customer i can see it.
Is there something in the home.tpl that checks weather or not the person is logged in or not?
i have version 4.0 gold

by the way thanks for all the input so far.
__________________
X-Cart GOLD
Reply With Quote
  #9  
Old 01-16-2005, 06:27 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Hi Lyle, a couple things. Please put your exact version number in your signature (edit profile). By exact, I mean 4.0.x, as each version has subtle differences. Also, if you could post a url of your site, maybe we can see what the issue is.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 09:34 PM.

   

 
X-Cart forums © 2001-2020