Forum
Obtain just the suffix from file
Using
<perch:content id="file" type="file" label="File" />
Is it possible to obtain just the suffix from the filename? The purpose is for adding a class to display a filetype icon.
Using
<perch:content id="file" type="file" label="File" />
Is it possible to obtain just the suffix from the filename? The purpose is for adding a class to display a filetype icon.
I think the closest you'll get is
output="mime"