@pichalite Ah, you're right. Looks like tpl_url was added in master. Changed the hook to contentLoaded, since end doesn't pass the template in 0.9.x.
Katex plugin problem
Plugin I am using : nodebb-plugin-katex
Oops! Looks like something went wrong!
Failed to lookup view "admin/plugins/katex" in views directory "/home/sub-dir/public_html/subdire/NodeBB/build/public/templates"
Did you rebuild assets after installing it? There is a "rebuild and restart" button in ACP.
Thanks a lot , it worked !!