Better formats is working great everywhere on my site except on the signature field of my user edit form.

Is it possible to hide both the format tips and the more format tips link under this form field?

thanks!

Comments

queenbeenz’s picture

Same here. I've looked at some of these solutions http://drupal.org/node/35122#comment-746238 but it makes sense for Better Formats to handle all cases - signature included.

encho’s picture

Same here, I thought the module is not working, as it was my main reason for installing it. Subscribing.

dragonwize’s picture

Status:Active» Postponed

Other modules will be able to take advantage of BF in 3.x.

See also #366015: Add module to fix missing input formats in Drupal core.

dunx’s picture

Whilst we wait for BF to be expanded, try this in your custom module.

function MYMODULE_form_alter()
{
  switch ($form_id) {
  case 'user_profile_form':
    $form['signature_settings']['signature_format']['#type']='hidden';
    break;
  }
}

This hides the form, but leaves the values. It does hide the BF "tips" so you could re-add these by also modifying the $form['signature_settings']['signature']['#description'] value.