By calebm12 on
Hi....the show summary in full view checkbox is not really needed for my site. It looks as if it is always checked by default and this is fine with me. I would rather not give users the option of unchecking it. Is there a way to hid this button (leaving it checked). I saw a php solution but didnt know if there was anything else....if not....can someone advise me on where i place this????
function _form_alter(&$form, $form_state, $form_id) {
if(isset($form['body_field']['teaser_include']) && preg_match('/.+_node_form$/i',$form_id)) {
unset($form['body_field']['teaser_include']);
}
}
Comments
Subscribing. I would like to
Subscribing. I would like to get rid of this too, but I don't know how.
I have having the same issue.
I have having the same issue. Anyone has any luck hiding this option?
Looks like that goes in your
Looks like that goes in your template.php file in the root of your theme folder. I tried it but it didnt seem to remove this checkbox. Where did you see this solution? Im trying to remove the checkbox too!
here, comment
here, comment 25
http://drupal.org/node/293803
also here
http://www.rhinocerus.net/node/38152
if you find a solution....pls share...would love to get rid of the checkbox!
dont know if this will had
dont know if this will had bad effects elsewhere in the site but i got rid of it with css visibilty
that's exactly what I needed,
that's exactly what I needed, thanks! And, it doesn't seem to cause any problems elsewhere :)
A solution
While searching for a solution to another issue, I happened upon http://drupal.org/project/resizable_body which also allows for removing the checkbox. It killed 2 birds! Nice module.
Node and Comments Form Settings module works too
Similar to resizable_body mentioned by brisath, the Node and Comments Form Settings module also allows you to easily remove this checkbox, among many additional nice little form changes. I like this module. http://drupal.org/project/nodeformsettings
None of those module actually address the issue posted
So I wrote one:
http://drupal.org/project/hide_show_summary