Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ..."Open Link In New Browser Window?" option in DNN7"Open Link In New Browser Window?" option in DNN7
Previous
 
Next
New Post
6/13/2013 11:47 AM
 
Has anyone been able to resolve this issue? I am using DNN 6.2.6 and using a DDR Menu.. but the Open Link in New Browser Window does not work... Any ideas on how to resolve?
 
New Post
6/26/2013 4:06 PM
 
This still appears to be an issue. I am looking into other solutions.
 
New Post
6/26/2013 4:19 PM
 
The first javascript example I was given didn't work. If you precursor it with it works. Just set the link type to url and enter the code below.

void(window.open('http://www.yourwebsite.com'))

Be sure to change it to your actual website.

Thanks
 
New Post
10/4/2013 11:29 AM
 
The token files you're using have to have the node.Target or [=TARGET] added to them.

Like this:
Token - [=TEXT]
Razor - @node.Text
 
New Post
10/4/2013 11:31 AM
 

The template files you're using have to be updated to include the Target attribute of the node you're rendering.

Token template - <a href="[=URL]" target="[=TARGET]">[=TEXT]</a>

Razor template - <a href="@node.Url" target="@node.Target">@node.Text</a>

If the page has a "Open in new window" checked it'll add target="_new" to the link, else it leaves it an empty string and doesn't render the target attribute at all.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ..."Open Link In New Browser Window?" option in DNN7"Open Link In New Browser Window?" option in DNN7


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out