New Zenner
- Join Date:
- Nov 2008
- Posts:
- 71
- Plugin Contributions:
- 0
Post #21 by ktomas
OK, I've been able to disable specific items on the home page as desired, however, it's disabling the elements on too many pages.
I used the following code
if (in_array($current_page_base,explode(",",'index')) ) {
$flag_disable_left = true;
}
Which is successful in hiding the left sidebox on the home page, but it's also hiding it on the subsequent pages that lead up to the first product.
Take a look
HOME PAGE --> sidebox correctly disabled.
DESIGN YOUR OWN --> sidebox INCORRECTLY disabled
This continues until you navigate to a product. If you'd like to follow along, use RINGS/GOLD BAND as your product.
CUSTOM RING GOLD BAND --> sidebox correctly displayed