Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banners everywhere


rkteach

Recommended Posts

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

<_< 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

  • 2 weeks later...
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

Archived

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

×
×
  • Create New...