Adding additional attachment info
-
In previous versions of Document Gallery, I was able to use the dg_doc_icon hook to add additional information about the attachments — specifically, the file type (mime type) and size.
With the move to dg_icon_template, the hook no longer passes the attachment ID, so there’s no way for me to add additional information such as the file size or type.
Would it be possible to add additional variables (besides the five that are currently exposed), or make it easier to add this information from a hook? If I were to send a patch adding this functionality, would you consider adding it?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding additional attachment info’ is closed to new replies.