Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

nOOb - Need help adding text.


Guest

Recommended Posts

:blink:

Help! I am a total n00b to osC and need help applying text to a page.

For example, the privacy page. How do I install my HTML formatted text into the privacy page?

 

Thanks.

Link to comment
Share on other sites

Nearly all of the text is added or edited under:

 

catalog\\includes\\languages\\english\ (Or other language, if applicable)

 

For the Privacy.php file:

Find this code and add your text and html as shown below.

define('TEXT_INFORMATION', ' Put your text and html code inside these appostrophes ');

?>

Link to comment
Share on other sites

Thanks!

I inserted the text where shown and, at least, the error message changed ;^)

 

Parse error: parse error, unexpected T_STRING in /home/digitale/public_html/osCommerce/catalog/includes/languages/english/privacy.php on line 48

 

This makes no sense to me. this is at a list item line after several other list items. I don't see a problem?

Am I blind?

Link to comment
Share on other sites

I think I might have the answer to that (not the blind part, the other part) :)

 

Check all of your text between the appostrophes. If you have any actual

appostrophes in your text, then you need to change them as show below:

 

Change

He's not blind

 

to

He\'s not blind

 

Do you see the difference with the "\" before the ' ?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...