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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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)? |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| you could upload blank images for all |
|
#3
| |||
| |||
| 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
| |||
| |||
| 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. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Disabling automatic logoff feature or extending timer | kwiznoz | osCMax v2 Customization/Mods | 3 | 09-14-2005 06:03 PM |
| Disabling Master Card on CC payment module | Yari_Gio | osCMax v1.7 Discussion | 0 | 10-29-2004 11:23 AM |
| Disabling checkout and add to cart functionality initially | mikefrench | osCommerce 2.2 Modification Help | 6 | 04-29-2004 06:22 AM |
| Trying to put a image in php (/boxes/categories.php) | JBright | osCommerce 2.2 Modification Help | 0 | 06-06-2003 11:48 AM |
| Disabling "Buy Now" for items out of stock. | Axe | osCommerce 2.2 Modification Help | 1 | 10-17-2002 09:01 PM |