jhande Posted May 30, 2012 Share Posted May 30, 2012 I am interested in trying to get this contribution More Category Boxes v1 by Jared Call to work with osC 2.3.1 if possible. I checked the contributions support thread: http://www.oscommerce.com/forums/index.php?showtopic=158814 but nothing, it seems dead in the past. The first problem is pertaining to editing the includes/column_left.php file. It states to find this: if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } Replace with this: /* Commented out for More Category Boxes contrib if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } // More Category Boxes contrib */ // More Category Boxes contrib $default_category_box_enabled_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'DEFAULT_CATEGORY_BOX_ENABLED' "); $default_category_box_enabled = tep_db_fetch_array($default_category_box_enabled_query); if ($default_category_box_enabled['configuration_value'] == 'true') { if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } } include(DIR_WS_BOXES . 'more_categories.php'); // More Category Boxes contrib. Problem is that the bm_categories.php has this bit of code (only thing I can find similar): if ((USE_CACHE == 'true') && empty($SID)) { $output = tep_cache_categories_box(); } else { $output = $this->getData(); } New file to upload which is related; includes/boxes/more_categories.php With my very, very limited knowledge, is this something that can be made to work? - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 - Link to comment Share on other sites More sharing options...
jhande Posted June 1, 2012 Author Share Posted June 1, 2012 Has anyone successfully adapted the More Category Boxes contrib to 2.3.1? Is there any other options available that would give similar results? Any input would be greatly appreciated! - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 - Link to comment Share on other sites More sharing options...
nottheusual1 Posted June 1, 2012 Share Posted June 1, 2012 Try replacing the bit you found with this. NO guarantees, but it should work: /* Commented out for More Category Boxes contrib if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } // More Category Boxes contrib */ // More Category Boxes contrib $default_category_box_enabled_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'DEFAULT_CATEGORY_BOX_ENABLED' "); $default_category_box_enabled = tep_db_fetch_array($default_category_box_enabled_query); if ($default_category_box_enabled['configuration_value'] == 'true') { if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { $output = $this->getData(); } } include(DIR_WS_BOXES . 'more_categories.php'); // More Category Boxes contrib. :not_the_usual1 [you decide] -- Trying to figure it out, just like everyone else -- Link to comment Share on other sites More sharing options...
jhande Posted June 2, 2012 Author Share Posted June 2, 2012 Thanks for the reply. Once I get a few other things sorted out I'm going to try installing the contribution. - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 - Link to comment Share on other sites More sharing options...
rajusps Posted July 1, 2012 Share Posted July 1, 2012 Hi I am having the same issue ie more categories is not suitable for osc 2.3.1 because there is no column_left.php. if any one found solution please reply Link to comment Share on other sites More sharing options...
PupStar Posted July 1, 2012 Share Posted July 1, 2012 refer to post #38 by germ to see how the columns work http://www.oscommerce.com/forums/topic/368458-231-a-how-to-road-mapno-questions-just-how-tos-please/page__st__20__p__1589795#entry1589795 Link to comment Share on other sites More sharing options...
jhande Posted July 1, 2012 Author Share Posted July 1, 2012 X - :: Jim :: - - My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 - Link to comment Share on other sites More sharing options...
rajusps Posted July 1, 2012 Share Posted July 1, 2012 @@PupStar Thanks Mark Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.