Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can Someone Please Find The Fault/s in these lines,


joyrutter

Recommended Posts

Posted

i have tried & tried again & I am totally done in because of it. Could someone please help???

 

 

 

<td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">'. tep_image(DIR_WS_IMAGES . ', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . ', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>

</tr>

 

 

thanks

joy

Posted

Try this. The code for the image to show properly was incorrect. I assume this is a piece of code from catalog/includes/header.php

 

you just have to set the images/your_image.gif to whatever directory the image you want to show is in. Look in your catalog/includes configure.php for the paths.

 

If your image path is wrong or the image does not exist you will see a blank image usually with a red X in it. You will have to play around till to get the path and images correct if you are a novice coder.

 

<td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'images/your_image.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'images/your_image.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>

Archived

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

×
×
  • Create New...