Guest Posted April 21, 2005 Share Posted April 21, 2005 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 More sharing options...
Wendy James Posted April 21, 2005 Share Posted April 21, 2005 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 More sharing options...
Guest Posted April 21, 2005 Share Posted April 21, 2005 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 More sharing options...
Winterchild Posted April 21, 2005 Share Posted April 21, 2005 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 More sharing options...
Guest Posted April 21, 2005 Share Posted April 21, 2005 What kind of errors do you get?Did you escape quotes /'whatever/' ? <{POST_SNAPBACK}> 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 More sharing options...
Winterchild Posted April 21, 2005 Share Posted April 21, 2005 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 More sharing options...
Guest Posted April 21, 2005 Share Posted April 21, 2005 Brilliant, thanks for that. I've now deleted everything and can start again from scratch. :thumbsup: Link to comment Share on other sites More sharing options...
Winterchild Posted April 21, 2005 Share Posted April 21, 2005 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.