I usually override a form template use thethis way:
In a .moudle file :
/**
* Implementation of hook_theme().
*/
function MODUL_NAME_themeMODULE_theme() {
return array(
'user_login' => array(
'render element' => 'form',
'template' => 'user_login',
'path' => drupal_get_path('module', 'MODUL_NAME''MODULE').'/templates',
),
);
}
And thenI create templates/user_login.tpl.php in my module folder.
Thenfolder; then, I can override the form.
But today I try to overridetried overriding a node comment form usenode comment form this way, but it doesn'tdidn't work.
: The node comment formnode comment form didn't use my custom template file.
I have goolgegoogled a lot, but getI got nothing about override node comment form templateoverriding a node comment form template.
Does anyone have good idea How can I force Drupal to use a template file for the node comment form?