wancy Posted June 2, 2009 Share Posted June 2, 2009 Hi, [1] May i know how to remove the icon next to 'What's New Here' in the main page? [2] May i know how to replace (at which php file) the icons of : My Account, Cart Content & Checkout which reside on the right of the main page? I'm just start to use osCommerce. Please help. Thanks & Regards, wancy Link to comment Share on other sites More sharing options...
000---000 Posted June 2, 2009 Share Posted June 2, 2009 Hi, [1] May i know how to remove the icon next to 'What's New Here' in the main page? [2] May i know how to replace (at which php file) the icons of : My Account, Cart Content & Checkout which reside on the right of the main page? I'm just start to use osCommerce. Please help. Thanks & Regards, wancy Look for catalog/index.php And in there you'll find <?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?> There are 3 different image specifications depending on what the index page is doing. The above text is on line 74. Matt Link to comment Share on other sites More sharing options...
wancy Posted June 10, 2009 Author Share Posted June 10, 2009 Hi, What should i do in the line 74? Should i just delete it or comment it? Coz i just comment the whole line and my site still reflect no changes? The icons is still on the site. Please advice. Thanks. Link to comment Share on other sites More sharing options...
FrostyFred Posted June 10, 2009 Share Posted June 10, 2009 I just created a transparent 1x1px gif file Then overwrote all the table_background* gif files in the image directory. Link to comment Share on other sites More sharing options...
wancy Posted June 11, 2009 Author Share Posted June 11, 2009 Hi, I have find my way to remove the My Account, Shopping Cart & Checkout header images. I just remove the following lines from /catalog/includes/header.php : <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> I'm still finding a way to remove the image next to What's New Hew.... Thanks Link to comment Share on other sites More sharing options...
sharma.atul85 Posted June 11, 2009 Share Posted June 11, 2009 hey checkout the contribution out there .. dunno exactly the name ..just search out to replace that pic by transparent image Link to comment Share on other sites More sharing options...
Gauravs Posted June 11, 2009 Share Posted June 11, 2009 It is embedded in Catalog/index.php Open in text editor and find the following line using keyword - table_background_default.gif <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> You may take out <?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?> & replace with a to remove the pic. HTH Best Regards,Gaurav Link to comment Share on other sites More sharing options...
sharma.atul85 Posted June 11, 2009 Share Posted June 11, 2009 well this way you can just replace pic from only one page but a contribution will remove all the pics from all pages .. will add the link of that contri soon.. Link to comment Share on other sites More sharing options...
wancy Posted June 12, 2009 Author Share Posted June 12, 2009 Dear All, Thanks a lot for your advices and it was a great help from all of you. I able to hide the images on my main site already. Many thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.