Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error: syntax error, unexpected T_STRING in /home/twint1/public_html/includes/languages/english/index.php on line 15


twinthings

Recommended Posts

Posted

Hi

Could anyone help me with this error.

Parse error: syntax error, unexpected T_STRING in /home/twint1/public_html/includes/languages/english/index.php on line 15

 

I had changed it, but not sure if I am leaving something out.

 

 

<?php

/*

$Id: $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2007 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', 'Welcome to the TWIN THINGS store.

<P>

<p>You will find a great range of quality children's clothing, Bubbie Stubbies and twin-related novelty items.

<br> Thank you for visiting Twin Things.');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

 

Any help would be much appreciated.

fiona

Posted

Try this:

 

define('TEXT_MAIN', 'Welcome to the TWIN THINGS store.
<P>
<p>You will find a great range of quality children\'s clothing, Bubbie Stubbies and twin-related novelty items.
<br> Thank you for visiting Twin Things.');

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
Try this:

 

define('TEXT_MAIN', 'Welcome to the TWIN THINGS store.
<P>
<p>You will find a great range of quality children\'s clothing, Bubbie Stubbies and twin-related novelty items.
<br> Thank you for visiting Twin Things.');

 

Thanks Jim worked like a chime , could you tell me how to change the font style, of my greeting.

fiona

Posted

Look at the HTML source.

 

The greeting looks like this:

 

			<td class="main">Welcome to the TWIN THINGS store.
<p>
</p><p>You will find a great range of quality children's clothing, Bubbie Stubbies and twin-related novelty items.
<br> Thank you for visiting Twin Things.</p></td>

This part:

 

<td class="main">

Tells the browser to use this code in the stylesheet:

 

TD.main, P.main {
 font-family: Verdana, Arial, sans-serif;
 font-size: 11px;
 line-height: 1.5;
}

So that's where you need to make changes.

 

Be aware that this style is used in other places on your site!!!

 

If you want only that text to change, the best thing would be to create another style in the stylesheet, then alter the main index.php to use the new style.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

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

×
×
  • Create New...