Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Small error


jewelrytrends

Recommended Posts

Hi,

 

Could anybody please tell me what I am doing wrong here with adding a box to a page.

 

I am trying to add my trade seal in the right column space. I got the box to show up and all, and the name shows up but the contents of the box doens't wanna show up.

 

This is what I have on that page.

 

<?php
/*
 $Id: languages.php,v 1.15 2003/06/09 22:10:48 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/
?>
<!-- Seal //-->
         <tr>
           <td>
<?php
 $info_box_contents = array();
 $info_box_contents[] = array('text' => 'Trade Seal');

 new infoBoxHeading($info_box_contents, false, false);

 $info_box_contents = array();
 $info_box_contents[] = array('<script src="http://seals.squaretrade.com/REL008/142869639.js"></script>');
 
 new infoBox($info_box_contents);
?>
           </td>
         </tr>
<!-- Seal_eof //-->

 

 

Maybe the requirements for adding a script aren't right. But i'm totally clueless.

 

Thanks in advance,

.:jewelrytrends:.

Link to comment
Share on other sites

Denice,

 

Try this:

<?php
/*
$Id: languages.php,v 1.15 2003/06/09 22:10:48 hpdl Exp $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright (c) 2003 osCommerce

Released under the GNU General Public License
*/
?>
<!-- Seal //-->
        <tr>
          <td>
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => 'Trade Seal');

new infoBoxHeading($info_box_contents, false, false);

$info_box_contents = array();
$info_box_contents[] = array('align' => 'center',
          'text' => '<script src="http://seals.squaretrade.com/REL008/142869639.js"></script>');

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

 

Bobby

Link to comment
Share on other sites

Denice,

 

Try this:

<?php
/*
$Id: languages.php,v 1.15 2003/06/09 22:10:48 hpdl Exp $

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright (c) 2003 osCommerce

Released under the GNU General Public License
*/
?>
<!-- Seal //-->
        <tr>
          <td>
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => 'Trade Seal');

new infoBoxHeading($info_box_contents, false, false);

$info_box_contents = array();
$info_box_contents[] = array('align' => 'center',
          'text' => '<script src="http://seals.squaretrade.com/REL008/142869639.js"></script>');

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

 

Bobby

 

 

Sorry - Nothing to do with the above issue.

I wanted to know if you or anyone using Ultimate SEO URLs - v2.0 *NEW*, has got it live? I would like to take a view... :thumbsup:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...