Drupal is such a nice CMS but some of the additional feature may gives us trouble for non technical users. The very common example is Text format drop down in body field. Most of the user try many ways to hide that details. Use following code to hide drop down from node add/edit form
Using hook_form_alter add following code in form alter.
Please share your thoughts if you have any other quick way to hide.
Using hook_form_alter add following code in form alter.
$form['body']['und'][0]['format']['guidelines']['#access'] = FALSE;
$form['body']['und'][0]['format']['help']['#access'] =FALSE
Please share your thoughts if you have any other quick way to hide.
how to edit it???
ReplyDeleteYes, indeed! Tell more clear, please.
ReplyDelete1. Open blablafile.inc
2. replace or add lines: blabla
3. save.
thank you.
is it so hard to do that?