Guest Posted December 15, 2005 Posted December 15, 2005 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. <?php 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? Thanks.
Guest Posted December 15, 2005 Posted December 15, 2005 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.