Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Categories question


westmidsguy

Recommended Posts

Posted

My link

if you go on the categories and click kneipp you will see there are images with the x sign on? how do i rectify this?

 

also when i click on for example here My link

 

there is a // showing and a x symbol for a picture on index.php how do i solve that?

 

many thanks

Posted

The issue is in your index.php file

 

1) the //: You tried to comment something out in html using this //. Thats not possible. Find this line and remove the // in front

  //<td class="pageHeading">            </td>

It is very possible that you have this 3 times in your index.php file, on a virgin file you can find it in lines 66, 232 and 290

 

2) You don't have any category images uploaded, thats why the emty image with x. You can do following

2.1) Upload category images

2.2) Set the category images to have a size of 1x1 pixel (go to admin>configuration>images) Thats not recommended in general, but you can do it if you plan to use category images in the near future

2.3) Find this line in your index.php

            <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

and change it to this

            <td class="pageHeading" align="right"><?php //echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

For the other images (that are also category images find this line

      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";

and comment it out

Archived

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

×
×
  • Create New...