• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Add a link to Item thread in nflj_showcase_layout_grid_view_item

Ludachris

Active Member
AMS Premium
CAS Premium
RMS Premium
SC Premium
UBS Premium
Pick'em
Sportsbook
Is this possible? I want to add a link to the Item's associated thread, if a thread exists. Not sure if it can be done without custom coding. I've tried it but can easily be doing it wrong. Here's the code I was using:
Code:
<xen:if is="{$thread}"><a href="{xen:link threads, $thread}">...
 
$thread is not an available variable for an individual showcase item block on a listing page. The only thing available to use is the $item array, so you need to use $item.thread_id and $item like this...

HTML:
<xen:if is="{$item.thread_id}"><a href="{xen:link threads, $item}">Discuss this item</a>
 
Back
Top