Posted by locomo on April 10, 2010 at 3:24am
5 followers
Jump to:
| Project: | Better Formats |
| Version: | 6.x-1.2 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Issue Summary
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
#1
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.
#2
Same here, I thought the module is not working, as it was my main reason for installing it. Subscribing.
#3
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.
#4
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.