How can I create links to other pages and forum sections from a page in XenForo 2?
The following works for pages, but i'm not sure if it's correct:
But the following does not work for forums and adds in a "/-/":
I can see ""{{ link('forums', $node) }}"" used in templates, but couldn't get this to work by subsituting $node for the node id.
The following works for pages, but i'm not sure if it's correct:
Code:
<a href="{{ link('pages/name/') }}">Name</a>
But the following does not work for forums and adds in a "/-/":
Code:
<a href="{{ link('forums/xenforo-questions-and-support.25/') }}">Name</a>
I can see ""{{ link('forums', $node) }}"" used in templates, but couldn't get this to work by subsituting $node for the node id.