Tuesday 23 August 2005 12:14:21 pm
Hi Daniel, That's really something simple. The download count is an attribute of the ezbinaryfile class. Suppose you have a class which contains a file attribute, you'd display the download count in templates like this:
{$object.data_map.file_attribute.content.download_count}
I don't know when this was added in eZ publish, but I guess in 3.5.
Hans
http://blog.hansmelis.be
|