Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

trouble with editing info pages


Guest

Recommended Posts

Posted

Maybe i'm just slow...

 

 

original:

 

<?php
/*
 $Id: shipping.php 1739 2007-12-20 00:52:16Z hpdl $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2002 osCommerce

 Released under the GNU General Public License
*/

define('NAVBAR_TITLE', 'Shipping & Returns');
define('HEADING_TITLE', 'Shipping & Returns');

define('TEXT_INFORMATION', 'Put here your Shipping & Returns information.');
?>

 

modified:

 

<?php
/*
 $Id: shipping.php 1739 2007-12-20 00:52:16Z hpdl $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2002 osCommerce

 Released under the GNU General Public License
*/

define('NAVBAR_TITLE', 'Shipping & Returns');
define('HEADING_TITLE', 'Shipping & Returns');

define('TEXT_INFORMATION', '<html>
<head>
 <meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
 <title></title>
</head>
<body style="background-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"
alink="#ee0000" link="#0000ee" vlink="#551a8b">
<font style="color: rgb(255, 255, 255);" color="#ffffff">LIVESTOCK
GUARANTEE<br>
<br>
We offer a "Live on Arrival" guarantee. This does not include shipping
cost.  Aloha Coral guarantees your zoanthid or palythoa order
will arrive alive and not melted.  <br>
<br>
All DOA's must be reported within 12 hours of receipt of shipment. You
must be available to receive the items and acclimate them to your
system within 1 hour of delivery. If you are not home or plan on
acclimating them later that is fine, but that is at your own risk.
 <br>
<br>
"DOAs" can either:<br>
A. Refunded minus shipping cost.<br>
B. Replaced if stock available.  (Buyer responsible for
shipping costs on replacement.)<br>
<br>
<br>
SHIPPING<br>
<br>
We ship US Postal Service only at this time.  All shipments
are shipped 2-Day.  Overnight or Next Day shipping is not
available from Hawaii.  We automatically email you a tracking
number on all orders.   All orders are shipped in
Styrofoam boxes with a hot or cold pack as needed.<br>
<br>
RETURNS<br>
<br>
Aloha Corals does not accept returns.</font>
</body>
</html>');
?>

 

i get "Parse error: syntax error, unexpected T_STRING in /home/.phyllida/graphite03/AlohaCorals.com/includes/languages/english/shipping.php on line 31"

 

Where am i going wrong?

Posted

get rid of the <html><head><body> tags ... also you need to escape all your ''s ... like this: \'

 

Try this:

 

<?php
/*
 $Id: shipping.php 1739 2007-12-20 00:52:16Z hpdl $

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

 Copyright (c) 2002 osCommerce

 Released under the GNU General Public License
*/

define('NAVBAR_TITLE', 'Shipping & Returns');
define('HEADING_TITLE', 'Shipping & Returns');

define('TEXT_INFORMATION', '<font style="color: rgb(255, 255, 255);" color="#ffffff">LIVESTOCK
GUARANTEE<br>
<br>
We offer a "Live on Arrival" guarantee. This does not include shipping
cost.  Aloha Coral guarantees your zoanthid or palythoa order
will arrive alive and not melted.  <br>
<br>
All DOA\'s must be reported within 12 hours of receipt of shipment. You
must be available to receive the items and acclimate them to your
system within 1 hour of delivery. If you are not home or plan on
acclimating them later that is fine, but that is at your own risk.
 <br>
<br>
"DOAs" can either:<br>
A. Refunded minus shipping cost.<br>
B. Replaced if stock available.  (Buyer responsible for
shipping costs on replacement.)<br>
<br>
<br>
SHIPPING<br>
<br>
We ship US Postal Service only at this time.  All shipments
are shipped 2-Day.  Overnight or Next Day shipping is not
available from Hawaii.  We automatically email you a tracking
number on all orders.   All orders are shipped in
Styrofoam boxes with a hot or cold pack as needed.<br>
<br>
RETURNS<br>
<br>
Aloha Corals does not accept returns.</font>');
?>

Posted
get rid of the <html><head><body> tags ... also you need to escape all your ''s ... like this: \'

 

 

Thank you very much!! It worked flawlessly. sorry for my n00bness...

 

k3v

Archived

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

×
×
  • Create New...