Jump to content

[Solved]Multiblock not working in prestashop 1.4.9


Recommended Posts

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.

post-338275-0-96469100-1346577386_thumb.png

Edited by socialpilgrim (see edit history)
Link to comment
Share on other sites

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

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

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

×
×
  • Create New...