Check required hooks

This module requires three hooks to operate properly:

  • displayAfterTitleTag

  • displayAfterBodyOpeningTag

  • displayBeforeBodyClosingTag

During the installation process, these hooks should be installed automatically if the module has access to the theme files.

Please note. The displayAfterTitleTag is non-standard hook. The module will modify /templates/_partials/head.tpl file of your theme to add this hook.

You can check the status of required hooks in the "Check required hooks" section of the module configuration page:

Check required hooks - module settings

If some hooks are not found

If some hooks are not found in your template, you can add them manually.

Hook displayAfterTitleTag should be placed just after closing </title> tag. Usually this tag placed in the /templates/_partials/head.tpl file of your theme. Please check the following image of the correct placement of the hook:

/templates/_partials/head.tpl template

Hooks displayAfterBodyOpeningTag and displayBeforeBodyClosingTag usually placed in the /templates/layouts/layout-both-columns.tpl:

/templates/layouts/layout-both-columns.tpl template

Last updated