Hi
i want to display both side columns on the home/index page
but on all other pages i wanna display only right columns, is
there a way to setup store like this. Please advise.
Thanks in advance!
Hi
i want to display both side columns on the home/index page
but on all other pages i wanna display only right columns, is
there a way to setup store like this. Please advise.
Thanks in advance!
Hey Ajeh!
Please help. I already tried a method i found in one of
the threads but is not working for me. In order to hide left
column on product list page for any category i created a
folder as includes/templates/celltemp/index_product_listing
where celltemp is my_template and copied tpl_main_page.php
to index/product_listing folder and uncommented $flag_disable_left = true;
After all this left column is still visible on product listing page.
Can you please guide how to dissable left column from all the
pages except the main index page. Also if i am able to hide
the left column will the center column extend itself to the left
end on its own or there's more to that.
Your help appreciated
Thanks!
Admin->Tools->Layout Boxes controllerOriginally Posted by akhil
Hey guys thanks for your time and reply, from admin layout
settings i can only set left or right column on or off globally but what
want to achieve is that to hv both columns only on main index page
and hv left column turned off for all other pages. Going through other
threads i found that i hv to override all other pages but the override
system for some reason is not working for me. If someone can guide me
how to override the page taking product listing page for example.
Thanks and eagerly waiting for your reply.
Left and Right columns to be visible on Home Page, but
Left column should be "off" on all other pages.
Edit /includes/templates/YOURTEMPLATE/common/tpl_main_page.php
around line 47 you have:add this above it:PHP Code:$header_template = 'tpl_header.php';
$footer_template = 'tpl_footer.php';
$left_column_file = 'column_left.php';
$right_column_file = 'column_right.php';
PHP Code:if (!($current_page!='index' || (int)$cPath>0)) {
$flag_disable_left = true;
}
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Not really, it's the other way around. It turn it off on main page and is on, on the other pages.Left and Right columns to be visible on Home Page, but
Left column should be "off" on all other pages.![]()
IDEAS Girl
IDEAS Creative Group = Your image... our business!
Yeah DrByte it worked but the other way around. If i use
the code u asked me to add the left column is hidden on main
page and visible on all other pages but should be vice versa. I am
not good with programming and syntax so if you can plz tell
how to have left column on main page and hidden on all other
pages. thanks
Yeah DrByte it worked but the other way around. If i use
the code u asked me to add the left column is hidden on main
page and visible on all other pages but should be vice versa. I am
not good with programming and syntax so if you can plz tell
how to have left column on main page and hidden on all other
pages. thanks
can anybody plz help
how to have left and right column on main page but
hide the left column on all other
pages.
thanks