Alugo Posted February 19, 2009 Share Posted February 19, 2009 I put up an HTML banner, and it doesnt show on my site. Am I doing something wrong. All I did was copy n paste a custom HTML code. What do I do Now? or should I Change it? Link to comment Share on other sites More sharing options...
jacdesigner Posted February 27, 2009 Share Posted February 27, 2009 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 More sharing options...
jacdesigner Posted March 3, 2009 Share Posted March 3, 2009 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.