View Full Version : how do i make an infobox hidden on some pages but not all?

12-14-2005, 03:17 PM
how do i make one or two infobox only active in somepages
for example i want the affiliate box to show only in main page and not in products info page?

:?: :?: :?:

03-01-2006, 09:28 AM
hmm i still dont know how to do this.

someone could pls tell me.

i want to hide affiliate infobox in 1st page just like review infobox, where is it being called.

Thanks in advance


03-02-2006, 01:43 AM
I haven't done this, but go into includes/boxes/ and edit affiliate.php
locate this line

include (bts_select('boxes', $box_base_name)); // BTS 1.5
That's what displays the box. If I were trying to NOT display this box on the index.php page I would just put an if-then statement around it that looked to see what page I was on and then only display if the page wasn't index.php )or whatever your default homepage may be).