Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removin Icons/Images from top of product, category, etc.. pages


kaya4tw

Recommended Posts

Posted

Can anyone tell me the easiest way to remove the default icons/images from the top of the pages in the website. I am referring to the ones in the middle of the page on categories, products, etc.. I would just like the text to show up only. Ty Troy

Posted

If you are talking about the image that is right of the page heading, they are often grouped together with the heading in the code such as :

 

		  <tr>
		<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
		<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
	  </tr>

 

just comment out the image code like so:

 

		  <tr>
		<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
		<td class="pageHeading" align="right"><?php //echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
	  </tr>

 

If that isn't the images you are talking about (they are the ones most people want to remove), please be more specific.

 

Rob

Rob Bell - Inspired Graphix

Customising osCommerce in Australia, and the world!

View my profile for web and email links.

 

I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture.

However viewing my profile may provide links to my website or something like that which you may find useful.

Posted
If you are talking about the image that is right of the page heading, they are often grouped together with the heading in the code such as :

 

		  <tr>
		<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
		<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
	  </tr>

 

just comment out the image code like so:

 

		  <tr>
		<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
		<td class="pageHeading" align="right"><?php //echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
	  </tr>

 

If that isn't the images you are talking about (they are the ones most people want to remove), please be more specific.

 

Rob

Thank you Rob!

Posted

that is still going to leave those tables there that are going to throw off everything if you decide to center your shop. I helped some other guy out with this that was trying everything he could to center is banner, but because those little tables were still there, it pushed everything a little off center.

 

If you want to REALLY get rid of it, remove this:

<td class="pageHeading" align="right"><?php //echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

from that chunk of code.

 

if you find images that you dont want there, you CAN remove the the stuff between the <td> tags (assuming there is nothng elsethat you want to KEEP in there.. it will clean up your site and take out unnessecary stuff

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Posted

Commenting out the images doesn't affect anything at all.

 

All that my code snippet comment was the tep_image function, it doesn't change cells, tables, or anything.

 

Rob

Rob Bell - Inspired Graphix

Customising osCommerce in Australia, and the world!

View my profile for web and email links.

 

I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture.

However viewing my profile may provide links to my website or something like that which you may find useful.

Posted

I know shooter boy.. that is an issue further down the line when you have an empty cell sitting around.. It works perfectly for now, but if you go to center your banner and forgot that you left the table cell there, you are going to have a heck of a time figuring out when it is a little off to the left.. I dealt with this with a guy a month or so ago.. he couldnt get his banner direct center, and it was because he had the empty table where the image used to be.. Catch my drift?

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...