Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Editing HTML/PHP?


Guest

Recommended Posts

Does anyone know how you edit the Privacy/Ship|Return/ php files so that you can get HTML to show up....

 

Thanks everytime I try and edit one of these I run into problems...

 

Thanks in Advance for any such help or suggestions...

Link to comment
Share on other sites

Are you editing in the language file for those files? One of the things you have to do...any apostrophes(single quote) have to be escaped with a slash.

 

For example:I'd love to write php scripts. Should be: I'd love to....

 

HINT: describing exactly what is happening, a blank page, parse errors, whatever, would be more helpful in getting to the bottom of the problem.

Link to comment
Share on other sites

If you really want some help, you have to tell us what file you're editing, what error you got, what you were doing, etc. Do you understand? Otherwise I'm not wasting anymore time.

Link to comment
Share on other sites

I need to know what kind of html tags I should use... so I can edit...

 

oscommerce folder/catalog/includes/languages/english/

 

privacy.php

conditions.php

shipping.php

 

These files located in the folder above... I hope this was explained good enough... :)

Link to comment
Share on other sites

define('NAVBAR_TITLE', 'Privacy Notice');

define('HEADING_TITLE', 'Privacy Notice');



define('TEXT_INFORMATION', 'XXXXXXXXX');

?>

 

Replace the X's with whatever you want. You can put a table <table></table>, bold <b></b>, links <a href></a>, anything...

Link to comment
Share on other sites

whenever you use a ' you will need to escape it:

 

THIS IS WRONG:

define('BLAH', 'This isn't buh, it's blah!');

[/code]

 

THIS IS CORRECT:

define('BLAH', 'This isn't buh, it's blah!');

[/code]

 

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

whenever you use a ' you will need to escape it:

 

THIS IS WRONG:

define('BLAH', 'This isn't buh, it's blah!');

[/code]

 

THIS IS CORRECT:

define('BLAH', 'This isn't buh, it's blah!');

[/code]

 

Mattice

 

Mattice, dear,

 

Didn't I say that already? :)

Link to comment
Share on other sites

Ooops. It's still early.

 

In my defense I'd like to state my example looks prettier

and has actually TWO examples in it... Puh!

 

:D

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...