probably a stupid question.. but how do i remove boxes on category page
I can remove the left / right boxes on the index page but how do I remove say the right hand boxes on category and product pages.
ie :
http://oldersoftware.co.uk/index.php...index&cPath=14
I'd like to tidy this up and remove boxes which aren't necessary.
I've tried experimenting but I just manage to screw up the index page!
Thanks
Re: probably a stupid question.. but how do i remove boxes on category page
Admin section - > tools -> Layout boxes controller. You can add / remove each sideboxes you'd like on your site layout.
Re: probably a stupid question.. but how do i remove boxes on category page
Hi there,
thanks for the reply but it didn't really answer my question.
The layout controller affects the box display for the index page - I was wondering if you can change the boxes on the other pages?
On the index page I want boxes on both left and right but on product pages, I don't need all the boxes on the right - can I remove them? If I use the layout controller this will remove the boxes from the main index page presumably?
Phil
Re: probably a stupid question.. but how do i remove boxes on category page
Quote:
If I use the layout controller this will remove the boxes from the main index page presumably?
Incorrect. They will be removed from all other pages as well, since this these boxes are part of the whole site layout when using using the layout boxes controller (unless you have modified the codes manually from the modules overrides and templates overrides). :wink2:
Re: probably a stupid question.. but how do i remove boxes on category page
I thought that was the case. I'll have a fiddle and see what boxes I can live without!
Re: probably a stupid question.. but how do i remove boxes on category page
On your TEMPLATENAME/common/tpl_main_page.php add an exclusion for cPaths to the code up near the top... something like
Code:
if ($current_page_base == 'index' and $cPath >= '') {
$flag_disable_right = true;
}
This should eliminate the right hand column altogether for the category content pages.
Re: probably a stupid question.. but how do i remove boxes on category page
I've got a similar question.
I have ONE category I would like to remove all the sideboxes from.
Is this possible?
Re: probably a stupid question.. but how do i remove boxes on category page
Quote:
Originally Posted by Boggled
I've got a similar question.
I have ONE category I would like to remove all the sideboxes from.
Is this possible?
rework the example above:
Code:
if ($current_page_base == 'index' and $cPath == '33_85') {
$flag_disable_right = true;
}
... where 33_85 is the cPath of your category as shown in the URL when you look at that category in your browser
Re: probably a stupid question.. but how do i remove boxes on category page
Thanks Dr. Byte! I'll give that a try and see if I can get it to work. :smile: