Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banners


energy

Recommended Posts

I know this question has already been asked, but I never found the final answer... How do I change the os commerce banner to my banner? I tried the banner manager, but every banner I put in there ends up in the footer. Also everytime I try to save it to //images/banners it says that these files don't exist. I know they do because I can see them. Also, don't know if this has to do with it or not, but when I'm on the banner manager page at the top of my screen "error: graph not writable" appears. Help please!!! I can follow directions very well, but please be kind to a newbie here.

 

P.S. My web host helped to answer the question I say earlier on here. How to get your store to come up with just your domain name instead of your domain name plus your store name. Ex. http://yourdomain.com instead of http://yourdomain.com/Dave's Store

Link to comment
Share on other sites

First off you need to understand that oscommerce term "banner" is not the image at the top of the screen! It is the image at the bottom. Banner management is all about changing that image automatically which facilitates advertising other sites or maybe features of your own. You have the option of an image or text not both.

 

What you are trying to do seems to be referred to as the Logo. There is an image called oscommerce.gif. As people have said the easiest way is to replace the contents of this file with your image. The harder way is to upload your own file and replace references to oscommerce.gif to the name of your file in various places.

 

Your problems with both the Logo and Banner Management have been covered before so do a search. Look for Logo, look for Header, and for Banner Management.

Link to comment
Share on other sites

Thanks for the help. Sorry I got the names confused. I already tried both suggestions thanks. I did find the oscommerce.gif. Tried to replace it with my image, that I had uploaded but I have this error msg. parse error. What does that mean?

Link to comment
Share on other sites

  • 11 months later...

Funny thing happened in my setup. The banner displays at the bottom if and only if I have a text message instead of a graphic.

 

My understanding is that if there is text in the html box, that will supercede the graphic. BUt, if there's no text, I would expect the graphic to show instead.

 

But, perhaps if there was at one time text, maybe it flips some bit in the database

and tells it to look for text forever more. I don't know. I can always try to delete the banner and reset it or do the brute force phpMyAdmin thing.

 

Anyone else encounter this?

 

Thanks,

Dan

Link to comment
Share on other sites

energy,

 

I changed mine just recently. You need to follow the following steps:

 

1. Go to your header.php file

2. Open it in your editor (Notepad or whatever your using)

3. Find the following:

<table border="0" width="100%" cellspacing="0" cellpadding="0">

  <tr class="header">

    <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . '../../images/templogo.jpg', 'WebmasterDesigns.net') . '</a>'; ?></td>

It is approximatley on line number 81-83. I'm not guarenteeing this part but thats what the line number is on mine. (Things vary depending on editors as well as other things)

4. Where I have:

(DIR_WS_IMAGES . '../../images/templogo.jpg', 'WebmasterDesigns.net')
you need to have
(DIR_WS_IMAGES . '../../images/your logo here.jpg or .gif, 'Name of your website goes here')

 

5. See where I said to pur your logo here.jpg or .gif? Do that.

6. See where I said to put name of your website goes here? Do that.

 

Now upload it. If this does not work let me know. Make sure your image is uploaded and the path you put above to it is correct. I hope I have explained this okay and not confused you worse. *LoL* Hope I helped.

Constance Muller

c/o WebmasterDesigns

[email protected]

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...