• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

RM 1.2 How to open URLs in new tab

Hi there,
I want to open link in new tab for following URL input in add resources.
Additional Information URL:
Alternative Support URL:

How can i make URL open in new tab.

Thanks in advance!
Hi Chris,
Thanks for the reply, I have added target="_blank" to following
<xen:if is="{$xenOptions.allowAltResourceSupportUrl} and {$resource.alt_support_url}">
        <a class="callToAction" href="{$resource.alt_support_url}" {xen:if '!{$resource.isTrusted}', 'rel="nofollow"', 'target="_blank"'}><span>
            {xen:phrase ask_questions_get_support}
It's not working. could you please check

Chris D

XenForo developer
Staff member
You added it in the wrong place, meaning it would only actually add it under certain conditions. Try this:
<a target="_blank" class="callToAction" href="{$resource.alt_support_url}" {xen:if '!{$resource.isTrusted}', 'rel="nofollow"'}><span>