Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

navigation test


fry

Recommended Posts

I think I've sorted it by putting,

 

<b>News & Events</b> | 

 

BEFORE

 

<?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>

 

in header.php, but I'm not sure whether this will appear when a user is logged in and I can't test at the moment because it doesn't have an SSL cert....

 

...so if someone could tell me if it will work when logged in I would be very grateful

 

Thanks

Link to comment
Share on other sites

I think I've sorted it by putting,

 

<b>News & Events</b> | 

 

BEFORE

 

<?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>

 

in header.php, but I'm not sure whether this will appear when a user is logged in and I can't test at the moment because it doesn't have an SSL cert....

 

...so if someone could tell me if it will work when logged in I would be very grateful

 

Thanks

 

You have to add this code:

<?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_YOURFILENALE, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_WHATYOUWANT; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_WHATYOUWANT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_WHATYOUWANT; ?></a>  | 

Giovanni Putignano

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...