Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Search and Destroy


cxw

Recommended Posts

Hi Everyone.

 

I'm having a problem finding where all of the bits and pieces that make up a particular display are located so I can modify them.

 

For example: when I wanted to remove the "missing image red X placeholder" for the included graphic that was displaying in the middle box along with "Let's See What We Have Here".

 

I right-clicked the displayed page and viewed the source. After a bunch of searches I finally located it in two places:

 

Define Header_Title in catalog\includes\languages\english\tndex.php, and then, based on that,

I finally found <td align="right><image src= "images/"... in catalog\index.php.

 

Unfortunately, I'm new to both PHP and HTML and am probably going about the searching and destroying/modifying the very long/wrong way but is there a document pertaining to osCommerce that lays out the structure of how these page displays are constructed?

 

Please somone(s) point me in the right direction...

 

Thanks!!

 

cxw

Link to comment
Share on other sites

The code to display graphics is usually in the file located in the root of the shop. The text for the page is in the languages directory.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

For example: when I wanted to remove the "missing image red X placeholder" for the included graphic that was displaying in the middle box along with "Let's See What We Have Here".

 

cxw

 

Lets see if I can remember, not sure if its the same issue I had or not but you can try this.

admin->configuration->images-> Image required (set it to false.)

 

Hope that helps.

Chris.

Link to comment
Share on other sites

The code to display graphics is usually in the file located in the root of the shop. The text for the page is in the languages directory.

 

Jack

 

Thanks, but when you say "the file located in the root...", which file?

 

cxw

Link to comment
Share on other sites

Lets see if I can remember, not sure if its the same issue I had or not but you can try this.

admin->configuration->images-> Image required (set it to false.)

 

Hope that helps.

Chris.

 

Thanks.

 

cxw

Link to comment
Share on other sites

Thanks, but when you say "the file located in the root...", which file?

 

cxw

It depends on the page. If you are viewing the privacy page, then it is the privacy.php file. If you are viewing the contact us page it is the contact_us.php file. See the pattern?

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

It depends on the page. If you are viewing the privacy page, then it is the privacy.php file. If you are viewing the contact us page it is the contact_us.php file. See the pattern?

 

Jack

 

Yes I do and it makes sense... Thank You!

 

cxw

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...