Tue, 14/07/2009 - 16:02
#2
Hi, Even though it doesn't
Hi, Even though it doesn't have an option for comments it removes the preview button from my comment forms all the same, I trippled checked this just to make sure, i.e. I checked that another module wasn't removing the comment preview button instead and it was the Jammer (nearly 100% sure).... Did you try clearing the cache etc? Also you may have to goto the content types in question and make sure that a comment preview isn't required.
I had previously written a very small module that just removes the comment form preview button from everything - I could send you if you would like to try it instead...
Fri, 20/11/2009 - 06:45
#3
Another way
Another quick way to remove the preview button on the comment form via hook_form_alter:
function resynthesize_form_alter(&$form, $form_state, $form_id) {
if ($form['#id'] = 'comment-form') {
unset($form['preview']);
}
}
Sat, 12/12/2009 - 22:07
#4
Thank you very much for the
Thank you very much for the excellent and useful post.
Wed, 06/01/2010 - 02:14
#5
Elegant way - Remove the preview button on comments
Wed, 06/01/2010 - 13:21
#6
Thanks stranger, looks good!
Thanks stranger, looks good!
Tue, 15/06/2010 - 21:34
#7
works for me
removed preview button from comment box. sick.













I just tried to use the Jammer module.
It has an option to disable preview for content types...but not for comments.
I am using the latest version: 6.x-1.1 2009-Jun-10