The Login Module sets variables for the application templates that have Login set as their Page type in the application template detail page.
The Login Module redirects the user to the page set by the $redirecturl variable, if it is received from the Request object, or
redirects the user to the homepage if it is not set.
The module also sets the $message variable if it is set in the Request object.
In order for a template to have access to the variables set in this module, the module must be assigned to the template.
To select the Login Module to be accessed by a template, in Newzulu Platform, go to the Application Media Detail page for that template, and
select Login in the Page type field. Save the change to the template.
|basepage||(String) The name of the displayed page For example, for url: contest.projets.fm/entry/123456 the basepage = entry|
|lang||(String) A two letter representation of the user's preferred language|
|subpage||(String) A variable that is passed in the url after the basepage. For example, for url: contest.projets.fm/entry/123456 the subpage = 123456|
|get.fm_error||(String) The error received (from Newzulu components via the Request object) for the displayed page|
|get.redirectUrl||(String) The redirectUrl received (from Newzulu components via the Request object) for the displayed page|
|get.wrongCredentials||(String) The message received (from Newzulu components via the Request object) if the user provided incorrect credentials. Incorrect credentials will force the page to ask for the credentials again.|
For examples of how to use the variables set in the modules, please see the Application Templates