Is there a way to print the total download count for a file in the node.tpl template?

Comments

WorldFallz’s picture

Status: Active » Closed (works as designed)

There 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.

-Mania-’s picture

Could someone please provide an example of how to use these theme functions?