Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.