Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how do I get a box to only show on index.php


clarocque

Recommended Posts

Try:

 

if ((basename($_SELF) == FILENAME_DEFAULT) && (!isset($cPath))) {
   require(DIR_WS_BOXES . 'banner_125-115cds.php');
}

 

100% untested, as I just wrote this out for you. Play around with it and see how you go.

 

hth

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...