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...Using Modules a...Using Modules a...Account Login Module and the DNN Login ControlAccount Login Module and the DNN Login Control
Previous
 
Next
New Post
6/22/2010 11:49 PM
 

Hi Folks,

I know how to put an account login module on a page and hide its menu item. I was wondering if it is possible to leave it on the menu and make the DNN login control not visible. The problem seems to be switching the menu button to “logout”. Has anyone ever done this? Does this have to be solved by coding changes or a commercial module?

 

Also is it possible to control the location of the text and input boxes on the standard DNN login module without messing with an .ascx or .ascx.vb file?

Thanks,
G. M.

 
New Post
6/25/2010 11:43 AM
 

In checking with a skin vendor this doesn’t appear to be a trivial thing to do. Since I don’t see any answers here I assume that is the case, correct? However, if anyone has an elegant solution or a commercial skin that does this please let me know.

 
New Post
6/25/2010 2:09 PM
 
George, the skin object does exactly what you are asking for but it isn't a menu item. However, since I understand that everyone has their own requirements...

If you want a Menu item for Login, make the page visible and set page permissions for Unauthenticated Users only to view (not all users). This will only show it in the menu to people who are not logged in (and those in the Administrators role). Next, create a new menu item called "Logoff" that is visible to "Registered Users" (make sure All Users and/or Unauthenticated Users do NOT have view permissions here). This will have to be a direct link to logout (ie. domain.com/Logoff.aspx) and will only display to people logged in. 

Before implementing, test through this somewhere (like a local install or create a copy of the login page and use it) to make sure you don't lock yourself out of your install for some reason. 

Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
6/26/2010 4:52 PM
 
Thanks Chris, that’s a nice clean elegant solution with no tweaks to any code. It made my day. The only nuance is that you get a warning after logging in if you don’t redirect to say the home page using User Accounts --> User Settings. At least that is what happens with version 4.9.5. I don’t know about version 5.x yet. Also you can make the login/logout and register/user controls disappear with CSS. For example #topbar .login{display:none}
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Account Login Module and the DNN Login ControlAccount Login Module and the DNN Login Control


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