We use OJS 126.96.36.199.
In order to display some informations that aren’t provided out-of-the-box in some pages of our journals, we added functions in our themes to pass data to templates by using the event TemplateManager::display, and it works fine. We passed for example a variable in template “primaryNavMenu.tpl”.
However, we noticed somewhere where it is not working.
When a user registers in a journal, there is a redirect via the template “frontend/pages/message.tpl” to display a message of confirmation. The event TemplateManager::display seems to not be called in this template and it generates an
error. There is error in error_log file which indicates that variable in “primaryNavMenu.tpl” doesn’t exist.
Do you knwow how to solve this problem ?
Thanks in advance for your answer.