Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Trying to put the following on my main page....


kallista

Recommended Posts

Posted

Anytime i try to use html to format this

 

Trying to put the following on my main page....

 

 

Accodring to a previously answered post HTML in the Define text are would be ok...

 

unfortunately it causes the parse error.

 

 

About Magic Forest

 

WARNING! Natural soaps are addictive. Once you experience A Magic Forest's skin-loving, fluffy lather, you'll never want to go back to big corporate made detergent bars.

Our glycerin soaps are individually made so no two soaps are the same. Each soap is carefully handcrafted to create lovely and unique designs. To keep our soaps fresh, our bars are wrapped in thin plastic film (like microwave food wrap)

 

Handmade glycerin soap from A Magic Forest is made from translucent and creamy vegetable base glycerin, olive, honey, aloe and goatsmilk. Glycerin is a natural product of traditional soap making. Our glycerin soap is gentle to your skin. This means there are no alcohols or detergents in the base, which tend to irritate the skin. To the base we add high quality colorants and the finest fragrance oils or essential oils. You can be guaranteed that great care is taken to insure that the customer is purchasing quality glycerin soaps.

 

Customize to match your decor or your mood. Since our glycerin soaps hold their fragrances so long and are so beautiful, you can purchase multiple slices or bars and proudly display them on your guest bath vanity until needed. Do not display in direct sunlight as natural colors may fade.

 

Our soaps contain:

NO synthetic chemicals

NO petroleum based detergents

NO fillers

NO animal ingredients

NO harmful preservatives

 

 

No Returns or Exchanges on any of our products due to FDA REGULATIONS

If a problem should arise, please contact us and we will try to solve the problem in a satisfactory manner.

 

 

 

 

This is the HTML coded page....

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-tra...l.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<title>Untitled Document</title>

</head>

 

<body>

About Magic Forest<br />

<br />

WARNING!  Natural soaps are addictive.  Once you experience A Magic Forest's skin-loving, fluffy lather, you'll never want to go back to big corporate made detergent bars.<br />

Our glycerin soaps are individually made so no two soaps are the same. Each soap is carefully handcrafted to create lovely and unique designs. To keep our soaps fresh, our bars are wrapped in thin plastic film (like microwave food wrap)<br />

<br />

Handmade glycerin soap from A Magic Forest is made from translucent and creamy vegetable base glycerin, olive, honey, aloe and goatsmilk. Glycerin is a natural product of traditional soap making. Our glycerin soap is gentle to your skin. This means there are no alcohols or detergents in the base, which tend to irritate the skin. To the base we add high quality colorants and the finest fragrance oils or essential oils. You can be guaranteed that great care is taken to insure that the customer is purchasing quality glycerin soaps.<br />

<br />

Customize to match your decor or your mood. Since our glycerin soaps hold their fragrances so long and are so beautiful, you can purchase multiple slices or bars and proudly display them on your guest bath vanity until needed. Do not display in direct sunlight as natural colors may fade.<br />

<br />

Our soaps contain:<br />

NO synthetic chemicals<br />

NO petroleum based detergents<br />

NO fillers<br />

NO animal ingredients<br />

NO harmful preservatives<br />

<br />

<br />

No Returns or Exchanges on any of our products due to   FDA REGULATIONS<br />

If a problem should arise, please contact us and we will try to solve the problem in a satisfactory manner.<br />

 

pleaseeeeeeeee help

Posted

do you have a link to the page where the error is happening

 

where are you putting this html - can you post the code from the page you are inserting it to

Regards

 

Mark A Reynolds

Posted

you shouldnt need to put in the head and body statements in the langauges file

 

just the text with any line breaks, basic formatting etc

 

also - are you looking after your apostrophes - like this -

 

Magic Forest\'s skin-loving, fluffy lather, you\'ll

Posted
you shouldnt need to put in the head and body statements in the langauges file

 

just the text with any line breaks, basic formatting etc

 

also - are you looking after your apostrophes - like this -

 

Magic Forest\'s skin-loving, fluffy lather, you\'ll

 

I find it safer to just use "AmpersandPound39;" the html code for an apostrophe, like this:

 

--edit: stupid code boxes don't keep this written as characters.

 

This has the added bonus of making words like "you'll" stay together, instead of breaking at the end of a line.

"A witty saying proves nothing" --Voltaire

Posted

word. damn single quotes! you can also use double quotes to enclose a string that has a single quote. by the way, a single quote is different from an apostrophe

Posted
word. damn single quotes! you can also use double quotes to enclose a string that has a single quote. by the way, a single quote is different from an apostrophe

Did you get it up?

