Results 1 to 2 of 2

SHOP_NAME -- swap an image for the text

This is a discussion on SHOP_NAME -- swap an image for the text within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I am a complete newbie with PHP, and I was wondering if anyone could point me in the right direction: ...

      
  1. #1
    Lurker
    Join Date
    Jan 2003
    Posts
    3
    Rep Power
    0


    Default SHOP_NAME -- swap an image for the text

    I am a complete newbie with PHP, and I was wondering if anyone could point me in the right direction: I would like to use a .gif file for my shop name on my index.php page.

    Right now, in the header.php file it says:

    <?php echo tep_image(DIR_WS_IMAGES . STORE_LOGO, STORE_NAME); ?>

    (where I realize that STORE_NAME is grabbed from the configuration admin panel)

    and in place of STORE_NAME I would like to insert the image "tss.gif"

    Could someone tell me how to do this? It would help me with the headers on the subsequent pages.

    Much thanks in advance,

    Rita

  2. #2
    Lurker
    Join Date
    Jan 2003
    Posts
    3
    Rep Power
    0


    Default

    I figured it out.

    SHOP_NAME was just going to be inserted as the title of my logo image.

    I actually found what I wanted further down in index.php where I replaced the line:

    <td class="pageHeading"><?php echo HEADING_TITLE; ?>

    with

    <td class="pageHeading"><?php echo tep_image(DIR_WS_IMAGES . 'tss.gif'); ?></td>

    AND IT WORKED!

Similar Threads

  1. Header Image Hover Text "oscommerce taken to the max&qu
    By kelly34 in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 09-07-2005, 10:00 AM
  2. Help Changing infobox headings from text to an image
    By seandon01 in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 12-31-2004, 03:08 PM
  3. newbie. problem with replacing a text with an image
    By techan in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 05-19-2004, 03:36 PM
  4. 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
  5. Manufactures Box- Image instead of text link
    By Anonymous in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 10-18-2002, 12:25 PM

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
  •