Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do yuo delete default "cartoon" icons??


chfields

Recommended Posts

I want to delete those default "cartoon" icons on my pages. I can't seems to find the proper lines to delete. I am inlcuding the area I think needs to be edited. I will use create_account_process.php as an example, since I think they are basically all the same. Please show me which lines to delete. Thanks

 

 

<!-- body_text //-->

<td width="100%" valign="top"><?php echo tep_draw_form('account_edit', tep_href_link(FILENAME_CREATE_ACCOUNT_PROCESS, '', 'SSL'), 'post', 'onSubmit="return check_form();"') . tep_draw_hidden_field('action', 'process'); ?><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 echo HEADING_TITLE; ?></td>

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_account.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><?php include(DIR_WS_MODULES . 'account_details.php'); ?></td>

Link to comment
Share on other sites

rather than change the lines of code just

upload a 'spacer.gif' (1x1 px transparent gif) for each of the images.

 

Right click on the cartoon image , or browse your image folders with thumbnails switched on (in windows) and find all the names of the cartoon images.

then upload a spacer.gif image for each one.

delete the original image and rename spacer.gif as the cartoon image.

 

you have to do each image, but:

 

a) Theres not many of them

B) at a later date you can just add more professional images

without touching the lines of code you deleted.

 

Good Luck.

 

Ramesh

Special Effects / 3d + Flash

Link to comment
Share on other sites

a) Theres not many of them

B) at a later date you can just add more professional images

without touching the lines of code you deleted.

 

Just as a suggestion for all:

 

Never delete lines of code. I alway comment them out so I can go back and uncomment them at a later date without remembering what the code was.

Steve

-------------------------

Link to comment
Share on other sites

Never delete lines of code. I alway comment them out so I can go back and uncomment them at a later date without remembering what the code was.

 

That's an excellent piece of advice. I actually take it a step further and add the date I commented the section out, along with my name and also a brief explanation of why I commented the code out in the first place.

 

Adding your name makes it easy to find the line you want when doing a search through the code, and the other two can be helpful when you (or someone else) revisits the code in 12 months time when all memory has long since faded.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...