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: ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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
| |||
| |||
| 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! |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Header Image Hover Text "oscommerce taken to the max&qu | kelly34 | osCMax v2 Installation issues | 2 | 09-07-2005 09:00 AM |
| Help Changing infobox headings from text to an image | seandon01 | osCommerce 2.2 Modification Help | 1 | 12-31-2004 03:08 PM |
| newbie. problem with replacing a text with an image | techan | osCommerce 2.2 Modification Help | 3 | 05-19-2004 02:36 PM |
| Use a gif image instead of text in boxes | rocket_rob | osCommerce 2.2 Modification Help | 1 | 02-03-2004 04:56 AM |
| Manufactures Box- Image instead of text link | Anonymous | osCommerce 2.2 Modification Help | 1 | 10-18-2002 11:25 AM |