By dropbydrop on
How may I hide/disable homepage field for anonymous users' comments in Drupal 7?
I want to keep email as obligatory, but I don't want to let them put their homepage.
Thanks
How may I hide/disable homepage field for anonymous users' comments in Drupal 7?
I want to keep email as obligatory, but I don't want to let them put their homepage.
Thanks
Comments
Try this in one of your
Try this in one of your modules (or even in your theme's template.php):
Thanks for the post. It works
Thanks for the post. It works !!
@ bleen18 or anyone - can I
@ bleen18 or anyone - can I please check - will this work in D6?
thanks
Any better solution? I mean
Any better solution?
I mean some CCK field setting like or....
Actually the answer is very
Actually the answer is very simple and does not require any changes to templates, CSS or even the Drupal core.
Instead just go to Administration->Structure->Content types and for each content type edit the "Comment settings" and set "Anonymous commenting" to "Anonymous posters may not enter their contact information".
@ Christoph
@ Christoph Haas
Unfortunately, the emailadress-field will disappear as well...