URL of topic

najaru

Active member
Hi.
How can I obtain the url of topic when i am in topic view?
What is the variable?

Thanks
 

Jake Bunce

XenForo moderator
Staff member
Do you mean the thread_view template? Use this to generate the link:

Code:
{xen:link threads, $thread}
For example:

Code:
<a href="{xen:link threads, $thread}">{$thread.title}</a>
 
Top