Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Index.PHP in language English


Guest

Recommended Posts

Hello People.

 

I am not bad with HTML but every time I try to edit the PHP file Index from the languages (the first page of the catalog) then I keep messing up and getting errors. I then restore from the backup and start again.

 

Has anyone got a blank copy of this file, or one with the comments added to it so I know which bits I can remove.

 

I'm just struggling a bit with it.

 

Thanks in advance.

Link to comment
Share on other sites

What exactly are you trying to do? Maybe someone could point you in the right direction.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

I'm simply trying to remove all the text from the centre of the page and replace it with my own.

 

You can see I've managed to do it a bit at http://www.theleftyshop.com/catalog but am stuck with the bottom parts. Every time I remove some I then get errors. I've done it about half a dozen times and each time have to go back to the state that I'm at now.

 

Thanks Wendy.

Link to comment
Share on other sites

What kind of errors do you get?

Did you escape quotes /'whatever/' ?

Forum search

Contributions search

Documentation search (note: docs being adapted for MS3, may be different for MS2)

3 tips for better forum searching

 

Want to post? Read this first:

osCommerce for dummies

Topic name etiquette

 

Basics:

Basics for design

Right syntax to use near '-20, 20'

Cannot re-assign $this

Parse error

Link to comment
Share on other sites

What kind of errors do you get?

Did you escape quotes /'whatever/' ?

 

Hi Winterchild, thanks for your reply. What do you mean escape quotes /'whatever/'

 

Is it that I can remove the text between these quote marks. If so then I'll have a look at it now. Thanks. Sorry for being such a dimwhit :'(

Link to comment
Share on other sites

No, if you write something with quotes you need to put a slash in front of the quote. Otherwise you get errors. whatever was an example.

 

You should be able to delete everything between the second set of quotes in define('TEXT_MAIN', ''); or any other define on the language index.php .

 

 

define('TEXT_MAIN', ' Everything here can be deleted ');

Forum search

Contributions search

Documentation search (note: docs being adapted for MS3, may be different for MS2)

3 tips for better forum searching

 

Want to post? Read this first:

osCommerce for dummies

Topic name etiquette

 

Basics:

Basics for design

Right syntax to use near '-20, 20'

Cannot re-assign $this

Parse error

Link to comment
Share on other sites

Note: quotes should be escaped with an \ instead of / :blush:

Forum search

Contributions search

Documentation search (note: docs being adapted for MS3, may be different for MS2)

3 tips for better forum searching

 

Want to post? Read this first:

osCommerce for dummies

Topic name etiquette

 

Basics:

Basics for design

Right syntax to use near '-20, 20'

Cannot re-assign $this

Parse error

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...