XenForo Template - Respect Custom Field Visibility

F

Foxtrek_64

Guest
Hi all, I'm using the following template code in the thread_list_macros template. The intent is that, in designated forums, certain tickets should show as either "unclaimed" or "claimed" with information on who has claimed it.


HTML:

Code:
<xf:if is="$thread.custom_fields.ticketOwner">
    <div class="structItem-minor">
        <xf:if is="$xf.visitor.username == $thread.custom_fields.ticketOwner">
            {{ phrase('application_claimed_by') }}: <div...

Read more

Continue reading...