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...Administration ...Administration ...how to open pages in a new window... and a questionhow to open pages in a new window... and a question
Previous
 
Next
New Post
8/25/2006 7:03 PM
 
Did you ever figure this out? I am having the same issues with my site. It is a bit of a hassle to go into the skin and upddate / change a link manually just so that it can open in a new window. Any body got any other ideas as I have tried all the methods described (except the hard coding into the skin - thats my last resort) and its no good. Cheers

“Eat right, exercise regularly, die anyway.”
 
New Post
8/29/2006 4:46 PM
 

No, I never got a good solution for this.  Apparently the only way is to edit the code.  It seems to me that this is some truly basic functionality for DNN that really ought to be in there.  How hard would it be to add a checkbox:

[] check here to have the URL open in a new window

and then add the target=_blank when the user checks it?

 

 
New Post
8/29/2006 6:51 PM
 

Timo Breumelhof wrote
You can put anything in your skin that you would put in a normal HTML page.
If you don't have to change the size of the pop-up I would use:

link

Then it won't be blocked by pop-up blockers...

Ths disadvantage is that you cannot edit the link in DNN.

You could also use a links module there you can set the link and check the "Open Link in New Browser Window" option.

But is renders a table that is not easy to style for multiple browsers.

Heres my code from the Horizontal Menu - Full Width.ascx file, around line 33:

<TD width="100%" vAlign="middle" align="left" nowrap><dnn:MENU runat="server" id="dnnMENU" /><a href="http://www.google.com" target="_BLANK">G</a></TD>

What happens when I do this is that the G hyperlink appears on the next line instead of on the line with the menu.  It also doesn't match the menu at all.  Is there a way to make it on the same line and match the menu?

Thanks,

Mike

 

 
New Post
8/30/2006 3:54 AM
 
sambojambo :
I'm not one of the developers, but the you should imagine that there are 500 "how hard can it bee" questions a week. And the issue is more difficult then it seems, because you probably want the pop-up to open in a specific size.... Then only target="_Blank" is not enough
I do agree that it would be nice to have a menu link open a page in a new window...

You would have to make the extra link look the same as the menu using CSS.
Some suggetions.

Look for the (highest) block (div / table) around the menu (the class will be "something"_dnnMENU) and set

float:left

Then the link should be next to it.
You will have to style the rest also using CSS

You could also add a Links module to your page (next to the menu)
Then you can select a "Open link In New Window" option and add just one link.
(but there is no option for the size of the new window)




 
New Post
9/2/2006 2:01 AM
 

Hope I am the bearer of good news.....

I have a little work around (kindly provided to me by a good friend). Note I say work around, not a solution. Use the following script in the url box when you create your new page and make it a link to an external resource. You can also set the size of the new window (and any other options as you would normally in Jscripts). Works for me (IE7 at least) so I will have a beer and hope it works for you......

http:// window.open('https://WWW.MICROSOFT.COM',width=600,height=600);

Cheers big ears.


“Eat right, exercise regularly, die anyway.”
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...how to open pages in a new window... and a questionhow to open pages in a new window... and a question


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