Guest Posted February 25, 2005 Share Posted February 25, 2005 Hi, I am very new to oscommerce. I have it installed fine with no apparent problems apart from 1. I don't seem to be able to edit the define () in /includes/languages/english/index.php: define('TEXT_MAIN', ''); I am trying to add html between the single quotes like this: <?php /* ?$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $ ?osCommerce, Open Source E-Commerce Solutions ?http://www.oscommerce.com ?Copyright (c) 2003 osCommerce ?Released under the GNU General Public License */ define('TEXT_MAIN', '<table border="1" width="100%" id="table1" cellspacing="0" bordercolor="#BBC3D3" bgcolor="#F8F8F9" cellpadding="3"> ?<tr> ? <td width="50%" valign="top"><u><font color="#0000FF"><b>Open For ? Business</b></font></u><font size="2"><br> ? <img border="0" src="http://shop.plugnplaypcs.com.au/images/mascot_sm.jpg" align="left" width="150" height="70">Welcome to ? the official <b>Plug "N" Play Pc's</b> website. At this ? website you can purchase fully custom built computer systems, ? hardware's, software's, games and web hosting. We also supply ? computer accessories and peripherals like 5.1 sound systems, ? printers, scanners, digital camera's and MP3 players - just about ? everything you need.</font><p><font size="2"><b>Can't find what your ? after?</b> Go to the contact form and let us know. We have access to ? almost every computer parts supplier in Brisbane. We couldn't ? possibly display every single product that is available as there are ? literally tens of thousands of products. We are currently displaying ? the most common items used to build computer systems.</font></p> ? <p align="center"><font size="2">So challenge us, you won't be ? disappointed!</font></td> ? <td width="50%" valign="top"><u><b><font color="#0000FF">You Build ? It or We Build It</font></b></u><font size="2"><br> ? <img border="0" src="http://shop.plugnplaypcs.com.au/images/P4.jpg" align="right" width="132" height="88">That's ? right, whether you build it or upgrade your PC yourself or you get ? us to do it for you, the price stays the same. We have very little ? overheads and markup and choose not to charge for labour at the ? moment. This makes it cheaper for you.</font><p><font size="2">Some ? people prefer to build their own systems. It has been compared with ? building a model plane. While some others would dread the thought or ? simply just don't have the time. </font></p> ? <p><font size="2">All of our systems come with all hardware drivers ? installed, an operating system and security by way of anti virus and ? firewall. We will also install office applications for you if ? required. All systems built by us are fully tested prior to ? delivery.</font></td> ?</tr> ?<tr> ? <td width="50%" valign="top" height="181"><u><b> ? <font color="#0000FF">Custom Web ? Hosting</font></b></u><font size="2"><br> ? <img border="0" src="http://shop.plugnplaypcs.com.au/images/hosting_sm.jpg" align="left" width="101" height="98">Please see below a brief summary of our standard plans. We do ? however supply fully customized plans. All plans are easily ? upgradeable and or modified to suit your every need. Maybe you need ? more email addresses and less disc space.</font><p><font size="2">Can we install <b> ? FrontPage Extensions</b>?? YES - All accounts including the Free ? account can have <b>FrontPage Extensions</b> installed. Just mention ? this when you apply for your account.</font></p> ? <table border="1" width="100%" id="table2" cellspacing="1"> ? ?<tr> ? ? <td width="14%" bgcolor="#BBC3D3" valign="bottom"><b> ? ? <font size="2">Plan</font></b></td> ? ? <td width="14%" bgcolor="#BBC3D3" valign="bottom"><b> ? ? <font size="2">MySQL / PHP</font></b></td> ? ? <td width="14%" bgcolor="#BBC3D3" valign="bottom"><b> ? ? <font size="2">Disc Space</font></b></td> ? ? <td width="14%" bgcolor="#BBC3D3" valign="bottom"><b> ? ? <font size="2">Band Width</font></b></td> ? ? <td width="14%" bgcolor="#BBC3D3" valign="bottom"><b> ? ? <font size="2">PoP3 Emails</font></b></td> ? ? <td width="14%" bgcolor="#BBC3D3" valign="bottom"><b> ? ? <font size="2">Sub Domains</font></b></td> ? ? <td width="14%" bgcolor="#BBC3D3" valign="bottom"><b> ? ? <font size="2">Price / Month</font></b></td> ? ?</tr> ? ?<tr> ? ? <td width="14%" bgcolor="#BBC3D3" valign="top"><b> ? ? <font size="2">FREE</font></b></td> ? ? <td width="14%" bgcolor="#FF6666" valign="top" align="center"> ? ? <font size="2">NO</font></td> ? ? <td width="14%" bgcolor="#00CC99" valign="top" align="center"> ? ? <font size="2">150</font></td> ? ? <td width="14%" bgcolor="#00CC99" valign="top" align="center"> ? ? <font size="2">1,500</font></td> ? ? <td width="14%" bgcolor="#FF6666" valign="top" align="center"> ? ? <font size="2">0</font></td> ? ? <td width="14%" bgcolor="#FF6666" valign="top" align="center"> ? ? <font size="2">0</font></td> ? ? <td width="14%" bgcolor="#66CCFF" valign="top" align="center"> ? ? <font size="2">$0.00</font></td> ? ?</tr> ? ?<tr> ? ? <td width="14%" bgcolor="#BBC3D3" valign="top"><b> ? ? <font size="2">Bronze</font></b></td> ? ? <td width="14%" bgcolor="#00CC99" valign="top" align="center"> ? ? <font size="2">YES</font></td> ? ? <td width="14%" bgcolor="#00CC99" valign="top" align="center"> ? ? <font size="2">250</font></td> ? ? <td width="14%" bgcolor="#00CC99" valign="top" align="center"> ? ? <font size="2">2,500</font></td> ? ? <td width="14%" bgcolor="#00CC99" valign="top" align="center"> ? ? <font size="2">10</font></td> ? ? <td width="14%" bgcolor="#00CC99" valign="top" align="center"> ? ? <font size="2">1</font></td> ? ? <td width="14%" bgcolor="#66CCFF" valign="top" align="center"> ? ? <font size="2">$5.00</font></td> ? ?</tr> ? ?<tr> ? ? <td width="14%" bgcolor="#BBC3D3" valign="top"><b> ? ? <font size="2">Silver</font></b></td> ? ? <td width="14%" bgcolor="#00CC99" valign="top" align="center"> ? ? <font size="2">YES</font></td> ? ? <td width="14%" bgcolor="#00CC99" valign="top" align="center"> ? ? <font size="2">500</font></td> ? ? <td width="14%" bgcolor="#00CC99" valign="top" align="center"> ? ? <font size="2">5,000</font></td> ? ? <td width="14%" bgcolor="#00CC99" valign="top" align="center"> ? ? <font size="2">20</font></td> ? ? <td width="14%" bgcolor="#00CC99" valign="top" align="center"> ? ? <font size="2">2</font></td> ? ? <td width="14%" bgcolor="#66CCFF" valign="top" align="center"> ? ? <font size="2">$8.00</font></td> ? ?</tr> ? ?<tr> ? ? <td width="14%" bgcolor="#BBC3D3" valign="top"><b> ? ? <font size="2">Gold</font></b></td> ? ? <td width="14%" bgcolor="#00CC99" valign="top" align="center"> ? ? <font size="2">YES</font></td> ? ? <td width="14%" bgcolor="#00CC99" valign="top" align="center"> ? ? <font size="2">1000</font></td> ? ? <td width="14%" bgcolor="#00CC99" valign="top" align="center"> ? ? <font size="2">10,000</font></td> ? ? <td width="14%" bgcolor="#00CC99" valign="top" align="center"> ? ? <font size="2">40</font></td> ? ? <td width="14%" bgcolor="#00CC99" valign="top" align="center"> ? ? <font size="2">4</font></td> ? ? <td width="14%" bgcolor="#66CCFF" valign="top" align="center"> ? ? <font size="2">$14.00</font></td> ? ?</tr> ? </table> ? <p align="center"><font size="2">For more detailed ? information on the<br> ? standard plans please click here.</font></p> ? <p><font size="2">Keep an eye out for our specials......</font></td> ? <td width="50%" valign="top"> </td> ?</tr> ?<tr> ? <td width="50%" valign="top"> </td> ? <td width="50%" valign="top"> </td> ?</tr> </table>'); define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { ?define('HEADING_TITLE', 'Let\'s See What We Have Here'); ?define('TABLE_HEADING_IMAGE', ''); ?define('TABLE_HEADING_MODEL', 'Model'); ?define('TABLE_HEADING_PRODUCTS', 'Product Name'); ?define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); ?define('TABLE_HEADING_QUANTITY', 'Quantity'); ?define('TABLE_HEADING_PRICE', 'Price'); ?define('TABLE_HEADING_WEIGHT', 'Weight'); ?define('TABLE_HEADING_BUY_NOW', 'Buy Now'); ?define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); ?define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.'); ?define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); ?define('TEXT_SHOW', '<b>Show:</b>'); ?define('TEXT_BUY', 'Buy 1 \''); ?define('TEXT_NOW', '\' now'); ?define('TEXT_ALL_CATEGORIES', 'All Categories'); ?define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth == 'top') { ?define('HEADING_TITLE', 'What\'s New Here?'); } elseif ($category_depth == 'nested') { ?define('HEADING_TITLE', 'Categories'); } ?> But I get this error message: Parse error: parse error, unexpected T_STRING in /***/***/public_html/shop/includes/languages/english/index.php on line 18 Can anyone help out at all?? Regards, Marty. Link to comment Share on other sites More sharing options...
Guest Posted February 25, 2005 Share Posted February 25, 2005 this: Play Pc's is this: Play Pc\'s take a look thru the rest and fix, an apostrophe needs to be preceeded with a \ Link to comment Share on other sites More sharing options...
Guest Posted February 25, 2005 Share Posted February 25, 2005 this: Play Pc's is this: Play Pc\'s take a look thru the rest and fix, an apostrophe needs to be preceeded with a \ <{POST_SNAPBACK}> Thankyou very much Mibble, it all worked perfectly - your a champion :thumbsup: I'll remember that one for future....... Marty. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.