Posted by EvanDonovan on May 27, 2009 at 9:19pm
Jump to:
| Project: | Comment Permissions |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Does anyone know what would be the best way to write a theming function to only show the comment form if the comment permissions settings allow it? Since the comment form requires box.tpl.php, it doesn't seem as easy as I would like.
Ideally, it would be good if this were included in the module itself, which is why I listed this as a feature request.
Comments
#1
I'm not sure I understand this request. If you're trying to theme the comment form, you need to use whatever the core comment module provides. I don't think its within scope for this module to affect how the comment for is displayed.
#2
I'll have to check again, but I think the issue is that the "Post a comment" heading still shows up even when the comment form does not because the user doesn't have permission to post comments.