northy Posted December 29, 2008 Share Posted December 29, 2008 The one to the top right of the main page? I have got rid of the three at the top right for account, cart and checkout so would like to remove this one. Thanks, G Link to comment Share on other sites More sharing options...
germ Posted December 29, 2008 Share Posted December 29, 2008 /catalog/index.php <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> Change to: <td class="pageHeading" align="right"><?php //echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
northy Posted December 29, 2008 Author Share Posted December 29, 2008 Thanks - sorted. G Link to comment Share on other sites More sharing options...
germ Posted December 29, 2008 Share Posted December 29, 2008 ;) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
spinach Posted February 8, 2009 Share Posted February 8, 2009 I've managed to remove this and all the other table_background gifs (by searching for the files containing the images and treating them similarly), but haven't been able to track down where the image calls for the ones that are placed in the infoBoxes (Notifications and Reviews) are. Can anyone please tell me which files they're in, and if the syntax is different, how I remove them? Many thanks. Link to comment Share on other sites More sharing options...
spinach Posted February 8, 2009 Share Posted February 8, 2009 I've now found the Reviews box image. It's in catalog/includes/boxes/reviews.php. The syntax is // display 'write a review' box $info_box_contents[] = array('text' => '<table border="0" cellspacing="0" cellpadding="2"><tr><td class="infoBoxContents"><a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, 'products_id=' . $HTTP_GET_VARS['products_id']) . '">' . tep_image(DIR_WS_IMAGES . 'box_write_review.gif', IMAGE_BUTTON_WRITE_REVIEW) . '</a></td><td class="infoBoxContents"><a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, 'products_id=' . $HTTP_GET_VARS['products_id']) . '">' . BOX_REVIEWS_WRITE_REVIEW .'</a></td></tr></table>'); } else { Can someone please tell me how to alter this to get rid of box_write_review.gif? Thanks. Link to comment Share on other sites More sharing options...
germ Posted February 8, 2009 Share Posted February 8, 2009 If you want a simple text link, try changing this part of the code: tep_image(DIR_WS_IMAGES . 'box_write_review.gif', IMAGE_BUTTON_WRITE_REVIEW) to IMAGE_BUTTON_WRITE_REVIEW Backup the file first (read my signature :lol: ) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
spinach Posted February 8, 2009 Share Posted February 8, 2009 Thanks again Jim. Do you ever take any time off from this forum?! That had the effect of substituting the image for the words "Write Review", but since the linked text "Write a review on this product!" is right next to it, that seemed a bit like overkill, so I removed the whole statement tep_image(DIR_WS_IMAGES . 'box_write_review.gif', IMAGE_BUTTON_WRITE_REVIEW) . and this seems to have had the required result. The remaining link loads products_reviews_write.php with the correct product ID. Do you know if removing that whole statement has any other ramifications that I might have missed? Link to comment Share on other sites More sharing options...
germ Posted February 8, 2009 Share Posted February 8, 2009 Thanks again Jim. Do you ever take any time off from this forum?! Only when I'm at my "real job". :blush: If it works, run with it! ;) I can't think of anything bad that will result! :) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.