This is a discussion on Manufactures Box- Image instead of text link within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; hello all. I am hoping to get a response from this, it is quite urgent... as the tilte says, I ...
| |||||||
| Register | FAQ | Donate | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| hello all. I am hoping to get a response from this, it is quite urgent... as the tilte says, I only have one Manufacturer, and instead of displaying a link to the Manufacturers page in text (this is the box that is in the left_column.php file), I want to make it as a clickable image that directs you to the page... I searched everywhere for an answer to this, and did notice several people asking the same thing but never a response?? can anyone please help?? thx in advance |
|
#2
| |||
| |||
| Ok figured it out... open the \catalog\includes\boxes\manufacturers.php look for this code: // Display a list $manufacturers_list = ''; while ($manufacturers_values = tep_db_fetch_array($manufacturers_query)) { $manufacturers_list .= '<a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $manufacturers_values['manufacturers_id'], 'NONSSL') . '">' . substr($manufacturers_values['manufacturers_name'], 0, MAX_DISPLAY_MANUFACTURER_NAME_LEN) . '</a><br>'; CHANGE THE ABOVE CODE TO THIS: // Display a list $manufacturers_list = ''; while ($manufacturers_values = tep_db_fetch_array($manufacturers_query)) { $manufacturers_list .= '<div align="center"><a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $manufacturers_values['manufacturers_id'], 'NONSSL') . '">' . '<img src="/catalog/images/boxes/NAME_OF_YOUR_IMAGE.gif" width="112" height="132" border="0"></a><br>'; You will now have an image of your choice centered in the Manufactuerer's box. |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding an image next to the name link at allprods.tpl.php | icecold | osCMax v2 Customization/Mods | 0 | 07-19-2005 04:08 AM |
| printable catalog link and image removal problem... | tam283 | osCMax v1.7 Discussion | 1 | 03-28-2005 03:44 PM |
| Use a gif image instead of text in boxes | rocket_rob | osCommerce 2.2 Modification Help | 1 | 02-03-2004 04:56 AM |
| bad image link it catagories? | Anonymous | osCommerce 2.2 Modification Help | 1 | 12-01-2002 10:09 AM |
| Adding product image to category link | ramonjaime | osCommerce 2.2 Modification Help | 4 | 11-21-2002 06:34 PM |