I found this post from @baris (https://community.nodebb.org/topic/5942/ajaxify-variables-get-deprecated) that says the .get('name') approach has been deprecated and that this style is current:ajaxify.data.tickettypes
Render current URL in template file
I am in the process of developing a NodeBB theme, and was wondering if it is possible to get the current URL in a .tpl file. Maybe something like
Thanks for the help!
rod last edited by
@geek Try with
It will be available in all routes, you can use it with