I put it on my test site and it works fine. If you didn't get it up, i'll send you the php.

 

Mike

Posted

B)-->

QUOTE(Michael B @ Jan 5 2007, 04:14 AM) <{POST_SNAPBACK}>

Did you get it up?

I put it on my test site and it works fine. If you didn't get it up, i'll send you the php.

 

Mike

 

I am trying, it just doesnt work..

Posted
B)--><div class='quotetop'>QUOTE(Michael B @ Jan 5 2007, 04:14 AM) <{POST_SNAPBACK}></div><div class='quotemain'><!--quotec-->

Did you get it up?

I put it on my test site and it works fine. If you didn't get it up, i'll send you the php.

 

Mike

I am trying, it just doesnt work..

Put this in languages/cnglish/index.php (replace)

<?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 © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', ' <table border="0" width="100%" cellspacing="5" cellpadding="2"><tr>

 

<td>

About Magic Forest<br />

<br />

WARNING!  Natural soaps are addictive.  Once you experience A Magic Forest’s skin-loving, fluffy lather, you’ll never want to go back to big corporate made detergent bars.<br />

Our glycerin soaps are individually made so no two soaps are the same. Each soap is carefully handcrafted to create lovely and unique designs. To keep our soaps fresh, our bars are wrapped in thin plastic film (like microwave food wrap)<br />

<br />

Handmade glycerin soap from A Magic Forest is made from translucent and creamy vegetable base glycerin, olive, honey, aloe and goatsmilk. Glycerin is a natural product of traditional soap making. Our glycerin soap is gentle to your skin. This means there are no alcohols or detergents in the base, which tend to irritate the skin. To the base we add high quality colorants and the finest fragrance oils or essential oils. You can be guaranteed that great care is taken to insure that the customer is purchasing quality glycerin soaps.<br />

<br />

Customize to match your decor or your mood. Since our glycerin soaps hold their fragrances so long and are so beautiful, you can purchase multiple slices or bars and proudly display them on your guest bath vanity until needed. Do not display in direct sunlight as natural colors may fade.<br />

<br />

Our soaps contain:<br />

NO synthetic chemicals<br />

NO petroleum based detergents<br />

NO fillers<br />

NO animal ingredients<br />

NO harmful preservatives<br />

<br />

<br />

No Returns or Exchanges on any of our products due to   FDA REGULATIONS<br />

If a problem should arise, please contact us and we will try to solve the problem in a satisfactory manner.<br />

</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', 'Keep ’em calling!');

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', 'New Services');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

Posted

B)-->

QUOTE(Michael B @ Jan 6 2007, 09:27 AM) <{POST_SNAPBACK}>

Put this in languages/cnglish/index.php (replace)

<?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 © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', ' <table border="0" width="100%" cellspacing="5" cellpadding="2"><tr>

 

<td>

About Magic Forest<br />

<br />

WARNING!  Natural soaps are addictive.  Once you experience A Magic Forest’s skin-loving, fluffy lather, you’ll never want to go back to big corporate made detergent bars.<br />

Our glycerin soaps are individually made so no two soaps are the same. Each soap is carefully handcrafted to create lovely and unique designs. To keep our soaps fresh, our bars are wrapped in thin plastic film (like microwave food wrap)<br />

<br />

Handmade glycerin soap from A Magic Forest is made from translucent and creamy vegetable base glycerin, olive, honey, aloe and goatsmilk. Glycerin is a natural product of traditional soap making. Our glycerin soap is gentle to your skin. This means there are no alcohols or detergents in the base, which tend to irritate the skin. To the base we add high quality colorants and the finest fragrance oils or essential oils. You can be guaranteed that great care is taken to insure that the customer is purchasing quality glycerin soaps.<br />

<br />

Customize to match your decor or your mood. Since our glycerin soaps hold their fragrances so long and are so beautiful, you can purchase multiple slices or bars and proudly display them on your guest bath vanity until needed. Do not display in direct sunlight as natural colors may fade.<br />

<br />

Our soaps contain:<br />

NO synthetic chemicals<br />

NO petroleum based detergents<br />

NO fillers<br />

NO animal ingredients<br />

NO harmful preservatives<br />

<br />

<br />

No Returns or Exchanges on any of our products due to   FDA REGULATIONS<br />

If a problem should arise, please contact us and we will try to solve the problem in a satisfactory manner.<br />

</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', 'Keep ’em calling!');

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', 'New Services');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

 

Yuo'll probably want to modify Heading _Title and some of those things, but this will put it up on your main page.

 

Mike

Archived

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

×
×
  • Create New...