New Zenner
- Join Date:
- Feb 2007
- Posts:
- 38
- Plugin Contributions:
- 0
Turning off columns on selected pages
I'm not familiar with php syntax and am trying to follow the tutorial on this page
I've successfully turned off the right column (the left is globally turned off already via admin) on the contact us and privacy pages, but I can't seem to get it to dissapear on the category pages. I want it off on the main subcategory page and the individual product listing. I'm pretty sure it has to with me not naming correctly. This is what I have (the first chunk works the second no.)
if (in_array($current_page_base,explode(",",'contact_us,privacy')) ) {
$flag_disable_right = true;
$flag_disable_left = true;
}
if (in_array($cPath,explode(",",'3,8')) ) {
$flag_disable_right = true;
$flag_disable_left = true;
}
```Any help is appreciated!
Jessica
[www.thepearltrader.com](http://www.thepearltrader.com)
Jessica