Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Elmo

Archived
  • Posts

    195
  • Joined

  • Last visited

Everything posted by Elmo

  1. Hi Jack, many thanks for your help! Many thanks!!!! :lol:
  2. Thanks Jack, may I also confirm if it can be applied to MS1?
  3. May I ask if the newst version of this contribution named "Header Tags Controller V2.6.2 Complete" can be applied to osCommerce v2.2 MS2? Thanks in advance.
  4. Hi Strider, Thanks very much for your reply! I tried different ways including adding the necessary codes to index_default.tpl.php (supposed to be added to index.php but since I have BTS so I tried to see if that work. And it did not work. The following is my index_default.tpl.php: <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"> <?php if ( (ALLOW_CATEGORY_DESCRIPTIONS == 'true') && (tep_not_null($category['categories_heading_title'])) ) { echo $category['categories_heading_title']; } else { echo HEADING_TITLE; } ?> <?php if ( (ALLOW_CATEGORY_DESCRIPTIONS == 'true') && (tep_not_null($category['categories_description'])) ) { ?> <tr> <td align="left" colspan="2" class="category_desc"><?php echo $category['categories_description']; ?></td> </tr> <?php } ?> </td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="main"><?php echo tep_customer_greeting(); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><?php include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFINE_MAINPAGE); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><br><?php include(DIR_WS_MODULES . FILENAME_DEFAULT_SPECIALS); ?></td> </tr> <tr> <td><br><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> <!-- DWD Contribution -> Remove: Browse by Categories v2.2. //--> <!-- <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> //--> <!-- DWD Contribution End. //--> <?php // DWD Contribution -> Remove: Browse by Categories v2.2. // if (isset($cPath) && strpos('_', $cPath)) { // // check to see if there are deeper categories within the current category // $category_links = array_reverse($cPath_array); // for($i=0, $n=sizeof($category_links); $i<$n; $i++) { // $categories_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$category_links[$i] . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "'"); // $categories = tep_db_fetch_array($categories_query); // if ($categories['total'] < 1) { // // do nothing, go through the loop // } else { // $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$category_links[$i] . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by sort_order, cd.categories_name"); // break; // we've found the deepest category the customer is in // } // } // } else { // $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$current_category_id . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by sort_order, cd.categories_name"); // } // $number_of_categories = tep_db_num_rows($categories_query); // $rows = 0; // while ($categories = tep_db_fetch_array($categories_query)) { // $rows++; // $cPath_new = tep_get_path($categories['categories_id']); // $width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW) . '%'; // echo ' <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br>' . $categories['categories_name'] . '</a></td>' . "\n"; // if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) { // echo ' </tr>' . "\n"; // echo ' <tr>' . "\n"; // } // } // DWD Contribution End. // needed for the new products module shown below $new_products_category_id = $current_category_id; ?> <!-- DWD Contribution -> Remove: Browse by Categories v2.2. !--> <!-- </tr> </table></td> </tr> //--> <!-- DWD Contribution End. //--> <!-- BEGIN latest news --> <tr> <td><br><?php define('LATEST_NEWS_BOX', "classic"); include(DIR_WS_MODULES . FILENAME_LATEST_NEWS); ?></td> </tr> <!-- END latest news --> <?php include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); ?> </table></td> </tr> </table>
  5. Thanks for the contribution! I have one problem after I installed it. The "Browse by category" box does not show in the catalog at all. I am using MS2 version 2.2 and the BTS (Basic Template System) mod's installed as well. May I as if that's the reason why it does not show? Please shed some light on this, thanks very much! :)
  6. Hi, thanks for sharing this great contribution! It's very useful. I have one quick question. :) Is there a way to modify the query to show the top level when we find the product? I searched for the whole thread and other 2 threads regarding this contribution but I cannot find any solution for this issue. Any help is much appreciated. Thanks.
  7. Thanks for your reply, Jason! You offer a lot of help to me and I appreciate this very much! :D
  8. HI Mehmet, may I ask what's the difference between this contribution and "Category Descriptions 1.0" at http://www.oscommerce.com/community/contributions,191 ? Your contribution seems very nice! :)
  9. May I ask if we can use this contribution in MS1? Or how can we modify so that we can use this in MS1? Thanks. :)
  10. May I ask if anyone have installed "All Categories & Subcategories Page" at http://www.oscommerce.com/community/contri...ons,1213/page,3 ? It seems like a very useful contribution, can anyone share their experiences?
  11. May I ask if we can use the latest version of this contribution in both MS1 and MS2? Thanks. :)
  12. Jason, I forgot to ask you if you knw whether Credit Class/GV/Discount Coupons v5.03 (plus the 07/07/2003 - GV5.03 Bug Fixes) have fix all the bugs? May I also ask if we can use both the "Discount for Payment Type" (http://oscommerce.com/community/contributions,248/page,2) and Credit Class/GV/Discount Coupons v5.03 for MS1? Many thanks, Jason! :D
  13. May I ask a quick question regarding this contribution? May I ask if we should use Credit Class/GV/Discount Coupons v5.03 (plus bug fix for v5.03) for 2.2 MS1 or can we use GV-DC 5.06? Many thanks.
  14. Yes I have both Basic Template Structure 1.0a and dynamic mo pics. Do you have dynamic mo pics? I am not even sure which one is causing the conflict. :wacko:
  15. Hi Rob, thanks it looks like a great contribution! :)
  16. Hi, I added Keep Image Proportions 1.3 in MS1 and it works great! Thanks for the contribution! :) I encounter a problem when I install this mod in MS2 though, I used (11/02/2003 - OSC2.2MS2_Keep_Image_Proportions.zip) in Ms2 but whe I click on the thumbnail (thumbnail works fine, images display with proportion), the new window pops up but there's no image in there, it's blank. May I ask if others experience the same problem and does anyone know how we can fix this? I am wondering if it's due to any conflicts with the Dynamic Mo Pics MS2? Thanks in advance.
  17. Hi Robin, I just read yout post. May I ask if we can use the paysystems contribution in MS2? May I also which paysystems contribution did you use? paysystems1.2.zip or paysystems1.2a.zip? Many thanks.
  18. HI, I found that there're three different contributions for paysystems at http://www.oscommerce.com/community?contri...tegory=1&page=7 : 07/16/2003 PaySystems fix for 2.2 03/17/2003 PaySystems Module (paysystems1.2.zip) 04/23/2003 PaySystems Module (paysystems1.2a.zip) The author of PaySystems fix for 2.2 suggests to use paysystems1.2.zip instead of paysystems1.2a.zip? but I don't accept paysystems echecks and paysystems1.2.zip allows both credit cards and online checks. May I ask whcih one should people use for MS1 and which one for MS2 if they don't accept PaySystems eChecks? Soory for the confusion, I am really really confused here.
  19. Ceres, may I confirm if this solution is for people who don't have SSL in their shopping carts? Thanks very much!
  20. May I ask if we can display a table in the article with this script? Thanks.
  21. I installed his module in MS1 and it works great! Very easy to install and very useful. I fully recommend it! He's also very nice that he sent me a .zip version of this contribution. :)
  22. Ahahahaha I just checked your article and it says "Premature Ejaculation" LOL....sorry for the OT, I can't help it...LMAO! This contribution looks great! :D
×
×
  • Create New...