/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/** * Implementation of HOOK_theme(). */ function THEMENAME_theme() { ), ); } // theme the comment form function THEMENAME_comment_form($form) { // Make the text-area smaller. $form['comment_filter']['comment']['#rows'] = 5; // Change the text-area title $form['comment_filter']['comment']['#title'] = t('Your message'); // Remove input formats information. $form['comment_filter']['format'] = NULL; // Removes homepage field // Removes preview button return drupal_render($form); }