Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

navbar ? headernav?


poddan1

Recommended Posts

Posted

I?ve have seen some sites with extra "buttons" in top of page

tex. Pictures | My Account | My Shopping Cart | Checkout

 

Anyone who knows were I can find dummy info for me?

Posted

catalog/includes/header.php

 

insert this

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">
?<tr class="headerNavigation">
? ?<td align="center" class="headerNavigation"><?php echo '<a class="headerNavigation" href="' . tep_href_link(FILENAME_DEFAULT) . '">' . HEADER_LINKS_DEFAULT . '</a>' . ' |  ' . "\n"; ?>
? <?php echo '<a class="headerNavigation" href="' . tep_href_link(FILENAME_BEAD_SPECIALS) . '">' . HEADER_LINKS_SPECIALS . '</a>' . ' |  ' . "\n"; ?>
? <?php echo '<a class="headerNavigation" href="' . tep_href_link(FILENAME_PRODUCTS_NEW) . '">' . HEADER_LINKS_WHATS_NEW . '</a>' . ' |  ' . "\n"; ?>
? ? ? ? <?php echo '<a class="headerNavigation" href="' . tep_href_link(FILENAME_REVIEWS) . '">' . HEADER_LINKS_REVIEWS . '</a>' . "\n"; ?>
</td>
?</tr>
</table>

as an example

 

for ease you can also place the defines in that file as well

 

define('HEADER_LINKS_DEFAULT','HOME');
?define('HEADER_LINKS_WHATS_NEW','WHAT\'S NEW?');
?define('HEADER_LINKS_SPECIALS','SPECIALS');
?define('HEADER_LINKS_REVIEWS','REVIEWS');
?define('HEADER_LINKS_SHIPPING','SHIPPING');
?define('HEADER_LINKS_PRIVACY','PRIVACY');
?define('HEADER_LINKS_CONDITIONS','CONDITIONS');
?define('HEADER_LINKS_CONTACT_US','CONTACT INFO');

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Archived

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

×
×
  • Create New...