How to Point DotNetNuke Tab to an External URL in a New Tab

 
How to Point DotNetNuke Tab to an External URL in a New Tab

If you need to point one of your DotNetNuke tabs to an external URL and have it open in a new tab follow the instructions below for the version of DotNetNuke your site is running on.

DotNetNuke 7.x
  1. Log into your website as either a Host or Admin user.
  2. Navigate to Admin > Page Management.
  3. Select an existing page you want to open in a new window.
  4. Expand Link.
  5. Select the URL (A Link To An External Resource) radio button.
  6. In the Location: ( Enter The Address Of The Link ) field enter the following Javascript code where www.domain.com is replaced with the external URL.
    javascript:void(window.open('http://www.domain.com'))
  7. Leave the Open Link In New Browser Window? box unchecked.
  8. Click Update Page.
DotNetNuke 6.x
  1. Log into your website as either a Host or Admin user.
  2. Navigate to Admin > Page Management.
  3. Select an existing page you want to open in a new window and click edit.
  4. Expand Link.
  5. Select the Link URL = URL (A Link To An External Resource) radio button.
  6. In the Location: ( Enter The Address Of The Link ) field enter the following Javascript code where www.domain.com is replaced with the external URL.
    javascript:void(window.open("http://www.domain.com"))
  7. Click Update Settings.
DotNetNuke 4.x and 5.x
  1. Log into your website as either a Host or Admin user.
  2. Navigate to Admin > Pages.
  3. Select an existing page you want to open in a new window and click edit.
  4. Expand Advanced Settings > Other Settings.
  5. Select the Link URL = URL (A Link To An External Resource) radio button.
  6. In the Location: ( Enter The Address Of The Link ) field enter the following  Javascript code where www.domain.com is replaced with the external URL.
    javascript:void(window.open("http://www.domain.com"))
  7. Click Update.

 

Add Feedback