Closed (fixed)
Project:
Node Comments
Version:
5.x-1.0-beta
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2007 at 19:55 UTC
Updated:
20 Mar 2007 at 06:30 UTC
The usefulness of theme_nodecomment_wrapper is limited by the amount of information available to the theme function. If the $node object were passed into the theme function, much more information would be available to add, such as the current number of comments, node type, comment type, node title, etc. All that information allows the theme to do something more than just wrapping a div around the comments.
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| nodecomment-wrapper.patch | 892 bytes | quicksketch |
Comments
Comment #1
quicksketchEaton committed to 5.x beta. Thanks!
Comment #2
(not verified) commented