XF 2.1 Search Result Template Caller

Cupara

Well-known member
The question is similar to this one but for XF 2.1 https://xenforo.com/community/threads/search-result-template-caller.120528/

I'm trying to call columns in the Forum table that will be used in an if condition to avoid showing 18+ content on search results and member_recent_content.

I have tried
HTML:
$user
as well as
HTML:
$content
and
HTML:
$result
to no avail. I even extended the structure of the User to grab Thread.Forum so that maybe it would do what I want but alas nothing is working at the moment.
 
Of course I figure it out after posting here. I was in the wrong template, had to be in the search_result_thread to utilize $thread.Forum in the manner I wanted.
 
Top Bottom