Tried to use the global variable {CURRENTURL} in templates/multilingual/viewcomments.tpl and it appears not to work. Same for templates/multilingual/noaccess.tpl (and maybe more?). The global variable {TID} does work however and contains the mentioned templates.
Actually I was using the global variable in {LANG_COMMENTS_CANTPOST} and {LANG_NOACCESS} that in their turn were used in the actual templates. Putting the {CURRENTURL} directly in the template file worked for me. Still odd that it worked for {TID}.
Comments on https://www.webmastersite.net/forums/sugg
Usergroup: Customer
Joined: Jan 21, 2004
Total Topics: 7
Total Comments: 10
Tried to use the global variable {CURRENTURL} in templates/multilingual/viewcomments.tpl and it appears not to work. Same for templates/multilingual/noaccess.tpl (and maybe more?). The global variable {TID} does work however and contains the mentioned templates.
Usergroup: Customer
Joined: Jan 21, 2004
Total Topics: 7
Total Comments: 10
Actually I was using the global variable in {LANG_COMMENTS_CANTPOST} and {LANG_NOACCESS} that in their turn were used in the actual templates. Putting the {CURRENTURL} directly in the template file worked for me. Still odd that it worked for {TID}.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
So far as I know variables do not as a general case work in language items, though they sometimes do where applicable.