Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Infor Box HTML Link


jerlynn

Recommended Posts

I have two separate watch websites and I would like to place a link back and forth preferably in the category box. If not there, then in an information box. I have gone through all the info box contributions. I tried redoing the "daily word" contribution and made a separate box. I can see the html address code show up in the new box, but it isn't a link. I don't know where to go from here. Any help will be appreciated.

Link to comment
Share on other sites

post the code for the file/box up.

 

should be tep_href... or <a href=....

 

 

Thanks Lewis, but I'm not sure I understand. This is what is in the info box seiko_watches. Is it here something needs to be changed or somewhere else.

 

<?php

/*

// Added for Live Support provided by Crafty Syntax Live Help

//

*/

?>

<!-- information //-->

<tr>

<td>

<?php

$info_box_contents = array();

$info_box_contents[] = array('align' => 'center',

'text' => BOX_HEADING_SEIKO_WATCHES

);

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

$info_box_contents[] = array('align' => 'center',

'script type="text/javascript"

src="a href=http://jerlynnseikowatches.com">JerLynn\'s Seiko Watches

</script>');

?>

</td>

</tr>

<!-- information_eof //-->

Link to comment
Share on other sites

look for the line tep_show_category($first_element);

in your categories box code (almost at end)

 

  tep_show_category($first_element);

 $info_box_contents = array();
 $info_box_contents[] = array('text' => $categories_string);
 $info_box_contents[] = array('text' => tep_draw_separator());

 $text2 = '';

 $text2 .= '<a href="www.yourlink.com" target="_blank">' . BOX_CATEGORIES_LINKTO . '</a>';

$info_box_contents[] = array('align' => 'left',
                              'text' => $text2);

 new infoBox($info_box_contents);

 

you need to define BOX_CATEGORIES_LINKTO in your english.php

 

and change the link to reflect that partner page. I addeda separator line too.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...