Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Creating and inserting my own logo/header thingy


Guest

Recommended Posts

Hi,

 

Im getting a bit stumped. Im trying to create a header for the home page, I think its called a header. The bit that goes at the top of the page, and has the company logo and a few pics.

 

I cant find anywhere where i can create them, or where i need to insert it in OSC.

 

I know this might be a silly question with a simple answer, but any help would be good.

 

Many Thanks

Link to comment
Share on other sites

Hi,

 

Im getting a bit stumped. Im trying to create a header for the home page, I think its called a header. The bit that goes at the top of the page, and has the company logo and a few pics.

 

I cant find anywhere where i can create them, or where i need to insert it in OSC.

 

I know this might be a silly question with a simple answer, but any help would be good.

 

Many Thanks

 

The code you are looking for is inside includes/header.php

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr class="header">
<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>
<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>
 </tr>
</table>

 

Be well,

Tina

If you're not having fun you're not doing it right

 

Teach a person to fish rather than give them a loaf of bread or however that saying goes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...