zaglebie Posted January 13, 2012 Share Posted January 13, 2012 Is it possible to block module not from only one of CMS pages ? I know how to exclude module from all CMS pages (exclude cms.php) but how about only one of pages that i've created ? Link to comment Share on other sites More sharing options...
tomerg3 Posted January 14, 2012 Share Posted January 14, 2012 You will have to modify the module itself, the function for the hook/s you want to block, and add the following at the top if ((int)Tools::getValue('id_cms') == x) // x is the cms id return; Link to comment Share on other sites More sharing options...
zaglebie Posted January 14, 2012 Author Share Posted January 14, 2012 it worked perfectly - THANK YOU problem solved Link to comment Share on other sites More sharing options...
tomerg3 Posted January 14, 2012 Share Posted January 14, 2012 Glad I could help, you should add [solved] to the title of the first post. Link to comment Share on other sites More sharing options...
Werkshai Posted May 16, 2012 Share Posted May 16, 2012 Guys.. did you add that code to the top of the adsense php file? What else did you do? I can't get it to work Link to comment Share on other sites More sharing options...
Recommended Posts