Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Editing the Default icons and links in Header


TCwho

Recommended Posts

Hello Everybody. Alright I need a favor. Im going to be creating logos all day. I need to create a banner that will take up the entire top portion. Right now with a test banner I made..I notice it expands the width of the site....so I have to get rid of the 3 default icons and links for account, cart contents ,and checkout.... to keep the width of the site intact. :thumbsup:

 

I just need someone to tell me which pages I have to edit.....

 

Im only asking because I need to save some time...

 

So if someone already knows which pages I need to edit...please just list them, you dont even have to tell me how...I will figure it out....its fun screwing up site..then fixin it... :P

 

Thanks B)

Link to comment
Share on other sites

Thanks again, just fixed it :thumbsup:

 

And hope this helps someone else maybe searching for same thing.....

 

 

If you want to take out the default 3 icons in the top portion of your OSC:

 

Navigate to /includes/headers.php

Go down to line 58 or look for something like this:

    <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>

 

Just Comment it out...or delete it B)

Link to comment
Share on other sites

  • 7 years later...

Thanks again, just fixed it :thumbsup:

 

And hope this helps someone else maybe searching for same thing.....

 

 

If you want to take out the default 3 icons in the top portion of your OSC:

 

Navigate to /includes/headers.php

Go down to line 58 or look for something like this:

    <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>

 

Just Comment it out...or delete it cool.gif

 

Does that hold true for 2.3.1? My includes/header.php is just 62 lines long.

Link to comment
Share on other sites

Thanks :) That helps alot. I'm actually making it look really nice, Eventually I'll get it online, it's close now. I'm still trying to deal with the hover thing. Just can't figure out where or how to change hover colors. I'll do it eventually though.

 

Thanks Again :wacko:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...