vote-for-pedro Posted August 8, 2007 Share Posted August 8, 2007 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> Quote Link to comment https://forums.phpfreaks.com/topic/63896-images-links-problem/ Share on other sites More sharing options...
vote-for-pedro Posted August 8, 2007 Author Share Posted August 8, 2007 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>'; ?> Quote Link to comment https://forums.phpfreaks.com/topic/63896-images-links-problem/#findComment-318490 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.