quendi Posted November 25, 2013 Share Posted November 25, 2013 Hello,I question whether in PS 1.5.x, can be disable the module on a specific category. I have three different blocks and I would like to display each in its category only.The PS 1.4.x one could make an exception by writing category.php? Id_category = X.How to do it in 1.5?Or is it possible to make it display some set {if}? I did so:{if $ id_category == 12} style = "display: none" {/ if}but as a display module, so the displays still. Link to comment Share on other sites More sharing options...
vekia Posted November 25, 2013 Share Posted November 25, 2013 with default exceptions feature you can't, you can do it only with code modifications you also tried wrong code. try with something like: {if isset($smarty.get.id_cat)} {if $smarty.get.id_cat ==5} style="display:none;" {/if} {/if} Link to comment Share on other sites More sharing options...
quendi Posted November 25, 2013 Author Share Posted November 25, 2013 At which point I insert? Link to comment Share on other sites More sharing options...
vekia Posted November 25, 2013 Share Posted November 25, 2013 where the block with your module is defined (in .tpl file) something like <div CODE HERE> </div> Link to comment Share on other sites More sharing options...
Recommended Posts