XF 1.1 link threads open in a new tab?



Code:
<div class="nodeText">
            <h3 class="nodeTitle"><a href="{xen:link link-forums, $link}" data-description-x="#nodeDescription-{$link.node_id}" target="_blank">{$link.title}</a></h3>
            <xen:if is="{$link.description}"><blockquote class="nodeDescription muted baseHtml" id="nodeDescription-{$link.node_id}">{xen:raw $link.description}</blockquote></xen:if>
        </div>
I edit node_link_level_2 not successful.:(
 
Admin CP -> Appearance -> Templates -> thread_list_item

Add the red code:

Rich (BB code):
				<xen:else />
						{xen:helper threadPrefix, $thread}
					</xen:if>
				</xen:if>
				<a target="_blank" href="{xen:link "threads{xen:if '{$thread.isNew} AND {$thread.haveReadData}', '/unread'}", $thread}"
					title="{xen:if '{$thread.isNew} AND {$thread.haveReadData}', {xen:phrase go_to_first_unread_message}}"
					class="{xen:if $thread.hasPreview, PreviewTooltip}"
					data-previewUrl="{xen:if $thread.hasPreview, {xen:link threads/preview, $thread}}">{xen:helper wrap, $thread.title, 50}</a>
				<xen:if is="{$thread.isNew}"><a href="{xen:link threads/unread, $thread}" class="unreadLink" title="{xen:phrase go_to_first_unread_message}"></a></xen:if>
			</h3>
 
Back
Top Bottom