Jump to content

images links problem


vote-for-pedro

Recommended Posts

hi, what am i doing wrong here

 

im trying to get my images: header_account.gif & header_checkout.gif to be links.

for some reason the hand come up to suggest the link is working but nothing happens when its clicked.

this is for an oscommerce site so maybe i need to define it somewhere else?

 

Thanks

 

  <?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 tep_image_submit('header_account.gif', IMAGE_BUTTON_ACCOUNT); ?></a>
 
<a href="  <?php  echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation">
 <?php echo tep_image_submit('header_checkout.gif', IMAGE_BUTTON_CHECKOUT); ?> </a>  

Link to comment
https://forums.phpfreaks.com/topic/63896-images-links-problem/
Share on other sites

Changed it to this for it to work..

 

is it as safe as ive removed the ssl part... can it be put back in

 

 
     <?php  echo '<a href="' . tep_href_link(FILENAME_ACCOUNT) . '">' . tep_image(DIR_WS_IMAGES_BUTTONS . 'header_account.gif', IMAGE_BUTTON_ACCOUNT) . '</a>'; ?>

Link to comment
https://forums.phpfreaks.com/topic/63896-images-links-problem/#findComment-318490
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.