Closed (works as designed)
Project:
Download Count
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2010 at 02:37 UTC
Updated:
19 Dec 2011 at 16:26 UTC
Is there a way to print the total download count for a file in the node.tpl template?
Comments
Comment #1
WorldFallz commentedThere are 2 theme functions in the inc directory (one for upload module and one for filefields). Another option would be to create a preprocess_node function in the template.php file and create some variables in there that you could print in the node.
Comment #2
-Mania- commentedCould someone please provide an example of how to use these theme functions?