XF 2.2 New Posts show parent node/forum

Kerby

Well-known member
How can I show links to the parent node (category or forum) on New Posts page? If possible all parent nodes, not only the first higher/parent node.

Like XF1 addon TH New Posts Parent Link did.


My Mockup to show parent node "Customer Forums" and then the Forum "Styling and customization questions" separated with a hyphen.
1611954303064.webp
 
Last edited:
Solution
A friend found the answer, you can see the added code in the thead_list_macros template on line 183 to 184:

HTML:
<li><a href="{{ link('forums', $thread.Forum.Node.Parent) }}">{$thread.Forum.Node.Parent.title}</a></li>
>

1611955359867.png
A friend found the answer, you can see the added code in the thead_list_macros template on line 183 to 184:

HTML:
<li><a href="{{ link('forums', $thread.Forum.Node.Parent) }}">{$thread.Forum.Node.Parent.title}</a></li>
>

1611955359867.png
 
Solution
Back
Top Bottom