osCmax v2.5 User Manual
Results 1 to 4 of 4

Disabling CATEGORIES image.

This is a discussion on Disabling CATEGORIES image. within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Sorry, I searched the forums but couldn't find what I was looking for. So here's my question. How do I ...

      
  1. #1
    Lurker
    Join Date
    Jul 2003
    Posts
    2
    Rep Power
    0


    Default Disabling CATEGORIES image.

    Sorry, I searched the forums but couldn't find what I was looking for. So here's my question.

    How do I disable the top right header image when clicking on a CATEGORY. I seem to be able to do this for other pages by modifying each page, but not for the categories. Also, is there a way to disable this for all SUB-CATEGORIES and other pages (instead of modifying single pages)?

  2. #2
    Active Member
    Join Date
    May 2003
    Posts
    148
    Rep Power
    0


    Default

    you could upload blank images for all

  3. #3
    Lurker
    Join Date
    Jul 2003
    Posts
    1
    Rep Power
    0


    Default

    Replace:

    echo ' <td align="center" class="smallText" style="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 != tep_db_num_rows($categories_query)))

    with:

    echo ' <td align="left" class="smallText" style="width: ' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">'. '<br>' . $categories['categories_name'] . '</a></td>' . "\n";
    if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != tep_db_num_rows($categories_query)))

    So you will remove the reference to the image.

    BTW, I'm now looking for a way to show the categories products when sub-categories exists... because by default I only get a sub-category list when clicking on a category that has sub-cat elements.

    Enjoy !

  4. #4
    Lurker
    Join Date
    Jul 2003
    Posts
    2
    Rep Power
    0


    Default

    No, that's not what I really want to do. In the default osCommerce installation, there's a "Hardware" graphic to the top right when you click its selection. I want to remove that, not the graphics for individual sub-categories.

Similar Threads

  1. Disabling automatic logoff feature or extending timer
    By kwiznoz in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 09-14-2005, 05:03 PM
  2. Disabling Master Card on CC payment module
    By Yari_Gio in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 10-29-2004, 10:23 AM
  3. Disabling checkout and add to cart functionality initially
    By mikefrench in forum osCommerce 2.2 Modification Help
    Replies: 6
    Last Post: 04-29-2004, 05:22 AM
  4. Trying to put a image in php (/boxes/categories.php)
    By JBright in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 06-06-2003, 10:48 AM
  5. Disabling "Buy Now" for items out of stock.
    By Axe in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 10-17-2002, 08:01 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •