Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Showing Categories as graphical links in main area


5tevooo

Recommended Posts

Posted

Don't know if anyone can help. I want to have graphical icons as my category links, placed in the main body of the front page rather than just stuck in the top left infobox as text links.

 

I have worked out how to add images to the main area (by adding a simple HTML table to languages/english/default.php), but I don't know what php code I need to incorporate into it to get the links to work.

 

The code in languages/english/default is as follows...

 

define('TEXT_MAIN', 'Welcome to the store. Click on any of the following categories to find out more. <br>

<table width="330" align="center">

<tr>

<td><div align="center"><img src="images/category1.gif" width="100" height="75"></div></td>

<td><div align="center"><img src="images/category2.gif" width="100" height="75"></div></td>

<td><div align="center"><img src="images/category3.gif" width="100" height="75"></div></td>

</tr>

</table>

 

Any help appreciated, thanks.

Archived

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

×
×
  • Create New...