Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't remember what I did


mattyb

Recommended Posts

Ok, so I've modded our cart somewhat heavily and I'm looking to move some of the boxes from the right side to the left side but the column_left and column_right files are dramatically different from when the cart was first installed and really can't remember what I did. :blush: Here's what the column_right file looks like:

 

<?php
/*
 $Id: column_right.php,v 1.15 2002/03/13 13:52:20 lango Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2002 osCommerce

 Released under the GNU General Public License
*/
 $column_query = tep_db_query('select configuration_column as cfgcol, configuration_title as cfgtitle, configuration_value as cfgvalue, configuration_key as cfgkey, box_heading from ' . TABLE_THEME_CONFIGURATION . ' order by location');
 while ($column = tep_db_fetch_array($column_query)) {

     $column['cfgtitle'] = str_replace(' ', '_', $column['cfgtitle']);
     $column['cfgtitle'] = str_replace("'", '', $column['cfgtitle']);

if ( ($column[cfgvalue] == 'yes') && ($column[cfgcol] == 'right')) {

define($column['cfgkey'],$column['box_heading']);

if ( file_exists(DIR_WS_BOXES . $column['cfgtitle'] . '.php') ) {
require(DIR_WS_BOXES . $column['cfgtitle'] . '.php');
} 
}
}
?>
<tr>
                   <td class="pageHeading" height="100%" valign="top">
<?php 
if ( file_exists('includes/classes/thema/' . SITE_THEMA . '/images/backend.gif')) {
?>
<IMG SRC="includes/classes/thema/<?php echo SITE_THEMA;?>/images/backend.gif" width="100%">
<?php
}
?>
                   </td>
                 </tr>

 

I'm hoping this rings a bell with someone so that I can move the boxes to where I'd like them to go. Thanx in advance all.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...