Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

tep_href_link problem


ktroncat

Recommended Posts

Posted

I need some help, please....

 

I have a secondary banner which came with the new template....I get the banner to display and it links to the catagory for the product. The problem is, in front of the banner is displayed

// tep_image where tep_image is clickable. How do I get rid of the tep_image display?

 

Any help would be appriceated.....

 

The code is

 

<?php

/*

$Id: panel_bottom.php,v 1.15 2003/06/09 22:10:48 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

?>

 

// <a href="<?php echo tep_href_link('index.php?cPath=3')?>"><?php echo tep_image

// (DIR_WS_IMAGES.'banner1.jpg')?></a>

 

<a href="<?php echo tep_href_link('index.php?products_id=172')?>"><?php echo tep_image(DIR_WS_IMAGES.'banner1.jpg')?></a>

Posted

Not too sure what you're trying to do with this code:

 

// <a href="<?php echo tep_href_link('index.php?cPath=3')?>"><?php echo tep_image
// (DIR_WS_IMAGES.'banner1.jpg')?></a>

:unsure:

 

You can't comment out HTML with the // that PHP uses...

:huh:

 

Maybe if you change the code I posted to:

 

<!--
//  <a href="<?php echo tep_href_link('index.php?cPath=3')?>"><?php echo tep_image
// (DIR_WS_IMAGES.'banner1.jpg')?></a>
//-->

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

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

×
×
  • Create New...