Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Editing the Default icons and links in Header


  • You cannot reply to this topic
6 replies to this topic

#1 TCwho

  • Community Member
  • 732 posts
  • Real Name:Danny

Posted 24 November 2004, 16:51

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)

#2 Vger

  • Community Member
  • 16,978 posts
  • Real Name:R Anthony
  • Gender:Not Telling

Posted 24 November 2004, 17:12

Only one page - includes/header.php.

Vger

#3 TCwho

  • Community Member
  • 732 posts
  • Real Name:Danny

Posted 24 November 2004, 18:28

Thank You Vger B)

:thumbsup:

#4 TCwho

  • Community Member
  • 732 posts
  • Real Name:Danny

Posted 24 November 2004, 23:20

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>&nbsp;&nbsp;<a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>&nbsp;&nbsp;<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>&nbsp;&nbsp;</td>

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

Edited by TCwho, 24 November 2004, 23:20.


#5 L.A.Willman

  • Community Member
  • 31 posts
  • Real Name:Larry Willman

Posted 19 January 2012, 20:05

View PostTCwho, on 24 November 2004, 23:20, said:

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>&nbsp;&nbsp;<a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>&nbsp;&nbsp;<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>&nbsp;&nbsp;</td>

Just Comment it out...or delete it [img]http://forums.oscommerce.com/public/style_emoticons/default/cool.gif[/img]

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

#6 click2shop

  • Community Member
  • 27 posts
  • Real Name:Roelf Keulder
  • Gender:Male
  • Location:Randfontein, South Africa

Posted 20 January 2012, 13:21

You can also change the space (width) your logo is going to use in the style sheet. This will place the 3 icons beneath it. I did it in v 2.3.1

#7 L.A.Willman

  • Community Member
  • 31 posts
  • Real Name:Larry Willman

Posted 21 January 2012, 19:58

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: