Add theming function to hide the comment form completely based on comment permissions settings

EvanDonovan - May 27, 2009 - 21:19
Project:Comment Permissions
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

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.

 
 

Drupal is a registered trademark of Dries Buytaert.