XF 1.1 link threads open in a new tab?


<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>
I edit node_link_level_2 not successful.:(
What I want is every time when you wanna press any thread it could be open in a new tap as well.
( not only a sub-topic can open new tap)

Jake Bunce

XenForo moderator
Staff member
Admin CP -> Appearance -> Templates -> thread_list_item

Add the red code:

Rich (BB code):
				<xen:else />
						{xen:helper threadPrefix, $thread}
				<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>