Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

modifying information box code and moving box


Guest

Recommended Posts

Posted

I want to move my information box (not 100% working and second issue) to the right side and haven't a clue on how to due this does anyone have any suggestions?

Also can someone review this code and tell me what I missed, because the information box isn't accepting the modified code

Warning! Site contains adult content

Visit My Website

 

here is the modified (from the original) code

 

<?php

/*

$Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

?>

<!-- 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' => '<a href="' . tep_href_link(FILENAME_USC_2257) . '">' . BOX_INFORMATION_USC_2257 . '</a><br>' .

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

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

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

'<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_FAQ) . '">' . BOX_INFORMATION_FAQ . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_AFFILIATES) . '">' . BOX_INFORMATION_AFFILIATES . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_SITE_MAP) . '">' . BOX_INFORMATION_SITE_MAP . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_CATALOG) . '">' . BOX_INFORMATION_CATALOG . '</a>');

 

new infoBox($info_box_contents);

?>

</td>

</tr>

<!--information_eof //-->

 

Thanks to anyone willing to help

 

5150Coach

  • 3 months later...
Posted
I want to move my information box (not 100% working and second issue) to the right side and haven't a clue on how to due this does anyone have any suggestions?

Also can someone review this code and tell me what I missed, because the information box isn't accepting the modified code

Warning! Site contains adult content

Visit My Website

 

here is the modified (from the original) code

 

<?php

/*

$Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

?>

<!-- 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' => '<a href="' . tep_href_link(FILENAME_USC_2257) . '">' . BOX_INFORMATION_USC_2257 . '</a><br>' .

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

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

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

'<a href="' . tep_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_FAQ) . '">' . BOX_INFORMATION_FAQ . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_AFFILIATES) . '">' . BOX_INFORMATION_AFFILIATES . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_SITE_MAP) . '">' . BOX_INFORMATION_SITE_MAP . '</a><br>' .

'<a href="' . tep_href_link(FILENAME_CATALOG) . '">' . BOX_INFORMATION_CATALOG . '</a>');

 

new infoBox($info_box_contents);

?>

</td>

</tr>

<!--information_eof //-->

 

Thanks to anyone willing to help

 

5150Coach

 

go to this web site, there is a tutorial on what you want to do.

 

http://demodemo.com/tutorials_osc.html

Archived

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

×
×
  • Create New...