XenForo XFMG open external url in new tab

T

Tracy Perry

Guest
OK, researching I found where (back in 2020) @Mike advised to edit the xfrm_resource_view template with code that should allow the button to an external link in the Resource Manager to open in a new tab.

This is what I have curently

Code:

Code:
 <xf:if is="$resource.external_url">
 <xf:button href="{$resource.external_url}" target="_blank" class="button--link button--fullWidth">{{ phrase('xfrm_more_information') }}</xf:button>
 </xf:if>

<xf:if is="$resource.alt_support_url AND...

Read more

Continue reading...