jamescorp Posted October 13, 2005 Share Posted October 13, 2005 Can we remove all the cartoon icons & just leave the words - eg: chinese t-shirt man on t-shirts page, surfer man on purchase page? Help? James Link to comment Share on other sites More sharing options...
Darklings Posted October 13, 2005 Share Posted October 13, 2005 Not sure what you mean by 'keeping the words' but to remove the pictures you have two ways to do it: one way is to change the pictures you dont like/want - replace them with eather a transparant or with a pic that has the same backgroundcolor of your shop. Or do it my way - witch takes a little longer - search all the pages that have such a picture - in the code change all the : <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> to <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> (note. This example code was taken from the index.php - the code on the other pages will sligthly be different (location of the image file) but the code will generaly look the same - also - the code is located a couple lines under where the <body> starts.) Hope this helps, Kind Regards, Tom Even in this dark place, yes, I am afraid of my own shadow. Contributions | KnowledgeBase | osCommerce 2.2 pdf Link to comment Share on other sites More sharing options...
jamescorp Posted October 14, 2005 Author Share Posted October 14, 2005 Not sure what you mean by 'keeping the words' but to remove the pictures you have two ways to do it: one way is to change the pictures you dont like/want - replace them with eather a transparant or with a pic that has the same backgroundcolor of your shop. Or do it my way - witch takes a little longer - search all the pages that have such a picture - in the code change all the : <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> to <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> (note. This example code was taken from the index.php - the code on the other pages will sligthly be different (location of the image file) but the code will generaly look the same - also - the code is located a couple lines under where the <body> starts.) Hope this helps, Kind Regards, Tom Thanks Tom but I changed the code on index.php and nothing happened. What I need to delete are the image icons above the 'My Account', 'Cart Contents' and 'Checkout' links on the header. (I want to keep the text links underneath the icons). These icons are also hyperlinked but I want to simply delete the icons all together. The 'alt' tags also correspond to the above link names for reference sake. Also there is a 'eye magnifying glass' icon with the alt being 'whats new here' just under the above. I would also like to delete this icon if possible. Thanks James Link to comment Share on other sites More sharing options...
Darklings Posted October 14, 2005 Share Posted October 14, 2005 Oh - you mean the header images... simple - as you said yourself - thats located in includes/header.php Just search for <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> comment that line out.. should look something like: <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> of course - you'll have to look what it is you realy want- cause i'm not getting what you mean with the alt text and the 'magnifieing glass' - but this is the way to get rid of the images - just play around with it until you get what you want. Kind Regards, Tom Even in this dark place, yes, I am afraid of my own shadow. Contributions | KnowledgeBase | osCommerce 2.2 pdf Link to comment Share on other sites More sharing options...
jamescorp Posted October 18, 2005 Author Share Posted October 18, 2005 Oh - you mean the header images... simple - as you said yourself - thats located in includes/header.phpJust search for <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> comment that line out.. should look something like: <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> of course - you'll have to look what it is you realy want- cause i'm not getting what you mean with the alt text and the 'magnifieing glass' - but this is the way to get rid of the images - just play around with it until you get what you want. Kind Regards, Tom Thanks Tom Everything's working fine now. However a couple more related questions. How do I add / delete images to the catalogue that are in the middle just under the standard header? (white area under the header, between the left and right columns, above the shopping cart catalogue items) At the moment on one page I've got a image of a man (oscommerce icon I presume) that I would like to delete. Plus on another page I would like to add an image that stretches inbetween the left to right navbars under the header? (in the white section mentioned above) Regards James Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.