Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header


ps2wiz

Recommended Posts

Posted

How would I add a text and a link to the header section?

 

The section where the " Top ? Catalog My Account | Cart Contents | Checkout " links are present, I'd like to add another link in that area.

 

Thank you!

Posted

Neo,

 

That is in the header.php file. \catalog\includes. Thats as far as I can help you though, I was able to remove the links, not to sure about adding links.

Posted

the links you mention that appear top right are around line 64 of header.php in this table cell:

 

<td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   </td>

 

Simply add your link in there somewhere.

  • 3 weeks later...
Posted

Im having a little difficulty, lets say I want to add a link to http://www.google.com with the clickable word shown as "google" all the way on the left hand side. How would I acheive this?

 

Thank you very much!

Posted

<td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a>   <a href="http://www.google.com">Google</a></td>

Archived

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

×
×
  • Create New...