Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I want to show infobox only on Index.php


julianpuje

Recommended Posts

Does anybody know how to the code should look in my column_right.php so my information box only shows on the index page. I know how to do it the other way around where a box appears when you view a product using the IF, product_id, Include statements, etc. but not this way.

Any help appreciated.

 

TIA

 

Julian

A little knowledge is dangerous, I SHOULD KNOW.

If Life Begins At 40, What ends????

Link to comment
Share on other sites

Does anybody know how to the code should look in my column_right.php so my information box only shows on the index page. I know how to do it the other way around where a box appears when you view a product using the IF, product_id, Include statements, etc. but not this way.

Any help appreciated.

 

TIA

 

Julian

 

 

if (

(!isset($HTTP_GET_VARS['cPath'])) and

(stristr(basename($PHP_SELF),'index'))

) {

require(DIR_WS_BOXES . 'xxxxxx.php');

}

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...