Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New box


csfound

Recommended Posts

Hi,

 

i've just create new box with this code:

 

<!-- links //-->
         <tr>
           <td>
<?php
 $info_box_contents = array();
 $info_box_contents[] = array('text' => 'SITI PARTNER');

 new infoBoxHeading($info_box_contents, false, false);

 $info_box_contents = array();
 $info_box_contents[] = array('text' => 'partner 1');
 
 new infoBox($info_box_contents);
?>
           </td>
         </tr>
<!-- links //-->

 

 

 

Now, I see box without problem but I need to have a link HREF and not only with text.

 

How can I add this function?

Can someone halp me?

 

Many thanks

Link to comment
Share on other sites

$info_box_contents[] = array('text' => 'partner 1');

should be:

$info_box_contents[] = array('text' => '<a href="'.tep_href_link('yourfile.php', 'yourparameters=value).'">partner 1</a>');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...