Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Replacing Header Navigation with Buttons


Chrissie

Recommended Posts

Posted

Hi,

 

I'd like to replace the header navigation bar with buttons containing the same functions (My account, cart contents, checkout) plus some others such as "New Producrts", "Home" etc.

 

Is there a simple way of doing this? I am quite capable of designing the buttons but I'm not sure how to install them in place of the header navigation.

 

Is there a contribution that will help? I have tried searching but to no avail.

 

I just need pointing in the right direction and I'll be fine! (I hope!)

 

Many thanks for any help or advice.

 

Chrissie x

Posted

In the /includes/header.php you find this code around line 64:

<a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>

You can replace the <?php echo HEADER_TITLE_MY_ACCOUNT; ?> with an image tag:

<a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><img src="/images/myimage.jpg"></a>

Maybe this can get you started?

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Archived

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

×
×
  • Create New...