XF 2.1 How to display parent forum url in thread view?

CNK

Active member
I want to display a link to the forum where the thread is posted.

I display the forum name using {$ thread.Forum.Node.title}.

How do I can display a link to this forum?
 
Solution to my problem:
Code:
<a class="thread-category" href="{{ link('forums', $thread.Forum) }}">{$thread.Forum.title}</a>

Greetings! ;-)
 
This helped answer a similar question I had, but it spawned another question. Is there a page (presumably the manual) where one can find more custom code like that? I have found template tags, but unless I missed something, nothing along the lines as above.
 
Back
Top Bottom