rkteach Posted January 12, 2004 Share Posted January 12, 2004 Hi, heres a simple question, my store works fine but now i need the banners to appear in other pages of my site, all osc is in a directory catalogs. Ive tried to use the footer.php as an include but if the page is not in the catalog directory i get erros Please help Link to comment Share on other sites More sharing options...
1quicksi Posted January 12, 2004 Share Posted January 12, 2004 I would forgo the rudementry banner system of OSC and use phpAdsNew B) knowledge base | Contributions | Search Link to comment Share on other sites More sharing options...
rkteach Posted January 12, 2004 Author Share Posted January 12, 2004 <_< Thanks that a good idea But the other banner scripts are to complicated for my client to manage. all I need is the banners to display and be tracked on php pages that are not in the root of the catalog. Help! Link to comment Share on other sites More sharing options...
aarontb Posted January 13, 2004 Share Posted January 13, 2004 Try using Server Side Includes (SSI) Link to comment Share on other sites More sharing options...
rkteach Posted January 13, 2004 Author Share Posted January 13, 2004 :( I tried using the includes/footer.php as an include but i get an error requir(DIR_WS_INCLUDES . 'footer.php') I even tried to change to requir ('catalog/footer.php') but sitill get an error HELP! Link to comment Share on other sites More sharing options...
Guest Posted January 25, 2004 Share Posted January 25, 2004 I tried using the includes/footer.php as an include but i get an error requir(DIR_WS_INCLUDES . 'footer.php')I even tried to change to requir ('catalog/footer.php') but sitill get an error HELP! First off, it would be something like require('../catalog/includes/footer.php) (note "require" is spelled with a final "e" ;) ) but this still is not enough, since the footer needs files that are called from application_top.php. Try the contribution SHOW BANNERS which should work for your needs. It can be found at: http://www.oscommerce.com/community/contributions,1381 Good Luck! Phil Link to comment Share on other sites More sharing options...
rkteach Posted January 27, 2004 Author Share Posted January 27, 2004 Hey Thanks that did it!!! yuda man Phil! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.