Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cant seem to get the banner to show


nihanshe

Recommended Posts

Posted

Hi if anyone can point me in the right direction it would be great.

As follows what I have done

1.created a banner in photshop

2. uploaded it to /home/**********/public_html/catalog/images/banners/myimage.jpg

3. Banner Title:mytitle

4. Banner URL:http://www.mysite/index.php

5. Banner Group:468x65

6. Image: browse: for image in my root directory

the staus is set to green

 

Then I updated the info and it read at the top in green: Success: The banner has been updated.

 

but when ig to view the banner it's not showing there,is there something else I have to do.

would be great if I can get some help on this.

Regards Mervyn

Posted
Hi if anyone can point me in the right direction it would be great.

As follows what I have done

1.created a banner in photshop

2. uploaded it to /home/**********/public_html/catalog/images/banners/myimage.jpg

3. Banner Title:mytitle

4. Banner URL:http://www.mysite/index.php

5. Banner Group:468x65

6. Image: browse: for image in my root directory

the staus is set to green

 

Then I updated the info and it read at the top in green: Success: The banner has been updated.

 

but when ig to view the banner it's not showing there,is there something else I have to do.

would be great if I can get some help on this.

Regards Mervyn

 

got it sorted thanks.

Mervyn

  • 1 month later...
Posted

how did you get this to work, i am having the same trouble i fill in the banner info in the admin panel, everything is a go. I checked my server files catalog/images/banners/ and the images are there but in the main index they do not appear.

Posted
how did you get this to work, i am having the same trouble i fill in the banner info in the admin panel, everything is a go. I checked my server files catalog/images/banners/ and the images are there but in the main index they do not appear.

 

Yes, please let us know what you did to resolve this. I am experiencing the same thing.

 

Thanks...

Posted
Yes, please let us know what you did to resolve this. I am experiencing the same thing.

 

Thanks...

 

Got ours working. Somehow, we were missing all code for Banner in /includes/footer.php. Must have been from something we applied in the past....Anyhow, just downloaded the original osCommerce package and copied the code below into the footer and everything works perfectly now!

 

<?php
 if ($banner = tep_banner_exists('dynamic', '468x50')) {
?>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
<td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
 </tr>
</table>
<?php
 }
?>

Archived

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

×
×
  • Create New...