Jump to content

seg

Members
  • Content count

    30
  • Joined

  • Last visited

Profile Information

  1. seg

    [Contribution] STS v4

    It never fails ... you look for hours to resolve a problem and then finally when you ask for help, you find the answer. http://forums.oscommerce.com/index.php?sho...p+image+problem I turned off "Use Search-Engine Safe URLs (still in development)" and everything works fine. I didn't need the popup image module, so I uninstalled it.
  2. seg

    [Contribution] STS v4

    I am having trouble using the popup image module in STS 4.5.4. I have the Extra images contribution installed and it uses popup_extra_images.php ... so I have added this file name to the STS popup image module in the admin. I have even tried creating a popup_extra_images.php.html file in my individual STS templates directory (/includes/sts_templates/STORE_NAME/) which is a duplicate of popup_image.php.html and added a $popupextraimages variable to the popup_extra_images.php.html file and to the /includes/modules/sts_inc/popup_image.php Whenever I click on the Extra Image I get a new window with the STS template ... no photo. Please help ... I am not sure if I am missing something or misunderstoond something, but any help would be great. Thanks!
  3. I downloaded the October 31 version of Ultimate SEO URLs. When installing I found this in categories.php // Ultimate SEO URLs BEGIN // If the action will affect the cache entries if (eregi("(insert|update|setflag)", $action)) include_once ('includes/reset_seo_cache.php'); // Ultimate SEO URLs END Except for some reason the line breaks were not in the file causing this to be commented out. Just an FYI.
  4. seg

    Contrib Installer

    Trying to install the CIP Builder and I am getting this error: Am I supposed to manually create this database table. I didn't see anything about this in readme.txt and I couldn't find a sql file. Also, the installer is always promting me to give permission for different files - it seems like only chmod 777 will work. Just want to make sure this is normal? Thanks!
  5. seg

    Contrib Installer

    Hi, I just found this contribution - very cool! I am a little confused though. Will this work with any contribution or is there an installation file that needs to be created for the contribution prior to installing it with Contrib Installer? Are there any known contributions this does not work well with?
  6. seg

    Attribute Sets Plus

    Well my issue seemed to be an error in CCGV(trad) contribution installation which caused a problem with this contribution - it looks like everything is working great now. Thanks for the great contributions.
  7. seg

    Attribute Sets Plus

    I am running both together - is there a specific set of code that you are curious about?
  8. seg

    Attribute Sets Plus

    I went through the installation instructions a third time and everything seems to be there. I can't find any conflicts in product_info.php. The product_info.php page is obviously reading the attributes because they are appearing, but the attributes are not being added to the Shopping Cart. Could there be any other files where a conflict exists that would affect this? Any help would be greatly appreciated - I am at a loss.
  9. seg

    Attribute Sets Plus

    This worked for me. Is it possible that your database does not allow blank entires? Chris, would it hurt anything if the default value was removed from this command?
  10. seg

    Attribute Sets Plus

    The attributes are appearing just fine on the product_info page. Here is an example: http://www.islandhomefurniture.com/trinida...kage-p-520.html Unfortunately the attributes are not added to the shopping cart (and then do not appear in the order report and receipt). It is possible that there is a conflict with another contribution since I have several installed. I will look to see if there is a conflict - should I be looking at any other pages besides product_info?
  11. seg

    Attribute Sets Plus

    I have added this product and it works great. One question ... When somebody orders a product - is the attribute supposed to appear in the order receipt and in the admin order report?
  12. seg

    Newsletter & Subscribtion for MS2

    This is probably an easy fix, but it doesn't seem to be addressed. The instructions direct to: Now when I click on Newsletters in the admin menu I get the following error: Has anyone fixed this?
  13. seg

    Attribute Sets Plus

    Hi, I am trying to use both the Attribute Sets contribution and the Multiple Categories contribution: http://www.oscommerce.com/community/contributions,1537 It works together except for one really annoying conflict. When I edit a product the product is moved out of the category to the top level of the shop. I have identified the area that is causing the problem, but I am afraid that I am not savvy enough to know what exactly is happening within that code. Does any one know what might be causing this conflict and what might fix it? Original osc code for /admin/categories.php lines 388-400: $manufacturers_array = array(array('id' => '', 'text' => TEXT_NONE)); $manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from " . TABLE_MANUFACTURERS . " order by manufacturers_name"); while ($manufacturers = tep_db_fetch_array($manufacturers_query)) { $manufacturers_array[] = array('id' => $manufacturers['manufacturers_id'], 'text' => $manufacturers['manufacturers_name']); } $tax_class_array = array(array('id' => '0', 'text' => TEXT_NONE)); $tax_class_query = tep_db_query("select tax_class_id, tax_class_title from " . TABLE_TAX_CLASS . " order by tax_class_title"); while ($tax_class = tep_db_fetch_array($tax_class_query)) { $tax_class_array[] = array('id' => $tax_class['tax_class_id'], 'text' => $tax_class['tax_class_title']); } Multiple Category instructions: After ... $manufacturers_array = array(array('id' => '', 'text' => TEXT_NONE)); $manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from " . TABLE_MANUFACTURERS . " order by manufacturers_name"); while ($manufacturers = tep_db_fetch_array($manufacturers_query)) { $manufacturers_array[] = array('id' => $manufacturers['manufacturers_id'], 'text' => $manufacturers['manufacturers_name']); } ADD # get selected categories $categories_query_selected = tep_db_query("select categories_id from " . TABLE_PRODUCTS_TO_CATEGORIES . " where products_id = '" . $HTTP_GET_VARS['pID'] . "'"); $categories_array_selected = array(array('id' => '')); while ($categories = tep_db_fetch_array($categories_query_selected)) { $categories_array_selected[] = array('id' => $categories['categories_id']); } $categories_array = array(array('id' => '', 'text' => TEXT_NONE)); #Categories list displays only for one languge (Deafault is English) $language_id = 1; $categories_query = tep_db_query("select categories_id, categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where language_id = ". $language_id ." order by categories_name"); while ($categories = tep_db_fetch_array($categories_query)) { $categories_array[] = array('id' => $categories['categories_id'], 'text' => $categories['categories_name']); } $form_action = ($HTTP_GET_VARS['pID']) ? 'update_product' : 'insert_product'; Attribute Sets Instructions: ******** 7.3a: Change this (approximately line 462 (~389 in osC's original code)- look for those Table names to make sure you have the right location): $manufacturers_array = array(array('id' => '', 'text' => TEXT_NONE)); $manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from " . TABLE_MANUFACTURERS . " order by manufacturers_name"); while ($manufacturers = tep_db_fetch_array($manufacturers_query)) { $manufacturers_array[] = array('id' => $manufacturers['manufacturers_id'], 'text' => $manufacturers['manufacturers_name']); } $tax_class_array = array(array('id' => '0', 'text' => TEXT_NONE)); $tax_class_query = tep_db_query("select tax_class_id, tax_class_title from " . TABLE_TAX_CLASS . " order by tax_class_title"); while ($tax_class = tep_db_fetch_array($tax_class_query)) { $tax_class_array[] = array('id' => $tax_class['tax_class_id'], 'text' => $tax_class['tax_class_title']); } ******** 7.3b: To this: $manufacturers_array = array(array('id' => '', 'text' => TEXT_NONE)); $manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from " . TABLE_MANUFACTURERS . " order by manufacturers_name"); while ($manufacturers = tep_db_fetch_array($manufacturers_query)) { $manufacturers_array[] = array('id' => $manufacturers['manufacturers_id'], 'text' => $manufacturers['manufacturers_name']); } // >>>> BOF Linkmatics attributes sets (3 of 5) - building attributes array - Begin $attribute_sets_array = array(array('id' => '', 'text' => TEXT_NONE)); $attribute_sets_names_array = array(); $attribute_sets_query = tep_db_query("select products_attributes_sets_id, products_attributes_sets_name from " . TABLE_PRODUCTS_ATTRIBUTES_SETS . " order by products_attributes_sets_name"); while ($attribute_sets = tep_db_fetch_array($attribute_sets_query)) { $attribute_sets_array[] = array('id' => $attribute_sets['products_attributes_sets_id'], 'text' => $attribute_sets['products_attributes_sets_name']); $attribute_sets_names_array[ $attribute_sets['products_attributes_sets_id'] ] = $attribute_sets['products_attributes_sets_name']; } // <<<< EOF Linkmatics attributes sets plus(3 of 5) - building attributes array - End $tax_class_array = array(array('id' => '0', 'text' => TEXT_NONE)); $tax_class_query = tep_db_query("select tax_class_id, tax_class_title from " . TABLE_TAX_CLASS . " order by tax_class_title"); while ($tax_class = tep_db_fetch_array($tax_class_query)) { $tax_class_array[] = array('id' => $tax_class['tax_class_id'], 'text' => $tax_class['tax_class_title']); } This was my final code: $manufacturers_array = array(array('id' => '', 'text' => TEXT_NONE)); $manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from " . TABLE_MANUFACTURERS . " order by manufacturers_name"); while ($manufacturers = tep_db_fetch_array($manufacturers_query)) { $manufacturers_array[] = array('id' => $manufacturers['manufacturers_id'], 'text' => $manufacturers['manufacturers_name']); } # get selected categories $categories_query_selected = tep_db_query("select categories_id from " . TABLE_PRODUCTS_TO_CATEGORIES . " where products_id = '" . $HTTP_GET_VARS['pID'] . "'"); $categories_array_selected = array(array('id' => '')); while ($categories = tep_db_fetch_array($categories_query_selected)) { $categories_array_selected[] = array('id' => $categories['categories_id']); } $categories_array = array(array('id' => '', 'text' => TEXT_NONE)); #PR Categories list displays only for one languge (Deafault is English) $language_id = 1; $categories_array = tep_get_category_tree(); // added by R Calder // >>>> BOF Linkmatics attributes sets (3 of 5) - building attributes array - Begin $attribute_sets_array = array(array('id' => '', 'text' => TEXT_NONE)); $attribute_sets_names_array = array(); $attribute_sets_query = tep_db_query("select products_attributes_sets_id, products_attributes_sets_name from " . TABLE_PRODUCTS_ATTRIBUTES_SETS . " order by products_attributes_sets_name"); while ($attribute_sets = tep_db_fetch_array($attribute_sets_query)) { $attribute_sets_array[] = array('id' => $attribute_sets['products_attributes_sets_id'], 'text' => $attribute_sets['products_attributes_sets_name']); $attribute_sets_names_array[ $attribute_sets['products_attributes_sets_id'] ] = $attribute_sets['products_attributes_sets_name']; } // <<<< EOF Linkmatics attributes sets plus(3 of 5) - building attributes array - End $form_action = ($HTTP_GET_VARS['pID']) ? 'update_product' : 'insert_product'; $tax_class_array = array(array('id' => '0', 'text' => TEXT_NONE)); $tax_class_query = tep_db_query("select tax_class_id, tax_class_title from " . TABLE_TAX_CLASS . " order by tax_class_title"); while ($tax_class = tep_db_fetch_array($tax_class_query)) { $tax_class_array[] = array('id' => $tax_class['tax_class_id'], 'text' => $tax_class['tax_class_title']); }
  14. This is a browser problem. I use Firefox 1.0.6 on Mac 10.3.9. I also tested this in IE 5.2 on Mac. With Firefox the delete button does not delete. On IE the attributes don't show up at all in the Admin products page. I also tested this contribution for the same product in IE on XP and everything worked great - so I know it is installed correctly. Are there plans to support Mac browsers?
×