Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- drupal_add_js(drupal_get_path('theme','gog').'/js/script.js', array('group' => JS_THEME));
- /**
- * Implements hook_form_FORM_ID_alter().
- */
- function customgog_form_user_login_block_alter(&$form, &$form_state) {
- //Add a title to the user-login-form so that the jQuery sign-in helper script I wrote will work!
- $form['name']['#title'] = t('just use the first part of your username - no @edc.org');
- $form['pass']['#maxlength'] = 40;
- };
- function customgog_form_alter (&$form, &$form_state, $form_id) {
- // find the form_id
- dpm($form_id);
- //print out the variables for the form
- dpm($form);
- };
Add Comment
Please, Sign In to add comment