Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do you turn off the word descriptions


kaos9889

Recommended Posts

How would i turn off the words that is displayed in the catagory menus, under the images?

 

 

test.gif

 

 

as seen in this pic in the red boxes

There are many very useful OsC Contributions

BACKUP BACKUP BACKUP!!! You did backup, right??

And remember if you didnt back up its not a big deal, You

just have to do everything all over again.

Link to comment
Share on other sites

In index.php, round about line 104, find this code

      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 change it to this code

      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) . '</a></td>' . "\n";

by removing

'<br>' . $categories['categories_name'] .

Regards, Wizzud

"It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt."

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...