how to call only blocktopmenu module in prestashop -


can tell me how call blocktopmenu module in prestashop...if use displaytop hook calls various other modules along it..but want call blocktopmenu..is possible create object of blocktopmenu class , access hookdisplaytop() of class..so can avoid other modules...i tried not working

when try implement

call module in tpl file in prestashop

it shows "this module cannot transplanted hook."

when call hook::exec() can specify module id in 3rd parameter. that:

hook::exec('displaytop', null, module::getmoduleidbyname('blocktopmenu'));

regards,


Comments

Popular posts from this blog

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

Android Gson.fromJson error -