Products

Solutions

Resources

Partners

Community

About

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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationChange Default Login ?Change Default Login ?
Previous
 
Next
New Post
2/3/2014 8:57 AM
 

Hey I am using the latest version of DNN and the Active Directory Authentication Provider 5.0.6RC... When I create my login page it has Standard and Windows Login tabs... I would love to get rid of the standard, but I need my host account and I cannot change my active directory account ot host as I need it just as an administrator... So can I change it so the default option is Windows Login, instead of Standard?

 
New Post
2/3/2014 10:02 AM
 

I was able to write a simple jQuery hack that I wrote and put in my skin file (page.ascx)... Probably not the ideal way of doing this, but it works for now. See below. Hopefully this helps someone else, but note it is only a small hack to bypass this...

So when I used Firebug (in Firefox), I found these blocks of code:

So I needed to change the tab selected to the AD tab, and also change it so the div for AD was viewed, not the DNN Default one.

$(document).ready(function () {
$('#dnn_ctr477_Login_DNN_l').removeClass('LoginTabSelected').addClass('LoginTab');
$('#dnn_ctr477_Login_ActiveDirectory_l').removeClass('LoginTab').addClass('LoginTabSelected');
$('#dnn_ctr477_Login_DNN').attr("style", "display:none");
$('#dnn_ctr477_Login_ActiveDirectory').removeAttr("style");
});

 
New Post
2/3/2014 2:28 PM
 
You can do like I do: Hide the standard login from most portals and keep at least one unpublished portal with no AD login that I can use to always get into the system.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationChange Default Login ?Change Default Login ?


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