osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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


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 11-21-2003, 10:21 AM
Lurker
 
Join Date: Jan 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ritalcnyc
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 11-21-2003, 11:54 AM
Lurker
 
Join Date: Jan 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ritalcnyc
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
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


All times are GMT -8. The time now is 12:18 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax