[development] core user_login customization -- getting breakout theming AND custom validator working at the same time?

Lee Rowlands leerowlands at rowlands-bcs.com
Wed May 19 21:45:50 UTC 2010


Have you given thought to adding a '#theme' attribute to the form in
hook_form_alter
E.g.
$form['#theme'] = 'my_theme_function'

Then either use your template (defined in hook_theme for the
my_theme_function) or make the function stitch the fields together in the
required format
See http://drupal.org/node/751826 under 'Theming forms' for examples/details
etc

>But, what gets used/displayed by my user-login.tpl.php continues to
use the 'standard' authenticator, NOT my custom one.





More information about the development mailing list