Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 2 of 2

Thread: Manufactures Box- Image instead of text link

  1. #1
    Anonymous
    Guest


    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

  2. #2
    Anonymous
    Guest


    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.

Similar Threads

  1. Adding an image next to the name link at allprods.tpl.php
    By icecold in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 07-19-2005, 03:08 AM
  2. printable catalog link and image removal problem...
    By tam283 in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 03-28-2005, 03:44 PM
  3. Use a gif image instead of text in boxes
    By rocket_rob in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-03-2004, 04:56 AM
  4. bad image link it catagories?
    By Anonymous in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 12-01-2002, 10:09 AM
  5. Adding product image to category link
    By ramonjaime in forum osCommerce 2.2 Modification Help
    Replies: 4
    Last Post: 11-21-2002, 06:34 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •