Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

banner display problem


Recommended Posts

I am trying to display banners from my banner manager in oscommerce admin. I got this code straight from the knowledgebase on what to put in to display my banners. I put this into the footer.php file.



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



and the error that gets displayed on my browser when the page is loaded is


Fatal error: Call to undefined function: tep_display_banner() in xxxxxx


the x's are where it displays the directory my page is in,



Do I need to declare the function somewhere or has the function been renamed since the knowledgebase article was written?



Link to comment
Share on other sites

its because there is no such function on the admin side. Try copying over the banner.php from the catalog side into the admin functions directory. Then pull it in from the catalog\admin\includes\application_top.php. Not sure if more files will be necessary for this to work.

Link to comment
Share on other sites


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

  • Create New...