I have created a login block, how do I add the Remember me function to this block?

Comments

nickl’s picture

Status: Active » Closed (works as designed)

If the form ids are 'user_login' or 'user_login_block' it will be added for you.

interestingaftermath’s picture

I have changed my login form id to both of the suggested names and the Remember Me option does not appear.

pbrough’s picture

Version: 5.x-1.0 » 6.x-2.0
Component: Miscellaneous » Code
Category: feature » support

I am also having a similar problem with the remember_me function. The code for the the form is:

<form id="user-login" action="user?<?php print drupal_get_destination() ?>" method="post">

If I change to user_login the form stops functioning however the rememeber me does not appear. What is the PHP code that will add the function manually.

nickl’s picture

Status: Closed (works as designed) » Postponed (maintainer needs more info)

I need more information, please attach the block code you are having problems with here.

nickl’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

User login block is already available and working.
I can't see what else I can do for you guys.

This has been passive for 2 months, I'm closing the request.

Feel free to open it again or make a new request.
Providing code examples of the problem would help me assist you better.