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, ...Adjust the size of the login pop-up windowAdjust the size of the login pop-up window
Previous
 
Next
New Post
8/23/2011 6:51 AM
 
In DNN 6.0 when you login it opens a pop-up window with the login form. Is it possible to adjust the size of this window? You can manually adjust the size once its open, but can I set it to a certain HxW in JS or C# code?

Thanks


Paul
 
New Post
8/23/2011 7:06 AM
 
That depends a lot on how you are calling the login popup.  If you setup a custom login button then you can call the popup with any size you would like.


The popup is created by a javascript call to dnnModal.show();
the last two parameters of the function call determine the SIZE of the popup window:

Here is some sample HTML code for a login popup:

<a id="dnn_dnnLOGIN_loginLink" class="login tb" onclick="return dnnModal.show('http://www.mysite.com/Home/Login/tabi...;popUp=true',/*showReturn*/true,600,950)" href="http://www.mysite.com/Home/Login/tabi...">Login</a>


Westa
 
New Post
8/24/2011 3:47 AM
 
I'm not using a custom login in button. Could you direct me to what page contains the login link so that I can adjust the height and width of the box. I've to find it but I can't?
 
New Post
8/24/2011 3:53 AM
 
It is not located on any page - the size is currently coded into the Login skin object - you need to create a custom skin object to change this currently.

Once 6.0.1 is out and we know what dnn is doing with the default skin objects I may consider releasing my custom skin objects that support parameters to control popup size etc.

Westa
 
New Post
6/11/2012 8:32 AM
 
Paul,

The size of the popup login window is coded into the skin object. You can change it in the file: Admin\Skins\Login.ascx.cs.

Have a look at the OnLoad event, almost at the very bottom, it's hard coded to 300 x 650.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Adjust the size of the login pop-up windowAdjust the size of the login pop-up window


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