I have a question about turning off the sideboxes on the right hand column for all category and product listing pages.

I have read the tutorial here:
https://www.zen-cart.com/tutorials/i...hp?article=233

it helps but because not clued up on php, havent got it quite right. There are some sort of relevant posts in the forum but most people want to do the opposite to what I want.

WHAT I WANT TO DO: when people are actually shopping, I want the layout really clean with everything in the right hand column turned off. But if they are just at the home page or viewing an information page, I want these boxes to be visible.

I have the tpl_main_page.ph copied to an override folder and the following edits:

if ($current_page_base == 'product_info' and $products_id >= '') {
$flag_disable_right = true;

this code takes out the sideboxes on the product listing and product information pages. This is GOOD.

if (in_array($cPath,explode(",",'')) ) {
$flag_disable_right = true;

This is the bit I'm having trouble with - I can add in the individual category numbers to turn the boxes off for a single category (going by the tutorial example) but not sure what to use to turn them off for ALL categories.

If I cant work this out, I can revert back to my original plan of turning off the right hand column globally which is 95% there but hoping to tweak it a bit. Sorry for such a noob question but hopefully someone can point me in the right direction.

Site is set to maintenance but can make it visible if required.

cheers
Leah