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

Checkout middle of page blank

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 10-22-2004, 02:14 PM
 
macker123 macker123 is offline
 

Advanced Member
  
Join Date: Mar 2004
Posts: 68
 

Default

Quote:
Originally Posted by Jon
Ok, in the very, very top of your home_main.tpl put:

MAIN: {$main}

If it doesn't return anything, the problem is that your cart.php is not assigning the main variable.

I inserted it at very top and I get same issue exactly. Here is my code at tp to show I did it:


MAIN: {$main}
{if $smarty.get.mode eq "subscribed"}
{include file="main/subscribe_confirmation.tpl"}

{elseif $smarty.get.mode eq "unsubscribed"}
{include file="main/unsubscribe_confirmation.tpl"}
.........
..........
......etc etc
__________________
Heavily Modified 4.0.8
http://www.hiphopcapital.com
Reply With Quote
  #12  
Old 10-22-2004, 02:36 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

When you load the page can you see the MAIN: text on it?

What about other pages? Can you see the MAIN: text on it?
Reply With Quote
  #13  
Old 10-22-2004, 02:55 PM
 
macker123 macker123 is offline
 

Advanced Member
  
Join Date: Mar 2004
Posts: 68
 

Default

Quote:
Originally Posted by Jon
When you load the page can you see the MAIN: text on it?

What about other pages? Can you see the MAIN: text on it?

I see it fine on other pages, but NOT the pages in question.
__________________
Heavily Modified 4.0.8
http://www.hiphopcapital.com
Reply With Quote
  #14  
Old 10-23-2004, 06:12 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Probably indicates problems in your php scripts. Open them up and check to see that main is being assigned to smarty.
Reply With Quote
  #15  
Old 10-23-2004, 08:57 PM
 
macker123 macker123 is offline
 

Advanced Member
  
Join Date: Mar 2004
Posts: 68
 

Default

Quote:
Originally Posted by Jon
Probably indicates problems in your php scripts. Open them up and check to see that main is being assigned to smarty.

I restored all of my PHP files from the originals it hasn't made a difference.

Either there is something wrong with the PHP files by default or something is wrong with a template somewhere.

I have made ALOT of changes to templates so if you guys can give me some ideas on what templates to try and restore I can see if that helps.
__________________
Heavily Modified 4.0.8
http://www.hiphopcapital.com
Reply With Quote
  #16  
Old 10-24-2004, 01:51 PM
 
macker123 macker123 is offline
 

Advanced Member
  
Join Date: Mar 2004
Posts: 68
 

Default

I got it working. It turns out in the home.tpl there was an if else statement that I thought was right, but I guess not. It was never getting to the else statement. All fixed.

Thanks for your help.
__________________
Heavily Modified 4.0.8
http://www.hiphopcapital.com
Reply With Quote
  #17  
Old 10-24-2004, 08:09 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

What a nightmare eh. Glad you got it working.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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:40 PM.

   

 
X-Cart forums © 2001-2020