herwaldi Posted April 21, 2016 Share Posted April 21, 2016 Hello, just starting my adventure with PS, I have a problem with adding a new position (HOOK) I add in plku FrontController.php 'HOOK_displayLang' => Hook :: exec ('displaylang') [/ code], I put HOOK on header.tpl but in the Admin Panel do not see this position I would add that I have also adds database column ps_hook corresponding record. What I have to do to position appeared in PA? Do I have to define it with the appropriate plugin (it too did not work). I would like to position've noted PA so I can myself there post what I want. Greetings Marcin Link to comment Share on other sites More sharing options...
tuk66 Posted April 27, 2016 Share Posted April 27, 2016 You should call the registerHook method in your module. $this->registerHook('displaylang') Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now