The File Type Templates module is certainly not useful for everyone. But it might come in handy in certain situations.
What it does basically is to complement the standard “EE Upload File/Embedded in Entry” funtionality. You know, when you upload a browser-supported image type and choose Embedded in Entry, Expression Engine provides the necessary HTML-code to display it, namely an <img>-tag. When you upload anything else and choose Embedded in Entry, Expression Engine provides just a link to the file.
This module lets you define your own template for any non-image filetype which will then replace links to files of that type in your entries.
You might want to take a look at the usage examples to better understand what this is about.
This seems to be a perfect fit for a project I’m working on.
The client will want to be able to upload several different file formats (Word, PDF, PowerPoint, .csv, etc.) for use in a file library.
I’m using the NB CSV to Table plugin by Nicolas Bottari which converts a .csv file into a table, by way of a tag pair. I take it this module isn’t designed to allow other plugins to work inside the templates made for it?
It’s not a major problem, more of a convenience if it could.
Is this plugin compatible with 1.6.9? It sounds awesome for embedding video however I can’t get the template to replace the flv. Code looks like this:
{exp:weblog:entries weblog="{segment_1}" url_title="{segment_3}" limit="1"}
{exp:ft_templates}
{video}
{/exp:ft_templates}
{/exp:weblog:entries}
I’ve tried weblog specific and non-specific templates but the template is just ignored and the output is just the file path. Any ideas??
Thanks
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.