socialpilgrim Posted September 2, 2012 Share Posted September 2, 2012 (edited) Hi all, I am in big problem, installed prestashop 1.4.9, installed Multiblock, I can see in ps_hook, it is hooked in tables, whiledebugging Module:hookExec, I can see it is iterating thru all LeftColumn hooks, but not showing in UI. I have created 3 hooks, header, leftcolumn,footer. It was earlier working in 1.4.7.3 I upgraded due to category not showing bug . Thanks in advance. Edited October 4, 2012 by socialpilgrim (see edit history) Link to comment Share on other sites More sharing options...
socialpilgrim Posted September 2, 2012 Author Share Posted September 2, 2012 I have resolved the issue but not sure if it the right fix. I tampered Module.php class , before - if (method_exists($moduleInstance, 'hook'.$hook_name)) after - if (is_callable(array($moduleInstance, 'hook'.$hook_name))) Gurus please let me know the difference . thanks Link to comment Share on other sites More sharing options...
phrasespot Posted September 3, 2012 Share Posted September 3, 2012 I tampered Module.php class Gurus please let me know the difference I am no [spam-filter] by any means but modifying a PrestaShop class to make a module work is a bad idea. Contact the developer and get it fixed Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted September 3, 2012 Share Posted September 3, 2012 Hi socialpilgrim, As I mentioned in the other thread if you have a purchased copy of Multi Block please submit a support ticket to receive the latest version of the module. What you have stated above is not advisable at all and will give undesirable effects in the future. As phrasespot mentioned above, it is a very bad practice to modify PS core files just to make a module work. What if you have another module that needs those methods in order to function properly? You can create a rather significant problem by modifying core files. The best solution is to contact our customer support in order to receive the latest version of Multi Block which is fully compatible with PS 1.4.9 and does not require modifying any PS core files. Thanks! Marty Shue Link to comment Share on other sites More sharing options...
socialpilgrim Posted September 11, 2012 Author Share Posted September 11, 2012 I am no [spam-filter] by any means but modifying a PrestaShop class to make a module work is a bad idea. Contact the developer and get it fixed Thanks phrasespot, my site is designed by some xyz and that time he gave me this module, so I don't have license or purchase receipt now he is not touch with me any more. Not sure is I still get the latest Module, so I tampered Module.php. Link to comment Share on other sites More sharing options...
Recommended Posts