Code Monkey home page Code Monkey logo

ulogin's Introduction

Unified Login was originally written by Jeff Robbins and Lullabot for Buzzr as a patch for LoginToboggan. This version is a stand alone module which does not depend on LoginToboggan.

It is intended to simplify the user registration and login process by creating a unified login/registration page with two big buttons at the top of the page: "I have an account" and "I want to create an account". Clicking on these buttons swaps out the login and registration forms using Javascript rather than a full page reload.

Presumptions

  • Drupal tabs should rarely be shown to non-admin users. They are okay as an editing convention on node pages, but they are particularly confusing on the login/regstration/password-reset pages. This module removes them.
  • Users need big simple buttons for "I have an account" and "I want to create an account"
  • "I forgot my password" is a sub-function of the login form. It should not be seen on the registration page. This module adds an "I forgot my password" link into the login form either a) as a separate "field", or b) appended to the description of the password field.

Set up

  1. Place ulogin folder in your modules directory and enable the module.
  2. That's it! You're done.

Optionally, you can visit admin/settings/ulogin to choose the placement of the "I forgot my password" link.

Recommendations

Either:

  • Create a custom menu item in your Primary navigation called "Login/Register" which links to "user/login". Because of the permissions on user/login, this item will only show to anonymous users and it will link to the Unified Login page.
  • ~ Or ~
  • Enable LoginToboggan and set the 'User login' block to display as a link.

You'll probably want to do some CSS styling on the "I have an account"/"I want to create an account" buttons in your theme.

ulogin's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.