Last Updated 9 months ago

How to put a hook from a module into a template?

To place the hook in the .tpl file, go to edit the hook:

image


In the "Display in" option, select "tpl file":

image


save the changes:

image


then use the tag:
{hook h='PShowBlogGetHook' id_hook='1'}

in the variable "id_hook", enter the ID number of the hook:

image

Please Wait!

Please wait... it will take a second!

Kliknij by skopiować