Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sbmk1957

Pioneers
  • Posts

    23
  • Joined

  • Last visited

Profile Information

  • Real Name
    Steve

Recent Profile Visitors

2,694 profile views

sbmk1957's Achievements

  1. Hi Jim thanks ! ... i edited one and not the other ;/ thats fixed and now other stuff is from the template not working ... looks like its time to call in some professional help Thanks again Steve
  2. Hi all Thanks for your interest in helping out ... site works fine with a fresh install i get this error after updating my osc files with totalb2b 1146 - Table 'mydatabasename_testing.TABLE_FEATURED' doesn't exist I checked in myphpadmin and that table is listed in the db im no db person ;/ .. could it be permissions ? Steve
  3. Hi Jim Thanks for that .. BUT ... doesnt work .. i have a template so maybe thats whats is screwing it up ... SQL update wont run... cant find tables. 2.3.1 might be a bit off from 2.3.3 the hunt continues ! Thanks for your input Steve
  4. Hi all Been hunting around but cant seem to find a B2B module for 2.3.3 only 2.2 ;/ ... anyone know of a later module out there ? Or do I have to get someone to update totalb2b to suit? Thanks in advance Steve
  5. Hi Chris thanks for your time and that seems to make sense ... :- click me for the site or index.php follows <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2010 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); // the following cPath references come from application_top.php $category_depth = 'top'; if (isset($cPath) && tep_not_null($cPath)) { $categories_products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $categories_products = tep_db_fetch_array($categories_products_query); if ($categories_products['total'] > 0) { $category_depth = 'products'; // display products } else { $category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$current_category_id . "'"); $category_parent = tep_db_fetch_array($category_parent_query); if ($category_parent['total'] > 0) { $category_depth = 'nested'; // navigate through the categories } else { $category_depth = 'products'; // category has no products, but display the 'no products' message } } } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); ?> <?php if ($category_depth == 'nested') { $current_page = FILENAME_CATEGORIES_NESTED; require(DIR_WS_INCLUDES . 'template_top.php'); include(FILENAME_CATEGORIES_NESTED); ?> <?php } elseif ($category_depth == 'products' || isset($HTTP_GET_VARS['manufacturers_id'])) { $current_page = FILENAME_CATEGORIES_LISTING; require(DIR_WS_INCLUDES . 'template_top.php'); include(FILENAME_CATEGORIES_LISTING); ?> <?php } else { // default page $current_page = FILENAME_DEFAULT; require(DIR_WS_INCLUDES . 'template_top.php'); ?> <?php if ( (NEW_PRODUCTS_MODULE_DISPLAY_FIRST_PAGE == 'true') || (NEW_PRODUCTS_MODULE_DISPLAY_FIRST_PAGE == 'true')) { ?> <?php ?> <?php } ?> <div class="none"> <?php echo tep_draw_title_top();?> <h1><?php echo HEADING_TITLE; ?></h1> <?php echo tep_draw_title_bottom();?><br /> </div> <?php if (NEW_PRODUCTS_MODULE_DISPLAY_FIRST_PAGE == 'true') { echo tep_draw_content_top(); include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); echo tep_draw_content_bottom(); } if (FEATURED_MODUL_DISPLAY_FIRST_PAGE == 'true') { echo tep_draw_content_top(); include(DIR_WS_MODULES . FILENAME_FEATURED); echo tep_draw_content_bottom(); } include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); ?> <?php if ( (NEW_PRODUCTS_MODULE_DISPLAY_FIRST_PAGE == 'true') || (NEW_PRODUCTS_MODULE_DISPLAY_FIRST_PAGE == 'true')) { ?> <?php ?> <?php } ?> <?php } require(DIR_WS_INCLUDES . 'template_bottom.php'); require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> Steve
  6. Hi I have the same issure as GoTTi above a few months back this isnt in catalog/index.php REPLACE if (tep_not_null(TEXT_MAIN)) { ?> <div class="contentText"> <?php echo TEXT_MAIN; ?> </div> <?php } im running 2.3.3 with a template .... any ideas :( Thanks Steve
×
×
  • Create New...