Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Which file is responsible for


fut

Recommended Posts

How did you upload the files to the server, what computer are you using and which O/S?

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

The reason I asked about the computer is that some older systems truncate long file names and osC images have some very long ones. I had that problem years ago.

 

So if the archive is decompressed on the local machine and the file names "clipped" they won't be found. The easiest way to find out what they are is to visit the demo store here and examine the images where yours are missing, then you'll know what to look for.

 

Here's the demo store: http://www.oscommerce.com/osCommerce22ms2/

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

Hi Alan,

 

If you loko here:

http://www.oscommerce.com/osCommerce22ms2/index.php?cPath=1

 

Those several funky drawed sub category pictures are msising on my store.Look here to see what I mean:

http://www.crazyjordans.com/nike-air-jordans-c-24.html

 

I'm still not sure where to look, sadly. I can see the HTML and what code is creating these, but I'm not sure about the PHP. Do you know what file i'm talking about?

 

Thanks.

Link to comment
Share on other sites

Most folks don't like the little "funky drawed sub category pictures".

 

I think that the code you're looking for is in catalog/indes.php, line 104 in stock code, as follows:

      echo '                <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br>' . $categories['categories_name'] . '</a></td>' . "\n";

 

-jared

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...