Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Quick Tip On Helping Yourself


sjb47

Recommended Posts

Hey All,

 

I'm just a newbie at osC myself and lord knows I need as much help as the next guy/gal to learn this stuff and make it happen.

 

With that disclaimer out of the way, I've seen a number of posts on these forums (probably made some myself) where the poster could have found the answer with a really simple method. I'm talking about the kind of question that runs "How do I change <x> to read <y>?"

 

Do a grep or a "find in file" from your text editor over the .php files in your osC directory structure. You'll find the file(s) where the text you want to change is located. Not only will you find your answer, you'll get much more familiar with the code that these wonderful people have written for us, which will help you in the long run.

 

Well, I'll climb down off my soapbox now. Thanks for listening.

 

Steven

Link to comment
Share on other sites

Great tip sjb47 !

 

A note along the same line to anyone using Dreamweaver...

You can select the catalog or admin directory locally in your site window and hit [Ctrl]+F (or from the menu, Edit/Find and Replace)

Search for > source code > enter text into box > find

 

It will open pages with that text string in it :)

 

As a side note, any text bit that has an apostrophe in the store will have a in front of it in the code ie: Let's

(ask me how I know ;) )

 

-caz

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...