Skip to content
This repository has been archived by the owner on Feb 12, 2018. It is now read-only.

Login and Registration from the same form

peppertree edited this page Jul 22, 2014 · 2 revisions

In addition to the regular registration form tokens, the module also lets you login from with the same form. They way this is supported in the default template is through the use of dnnTabs. The following tokens are supported:

[DNNLBL:LOGIN:Username] - renders a localized DNN label (e.g. "Username:") [CTL:LOGIN:Username] - renders a textbox of entering the username [DNNLBL:LOGIN:Password] - renders a localized DNN label (e.g. "Password:") [CTL:LOGIN:Password] - renders a textbox of entering the password [DNNLBL:LOGIN:Remember] - renders a localized DNN label (e.g. "Remember Me?") [CTL:LOGIN:Remember] - renders a checkbox to enable storage of authentication cookie [CTL:LOGINBUTTON:Login] - renders a localized login button [CTL:LOSTPASSWORDBUTTON:LostPassword] - renders a localized link to the "forgot password" control

The dnnTabs are setup through HTML and jQuery, likewise it is implemented and used in various places in the DNN ui. Please have a look at the default template to see how this is setup. Note that ou can use whatever HTML / jQuery code you like to setup your form.

Clone this wiki locally