Loaded Commerce Community

Banner


Board index » Loaded Commerce Support » Install & Config

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Upgrading to 6.5 - template infobox issues
PostPosted: Mon Jan 09, 2012 10:28 pm 
Offline
CRE Newbie

Joined: Mon Aug 30, 2010 8:59 pm
Posts: 11
I am attempting to upgrade a 6.4.1 installation to 6.5. I performed a 6.4.2 upgrade in between to make sure the database got upgraded correctly. Most products and such seem to be working fine. I am having an issue with infoboxes that I cannot seem to figure out.

Here are links to the stores on my dev site:
6.5 store: http://forkorspoon.com/festive_65/
6.4 store: http://forkorspoon.com/festive_current/

If you look at the 6.5 store, you will see that there is a table row with pixel_trans.gif being drawn inside the infoboxes:
Code:
<tr>
<td>
<img width="100%" height="1" border="0" alt="" src="images/pixel_trans.gif">
</td>
</tr>


This image is not being displayed in the 6.4 store. The code for the infoboxes in both stores is exactly the same. This leads me to one of two conclusions:

1) Some function changed in the 6.5 templating system and is causing this line to be drawn. If so, I cannot find where it is or how to un-do it.
2) There is some setting that I have not set in the 6.5 store, or that is set in the 6.4 store. I cannot seem to find anything that would indicate such a setting.

This is really throwing me for a loop. I am looking at the PHP code for the infoboxes but I don't really understand what's going on in there. I think that this is the line of code where the separator images are inserted:
Code:
new $infobox_template($info_box_contents, true, true, ((isset($column_location) && $column_location !='') ? $column_location : '') );

If I comment out the assignment of $info_box_contents, the separators are still drawn, but nothing goes in between them. If I comment out the entire new $infobox_template line, the box header and such is drawn, but no separators are drawn. Switching the trues to falses seems to have no effect.

I guess I don't understand what this assignment line is doing. $infobox_template probably is defined somewhere, but grepping around is returning too many results for me to make sense of things.

Thanks in advance!


Top
 Profile  
 
 Post subject: Re: Upgrading to 6.5 - template infobox issues
PostPosted: Tue Jan 10, 2012 9:46 am 
Offline
CRE Newbie

Joined: Mon Aug 30, 2010 8:59 pm
Posts: 11
So, after a night of tossing and turning and not really sleeping while thinking about this, it dawned on me that something must "define" the template for the infobox, and, sure enough, there is a templates/default/boxes.tpl.php file. In that file in the "current" store, those separator lines were commented out.

Problem fixed! Yay!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Board index » Loaded Commerce Support » Install & Config

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Mon May 21, 2012 6:24 pm
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Forums Latest Activity

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy