osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Manufactures Box- Image instead of text link

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-18-2002, 12:04 PM
Anonymous
Guest
 
Posts: n/a
Default Manufactures Box- Image instead of text link

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 10-18-2002, 12:25 PM
Anonymous
Guest
 
Posts: n/a
Default figured it out...FYI

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -8. The time now is 05:57 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax