Long Display of %TYPE% in Template.
-
EG,
I see where the plugin code gets the mime type in eg-attachments-public.inc.php
/** * get_type() - Try to get type of document according mime type * * @package EG-Attachments * @param string $mime_type mime type of the attachment as stored in the DB * @return string readable type of the attachment */
However, when using the
%TYPE%
value in a template, I get the following long formats. What’s the source/cause/explanation of the following? (I am simply hoping for the 3-4 character file extension.)- (.docx) (21 kB, OPENXMLFORMATS-OFFICEDOCUMENT.WORDPROCESSINGML.DOCUMENT)
- (.pptx) (148 kB, OPENXMLFORMATS-OFFICEDOCUMENT.PRESENTATIONML.PRESENTATION)
Bon Week-end!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Long Display of %TYPE% in Template.’ is closed to new replies.