osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 07-19-2003, 12:37 PM
Lurker
 
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
calvin
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)?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 07-21-2003, 07:49 PM
Active Member
 
Join Date: May 2003
Posts: 148
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Arpit
Default

you could upload blank images for all
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 07-22-2003, 02:52 AM
Lurker
 
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
YannL
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 !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 07-24-2003, 07:48 PM
Lurker
 
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
calvin
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 05:54 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax