Comment count as a variable in node.tpl.php
ximo - November 5, 2009 - 10:38
| Project: | Disqus |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | ximo |
| Status: | active |
Description
Comment count is shown in the $links variable in node.tpl.php, which is fine for most I suppose.
But $links isn't very flexible, and it would be really nice to have this as a stand-alone variable in node.tpl.php. A disqus_preprocess_node() should be able to do this.
Note to self: cook up a patch that introduces this.
