I have a site/service that is used as both a true shop as well as for services, I have been using ezPages and various custom pages to describe the services. This mostly works out well. However there are cases where I would like to disable the left column completely when you land on specific pages, similar to the way some ordinary CMS's handle this through modules and menus. So, say I have a page like either:
index.php?main_page=page&id=54
or
index.php?main_page=ProductList (this is a custom page similar to 'define_pages' function
And the question, how would I, in which template file, set up a php if/else test such as to not display the left column if page id is xyz or page name = whatever?
<?php if ($id == 99 )
{
// exclude the left colum
}
This will make it much easier to create wide pages talking to the service without the distraction of the left column stuff.


Reply With Quote

