August 24, 2012

Setting up a Custom Login Page For DNN 6.2.0


Over the past few weeks I was wondering how to chnage the DNN default login page to a custom login page. The default login page will be poped up even if we create a custom page. refer the below screen shot.



So we wanted to create a totaly custom page for the login, and then set it as the login page. Finally we found out a workaround to do so. Please refer the below steps to make it work.

  • Create a custom page with the name login. Specifically you need to have it as login, because when you the users try to access a page without login, then automatically DNN will direct the user to a login.aspx page. So you have to have it by this name.

  • Then Add your custom module created for login, in to the page, and make all styles as you need.

  • In DNN 6.2 you have a module called, "Account Login" which has to be their in order to set the page as the login page. Othervise you will not be able to set the page as your login page.

  • Then Go to Manage > Settings of the "Account Login" module added.

  • Go to Permissions Tab, and then at the bottom, you will have a check box called "Inherit View permissions from Page" Ticked. Make sure to untick it and then have perssions given only to Administrator for View and Edit Module. And save the settings.

The page changes are completed, and now its time to do the site level changes.

  • Go to Admin > Site Settings > Advanced Settings

  • Set the Login Page to the page created above, the Login.aspx

  • And then click on the User Account Settings Tab

  • Expand the Login Settings

  • Set the Login.aspx page that you have created to the Redirect After Logout, and click on Update.
And Finally, now you can access your custom login page created, without any issue.


 

No comments:

Post a Comment