Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banners Dont show


Alugo

Recommended Posts

  • 2 weeks later...

I am having the same problem and I cannot figure out why. I have followed all of the standard steps for implementing banner groups, banner ads (tried both image and an html), and inserting the code snippets into the templates. For whatever reason they just will not show up on the site.

 

Version is osCommerce 2.2-MS2

The site is located at www.cameochocolates.com

I am using a simple custom template by Algozone.

 

I have attempted to add the following code (per faq and per some posts in forum) to header.php and to index.php.

The banners were turned to green/active.

They just do not display at all on the site.

 

First I tried this code:

---

 

<!--Banner Insert Code--><?php

echo tep_display_banner('dynamic', '468x50');

?>

 

---

 

I also tried another slightly different snippet from someone in the forums. Still nothing.

I have tried placing this within the table cell of an area on the index, as well as above the body in a div. The owner of this site prefers the banners to show up at the very top of the site design.

 

Please any advice appreciated! I usually code with ZenCart so I am not as familiar with basic osCommerce.

Link to comment
Share on other sites

I figured this out on my own, and with some tips from another template developer. It turns out I was placing the banner code in the wrong header file located under /catalog. The appropriate header file is in /catalog/includes.

 

 

I am having the same problem and I cannot figure out why. I have followed all of the standard steps for implementing banner groups, banner ads (tried both image and an html), and inserting the code snippets into the templates. For whatever reason they just will not show up on the site.

 

Version is osCommerce 2.2-MS2

The site is located at www.cameochocolates.com

I am using a simple custom template by Algozone.

 

I have attempted to add the following code (per faq and per some posts in forum) to header.php and to index.php.

The banners were turned to green/active.

They just do not display at all on the site.

 

First I tried this code:

---

 

<!--Banner Insert Code--><?php

echo tep_display_banner('dynamic', '468x50');

?>

 

---

 

I also tried another slightly different snippet from someone in the forums. Still nothing.

I have tried placing this within the table cell of an area on the index, as well as above the body in a div. The owner of this site prefers the banners to show up at the very top of the site design.

 

Please any advice appreciated! I usually code with ZenCart so I am not as familiar with basic osCommerce.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...