captainmatt29 Member May 12, 2018 #1 How do I set the Forum Links Node to open new tabs as they open in place taking users away from the forums. Last edited: May 12, 2018
How do I set the Forum Links Node to open new tabs as they open in place taking users away from the forums.
captainmatt29 Member May 12, 2018 #3 New Joe said: Mine do that already on XF2.. Click to expand... Mine has never worked, when I create a forum link node and you click on the link after it doesn't open a new tab it opens in the same tab taking people away from the forum. Upvote 0 Downvote
New Joe said: Mine do that already on XF2.. Click to expand... Mine has never worked, when I create a forum link node and you click on the link after it doesn't open a new tab it opens in the same tab taking people away from the forum.
oman Well-known member Jun 9, 2018 #4 To accomplish this, you can edit the node_list_link_forum template: Find this line: HTML: <a href="{{ link('link-forums', $node) }}" data-xf-init="{{ $descriptionDisplay == 'tooltip' ? 'element-tooltip' : '' }}" data-shortcut="node-description">{$node.title}</a> And replace it with the following: HTML: <a href="{{ link('link-forums', $node) }}" data-xf-init="{{ $descriptionDisplay == 'tooltip' ? 'element-tooltip' : '' }}" data-shortcut="node-description" target="blank_">{$node.title}</a> Link forums will now open in a new tab. Upvote 0 Downvote
To accomplish this, you can edit the node_list_link_forum template: Find this line: HTML: <a href="{{ link('link-forums', $node) }}" data-xf-init="{{ $descriptionDisplay == 'tooltip' ? 'element-tooltip' : '' }}" data-shortcut="node-description">{$node.title}</a> And replace it with the following: HTML: <a href="{{ link('link-forums', $node) }}" data-xf-init="{{ $descriptionDisplay == 'tooltip' ? 'element-tooltip' : '' }}" data-shortcut="node-description" target="blank_">{$node.title}</a> Link forums will now open in a new tab.
Painbaker Well-known member Aug 12, 2020 #5 Here it is! (paid add-on) [OzzModz] Link Forum Attributes Allows to set link attributes to "link forum" node, like "target", "rel" etc. xenforo.com Upvote 1 Downvote
Here it is! (paid add-on) [OzzModz] Link Forum Attributes Allows to set link attributes to "link forum" node, like "target", "rel" etc. xenforo.com