Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Crafty Syntax Problem


simoneph

Recommended Posts

Hi Hope someone can help,

I have been trying to add craft syntax and can make it work just on a normal page but when I try to add it to one of the column as in what I have read keep getting an error.

Below is what I have changed to the information.php.

 

If anyone can help

 

<?php

/*

$Id: information.php 1739 2007-12-20 00:52:16Z hpdl $

 

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_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>' .

'<script type="text/javascript" src="//89302.co.uk/livehelp/livehelp_js.php?eo=1&relative=Y&department=1&serversession=1&pingtimes=15&frameparent=Y&secure=Y"></script>

');

 

new infoBox($info_box_contents);

?>

</td>

</tr>

<!-- information_eof //-->

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...