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?
![]()
![]()
![]()
This is a discussion on how do i make an infobox hidden on some pages but not all? within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; how do i make one or two infobox only active in somepages for example i want the affiliate box to ...
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?
![]()
![]()
![]()
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
Eric
I haven't done this, but go into includes/boxes/ and edit affiliate.php
locate this line
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).Code:include (bts_select('boxes', $box_base_name)); // BTS 1.5
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
Bookmarks