Then you can use
if ($current_page_base == 'index' and in_array($cPath, explode(',', '175,189,213,345_7788,666,501'))) {
listing all the cPaths separated by commas, with no spaces.
Then you can use
if ($current_page_base == 'index' and in_array($cPath, explode(',', '175,189,213,345_7788,666,501'))) {
listing all the cPaths separated by commas, with no spaces.
This is the code I've entered:
and I have put this code into my tpl_index_default.php in my overrides folder, however the sideboxes are still showing up on the 2 categories I entered (174, and 175)HTML Code:if ($current_page_base == 'index' and in_array($cPath, explode(',', '175,174'))) { $flag_disable_right = true; }
If I'd like to hide the right column from all, except home page, ezpages and say one category (id 7)
How would I code that?
Thanks
v1.5.6c
https://partydudes.co.nz
PHP Code:if ($this_is_home_page or ($current_page_base == 'page') or ($current_page_base == 'index' and $cPath == '7')) {
//show right col
} else {
$flag_disable_right = true;
}
Terrific thanks![]()
v1.5.6c
https://partydudes.co.nz