1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

URL of topic

Discussion in 'XenForo Questions and Support' started by najaru, Oct 8, 2010.

  1. najaru

    najaru Active Member

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

    Thanks
     
  2. najaru

    najaru Active Member

    find, thanks
    {xen:link 'canonical:threads', $thread}
     
  3. Jake Bunce

    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>
    
     
  4. najaru

    najaru Active Member

    yes thanks :)
     

Share This Page