Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Boxes


mlsgr76

Recommended Posts

Posted

I want to add an additional box on my front page. I went to the knowledge base and was following that but I don't have an information.php located in boxes. What can I use and where can I find it? Also once I get that done, I can create any file and use it for that?

 

Also how do I create additional pages to add? I would like to add an information page about payment methods and such. How would I go about that?

 

Thanks

Monica

Posted

here's an info box that should work okay for you. Check out contributions for site policies, there has been a couple of good ones posted.

 

<?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 (c) 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_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>');

 new infoBox($info_box_contents);
?>
           </td>
         </tr>
<!-- information_eof //-->

GEOTEX from Houston, TX

 

(George)

Archived

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

×
×
  • Create New...