By jeff00seattle on
Hi
I want to modify the User Login block to remove the link Forgot Password?
.
- Where does code and theme info for User Login block reside?
- Is using a template suggestion the best approach for disabling link
Forgot Password?
?
I was reading about template suggestions here:
Thanks
Jeff in Seatle
Comments
Hi
Forgot Password is in the user_login_block form so using the form alter you can remove or customize the link forgot Password
--
Kamalakannan S
Kiluvai Tech Solutions Private Limited br Blog
I'm trying to do the same. I
I'm trying to do the same. I wrote a module to alter the form but nothing happens.
<?php
function mylogin_form_alter($form_id, &$form) {
switch ($form_id) {
case 'user_login_block':
unset($form['links']);
break;
}
}
I've red somewhere about module weights... Can it be that the links are being rendered after wards?
Anyway, I got it to work with these instructions for theming the box:
http://blogthingee.com/blog/login-little-liveler
Their is a module for this
Their is a module for this functionality.
http://drupal.org/project/itweak_login
see
see this
http://drupal.org/node/478328
...