You will need to track user id who download the file, and contentobject_attribute_id of this file (use new table). You can make your own download handler and a template operator which displays / fetches this information. Look on examples in eZ publish kernel/classes/binaryhandlers. This can be very nice contribution ;)
I have the exact same need to log file downloads by users. I would love to develop an extension, but am unable to find any information on how to create a custom binary file handler. Any pointers, Lukasz?
My idea is to extend the class eZFilePasstroughHandler [sic] and simply override handleDownload(...), calling the superclass's function before or after logging the download. But how to register this new handler class?
Leif Arne Storset
You must be logged in to post messages in this topic!