juntao Posted February 3, 2007 Share Posted February 3, 2007 Hi all, i really want to install this below contribution but now i'm stuck. http://www.oscommerce.com/community/contributions,4589/ As you can see the code below, because i installed "Admin Infobox" contribution it changed all my code altogether. Anyone please help me out on this would be awesome :) http://www.oscommerce.com/community/contributions,1175/ * Search in /catalog/includes/column_left.php for: include(DIR_WS_BOXES . 'categories.php'); Replace this line with: include(DIR_WS_BOXES . 'categories_css.php'); Because in my column_left.php file i have this code <?php /* $Id: column_left.php,v 1.13 2002/06/16 22:08:05 lango Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 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] == 'left')) { define($column['cfgkey'],$column['box_heading']); if ( file_exists(DIR_WS_BOXES . $column['cfgtitle'] . '.php') ) { require(DIR_WS_BOXES . $column['cfgtitle'] . '.php'); } } } ?> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.