Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Using Images as links to Categories and Manufacturers


chillz

Recommended Posts

Hi All

 

I have created a tab bar in the home page header (../catalog/includes/header.php) with some labeled gifs ("bags", "shoes" etc) that I wish to use as links to the categories (Basically the same functionality offered by the links in the Categories box) . I have also placed some images in the body (../catalog/includes/languages/english/index) that I wish to use as links to the Categories as well.

 

Additionally, I also want to use some manufacture logos that I have placed in the body of the home page as as links, to complement the Manufacturers dropdown menu.

 

I am totally new to this and have tried without success to use my images as links to the Category and Manufacture items. I would be extremely grateful therefore if anyone could assist.

 

 

Cheers

Link to comment
Share on other sites

Incidentally, the images were placed on the page using code found in the respective scripts e.g

 

 

Header section (tab bar in ../catalog/includes/header.php)

<td align="center" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'tab_bar/tabname.gif, 'Page Name') . '</a>'; ?></td>

 

 

 

 

Currently, the tabs are just linking back to the shop's homepage.

 

 

Body section images & logos (in ../catalog/includes/languages/english/index.php)

 

<td align="center" valign="middle" style="border: olive 2px solid";>

' . tep_image(DIR_WS_IMAGES . 'default/categories/imagename.gif') . '

<br> <font size="1">imagename </font></br>

</td>

 

 

(I tried to edit the original message to include this but got an error so I posted this part here)

 

Cheers

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...