Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Place a image in infobox not in header


El_Heso

Recommended Posts

Hi!

I want to put some images inside the different boxes ( NOT in header tags ) and i dont get it right for example:

 

<?php

 

?>

<!-- information //-->

<tr>

<td>

<?php

$info_box_contents = array();

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

 

new infoBoxHeading($info_box_contents, false, false);

 

 

$info_box_contents = array();

$info_box_contents[] = array('text' => // Here i want to put an image above the links but dont get it right have tryed a lot of different codes but dont fix it//'<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_ADVANTAGE) . '">' . BOX_INFORMATION_ADVANTAGE . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_ASSIGNER) . '">' . BOX_INFORMATION_ASSIGNER . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_POLICY) . '">' . BOX_INFORMATION_POLICY . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');

 

 

 

new infoBox($info_box_contents);

?>

</td>

</tr>

<!-- information_eof //-->

 

Is there a good hacker who can fix this!

 

Regards Tony

Link to comment
Share on other sites

I'm not good but

 

<?php

/*

$Id: search.php,v 1.22 2003/02/10 22:31:05 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

?>

<!-- search //-->

<tr>

<td>

<img src="images/InformationBox/b_tees.jpg" vspace=5 border="0" alt="Printed Tees" title="Printed Tees" width="160" ></a>

 

Seems to be what you want.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

I fixed it with this:

$info_box_contents = array();

$info_box_contents[] = array('text' => '<a ' . tep_image(DIR_WS_IMAGES . 'info.gif') . '' . tep_image(DIR_WS_IMAGES . 'info.gif', '') . '</a><br>' .

 

 

'<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>');

 

maybe not the best way but it works B)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...