Just wanted to drop a quick note that this theme function can not be overwritten in template.php...

I am writing like so:


function garland_lt_username_title($form_id) {
  switch ($form_id) {
    case 'user_login':
      // Label text for the username field on the /user/login page.
      return t('Email');
      break;

    case 'user_login_block':
      // Label text for the username field when shown in a block.
      return t('Email');
      break;
  }
}

No errors come about and no changes take place.

Comments

hunmonk’s picture

Status: Active » Fixed

that's because i'm a moron, and missed the fact that the theme calls were hard-coded in the theming patch i committed, and not properly run through theme(). :(

fixed in 5.x and 6.x. unfortunately, i just made an official 5.x release yesterday. what i'll probably do is wait a few weeks to see if there's any other fallout from that release, then cut another one to fix this bug and any others that have cropped up.

until then, you'll have to use the -dev version of 5.x if you want the fix.

elvis2’s picture

No problem... thanks for the update.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.