Jump to content



Latest News: (loading..)

Adding Terms of Use Text


  • Please log in to reply
2 replies to this topic

#1   hunter22375

hunter22375
  • Members
  • 20 posts
  • Real Name:Mark

Posted 21 July 2012 - 01:30 AM

I have tried so many ways to add text to the conditions.php file and have come up empty.  I am editing it directly on my server and run into trouble as soon as I try to create space between paragraphs.....I get 505 Internal server errors.  I figured between the ' and' I could hit "enter to make those spaces.  Also, my ters and conditions are kinda long.  Is there a max number of characters or something?

#2   DunWeb

DunWeb
  • Members
  • 12,716 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 21 July 2012 - 01:35 AM

@hunter22375

No, you can't hit enter.  You have to use HTML tags for formatting.  <br> gives you line breaks.  Also, the file should be downloaded to your local machine, edited with a text editor (Notepad++ or Editplus+) and then uploaded back to the server.

You can find more about HTML tags HERE



Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)  for more information and to contact me for professional osCommerce support that includes custom templates, add ons as well as cart leasing and support plans.

#3   germ

germ
  • Members
  • 13,921 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 21 July 2012 - 03:21 PM

define('TEXT_INFORMATION', 'Maybe your problem is not "escaping" the apostrophe in the define text.<br>
You can\'t put an apostrophe in the text without escaping it as I show here.<br>
If you don\'t escape it you\'ll get errors and the page won\'t display.<br>
<br>
I hope this helps.<br>
germ.<br>
<br>
P.S.<br>
<br>
There\'s no limit to the length of the text that I\'m aware of.');

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 >