By cornernote on
Hello,
Is there any place to put comment submission guidelines in? People do not seem to realise the comments are threaded and they just reply to any comment in under the whole thread.
Also, it is very difficult to move the comment after they have posted it. If they reply to a comment when it is obvious they wanted to reply to the oroginal post then I can move it but I have to fiddle a lot with the database. It would be great to have a field in the "edit comment" where I can change the comments parent.
Any suggestions would be much appriciated.
Best regards,
Brett
Comments
adding a line to comment instructions
I need to add a line of text to my comment submission form (just to say that I have an over-active spam filter ;0)
Is the only way to do that to edit my comment.module file? (I couldn't find a comment submission guideline file in 4.6, but I thought I saw one earlier... am I mistaken?)
silverwing
www.misguidedthoughts.com
Don't edit comment.module
There's a way to do this by overriding the comment form in the theme layer. You don't have to edit the comment.module.
Add this to your template.php file:
I've written up a more elaborate tutorial that allows editing of the comment guidelines from within Drupal (instead of editing the template.php file on the server). Check my drupal.org profile for a link to my Drupal development column.
Note that the above code
Note that the above code doesn't work in Drupal 6.x. Anyone know how to get this working for Drupal 6.x?
how to add comment submission guidelines in d6
I'm doing this from inside a custom module. It can probably be done inside a theme's template.php too. There may be other ways. I'm just a Drupal hacking newbie. Also check out "Theming forms" at http://api.drupal.org/api/file/developer/topics/forms_api.html
This gives me the white
This gives me the white screen of death.
Do I paste it into the template file as is, or does the "phptemplate" bit need to be changed to something else?