Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Infobox on index page only


Recommended Posts

I would like to display an infobox on the main index page only. I looked the default infoboxes and noticed that they used "basename($PHP_SELF)"

when displaying the tell_a_friend, specials, currency, and languages boxes. So I adapted that idea to what I would like to do, and this is what I have so far in my column_right.php:

  if (basename($PHP_SELF) == FILENAME_DEFAULT){
include(DIR_WS_BOXES . 'links.php');

The problem is that it is displayed on my product listing pages as well, but not on the actual product pages them selves nor on any other page. How can i remove this box from my product listing pages, but keep it on my main index page?

Any help would greatly appreciated,


Link to comment
Share on other sites


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

  • Create New...