djms Posted July 5, 2006 Posted July 5, 2006 Hi, It's been about a year since I finished editing my site...I've only had to add new items to the catalog and make other minor catalog changes since then. Translation...I've forgotten my way around the files. I just need a quick nudge in the right direction, please. For some reason the stock osCommerce icons (my account, cart contents, and checkout) have suddenly reappeared in the header. I had previously gotten rid of these icons...probably by simply "turning off" that line of programming somehow. I remember doing that a lot so that I could refer back to the programming in other instances. Can someone tell me where I'll find the language inserting these icons in the header? Thanks for your help! Djms
MJP Posted July 5, 2006 Posted July 5, 2006 Hi, It's been about a year since I finished editing my site...I've only had to add new items to the catalog and make other minor catalog changes since then. Translation...I've forgotten my way around the files. I just need a quick nudge in the right direction, please. For some reason the stock osCommerce icons (my account, cart contents, and checkout) have suddenly reappeared in the header. I had previously gotten rid of these icons...probably by simply "turning off" that line of programming somehow. I remember doing that a lot so that I could refer back to the programming in other instances. Can someone tell me where I'll find the language inserting these icons in the header? Thanks for your help! Djms this is the code to look for: <td align="right"><?php //echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
djms Posted July 5, 2006 Author Posted July 5, 2006 this is the code to look for:<td align="right"><?php //echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> Thank you...where do I find that? Djms
MJP Posted July 5, 2006 Posted July 5, 2006 Thank you...where do I find that?Djms in all the files pretty much. usually just below the left column navigation code.
djms Posted July 5, 2006 Author Posted July 5, 2006 in all the files pretty much. usually just below the left column navigation code. Sorry to be a flake...it's been a long time and I've lost all familiarity with this...I need to know the path to get to the files. I'm in "File Manager" and I'm assuming I start with www/catalog/...but then what?? Isn't there a specific file programming the header and sticking these icons in there? Thanks again, Djms
spax Posted July 6, 2006 Posted July 6, 2006 Unless you moved them, they are in catalog/includes/header.php
djms Posted July 6, 2006 Author Posted July 6, 2006 Followup: Below is what finally worked for me to eliminate the stock clipart icons. The code is in www/catalog/includes/header.php as a previous responder so kindly noted. I didn't delete the lines as suggested below...just inserted // after <td align="right" valign="bottom"><?php and they hid themselves nicely. The complete code line now reads... <td align="right" valign="bottom"><?php// echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a> <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a> <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?> </td> Thanks for all help. Djms QUOTE(kdreams @ Jun 17 2006, 04:10 AM) hi my host changed servers and some of the files have been restored could some tell me how to remove the icons that are sitting at thr end of my banner i do not want nor do i need them but i cant seem to get rid of them thanks edit includes/header.php Look for "GIF" and that one line will contain all 3 items. Just delete that line. It should be enclosed in a <TD> ... information ... </TD> line. I think it was the last line before the </table> tag is.
oxfam_karl Posted July 6, 2006 Posted July 6, 2006 For those of you who eventually come accross this page after doing a search for Heading Image Delete, this is how you delete the mankey heading images (as in the page title images) in all files in catalog/ from account.php to tell a friend.php simply delete the second cell of this table: <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_address_book.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table> so it looks like this <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> </tr> </table> thus the table keeps the page title, but not the image, or alternatively swap the image for something nicer
Recommended Posts
Archived
This topic is now archived and is closed to further replies.