weasel69 Posted August 15, 2013 Share Posted August 15, 2013 How do I hide certain (or all) right side modules on my CMS pages? Link to comment Share on other sites More sharing options...
vekia Posted August 15, 2013 Share Posted August 15, 2013 if you want to hide module on all cms pages you can defnie exceptions for them under the modules > positions tab just click on edit button near the module you want to hide and define exception for it. (cms) Link to comment Share on other sites More sharing options...
weasel69 Posted August 15, 2013 Author Share Posted August 15, 2013 (edited) Actually I would just like to exclude all right side modules, from only 2 CMS pages ... so what do I define the exception? Edited August 15, 2013 by weasel69 (see edit history) Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted August 15, 2013 Share Posted August 15, 2013 u mean right column ? Link to comment Share on other sites More sharing options...
weasel69 Posted August 15, 2013 Author Share Posted August 15, 2013 u mean right column ? yes, all the modules in the right column ... but ONLY on 2 certain CMS pages Link to comment Share on other sites More sharing options...
vekia Posted August 15, 2013 Share Posted August 15, 2013 in this case it will be neessary to modify the module code. Unfortunately, default features don't allow to disable module on certain cms page (only for whole cms pages). you will have to define if condition which will checking the id: something like: {if !$smarty.get.id_catategory==3} MODULE TPL CONTENTS {/if} Link to comment Share on other sites More sharing options...
builders Posted November 22, 2015 Share Posted November 22, 2015 in this case it will be neessary to modify the module code. Unfortunately, default features don't allow to disable module on certain cms page (only for whole cms pages). you will have to define if condition which will checking the id: something like: {if !$smarty.get.id_catategory==3} MODULE TPL CONTENTS {/if} Hello i try to hide the blockcategory module only at one certain category i tried your code but with no luck. How can i do it ? thanks Link to comment Share on other sites More sharing options...
Nyla C. Posted January 21, 2016 Share Posted January 21, 2016 You can hide it with css. Just copy the page ID and divs for the right column modules you want to hide and set display to none. For example, a page who's page ID is 2 would be like so: .cms-2 .mysidebarmodule { display: none; visibility: hidden; } and to hide the sidebar module on two pages at the same time, the css would look like: .cms-2 .mysidebarmodule, .cms-3 .mysidebarmodule { display: none; visibility: hidden; } yes, all the modules in the right column ... but ONLY on 2 certain CMS pages Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now