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...Upgrading DNN P...Upgrading DNN P...DNN 6.2.0 User Login PopupDNN 6.2.0 User Login Popup
Previous
 
Next
New Post
7/3/2012 2:57 PM
 
I encountered same issue "Login/Register Popup" with DNN 6.2.0.

From Chris's advise, it worked on my localhost by modified following part:

1.admin\Skins\Login.ascx.cs (popup login)
//loginLink.NavigateUrl = Globals.LoginURL(returnUrl, (Request.QueryString["override"] != null));
//enhancedLoginLink.NavigateUrl = loginLink.NavigateUrl;

                    var url = Globals.LoginURL(returnUrl, (Request.QueryString["override"] != null));
                    loginLink.NavigateUrl = (PortalSettings.EnablePopUps && PortalSettings.LoginTabId == Null.NullInteger) ? UrlUtils.PopUpUrl(url, this, PortalSettings, false, false, 300, 650) : url;
                    enhancedLoginLink.NavigateUrl = loginLink.NavigateUrl;

2.admin\Skins\User.ascx.cs (popup register)
//registerLink.NavigateUrl = !String.IsNullOrEmpty(URL)
//                    ? URL
//                    : Globals.RegisterURL(HttpUtility.UrlEncode(Globals.NavigateURL()), Null.NullString);
//enhancedRegisterLink.NavigateUrl = registerLink.NavigateUrl;

                        var url = !String.IsNullOrEmpty(URL) ? URL : Globals.RegisterURL(HttpUtility.UrlEncode(Globals.NavigateURL()), Null.NullString);
                        registerLink.NavigateUrl = PortalSettings.EnablePopUps && PortalSettings.LoginTabId == Null.NullInteger ? UrlUtils.PopUpUrl(url, this, PortalSettings, false, false, 600, 950) : url;
                        enhancedRegisterLink.NavigateUrl = registerLink.NavigateUrl;

It compiled successfully and worked well in my local machine.

I also want it works as well on my hosting server.
I tried to copy *.dll files under bin folder to web hosting server, but it doesn't work.

Any body knows how to let the hosting server works (popup login) as my localhost?

Thanks in advance.


 
New Post
11/13/2012 5:50 PM
 

Two quick questions:

1. Does the code need to be recompiled after I've made the suggested changes to Login.ascx.cs or does it compile when the site reloads? The reason I'm asking is because it did not seem to have any affect.

2. I have a protected page for registered users only. I then have a link sending people that way. Ideally, I would like to see the login popup appear verus showing the entire login page. This should do that right?

thanks for your time in advance,

Dan

 

 
New Post
11/16/2012 3:53 AM
 
After changing a DLL file on a ISS you have to run a IISreset to empty the IIS Cache.  Some times a restart of the application pool did all you Need.  The application pool could be restarted over the DNN Host Settings.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...DNN 6.2.0 User Login PopupDNN 6.2.0 User Login Popup


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