By Rosamunda on
Hi there!
I´ve tryed in teh past to modify the comment module... with weird and terrifying results.
So, I´m not able to do it again without and help from you my dear fellows ;-)
I want to know if there´s a way to get rid of the "homepage" field in the comment form.
I want annonymous users to be able if they want to insert their email addresses, but I don´t want to ask them for their homepage, nor webpage...
Just name, email, title (optional) and comment.
Is there a way to get rid of the "preview button"?
Thanks in advance!!!
Rosamunda
Comments
SOLVED Thanks to HEINE!
At the #drupal-support IRC channel I´ve solved this issue, thanks to the good help of HEINE.
Just in case anyone wonders how to solve this... he has pointed me out this page, where he has resolved easily the problem.
For the record, Thanks HEINE!!
Rosamunda
Buenos Aires | Argentina
www.ligadelconsorcista.org
How?
Could you write how to get rid of the Homepage field. Unfortunately, the link to the solution does not work.
This is what you got to do:
This is what you got to do:
In template.php
And create a file called comment-form.tpl.php, and put this into that file:
And that´s it.
Rosamunda :-)
error
Drupal 4.6 displays "Fatal error: Call to undefined function: form_render() in comment-form.tpl.php on line 3" when I am trying to use this. I guess this will work for newer versions. Any recommendations for Drupal 4.6?