Silverstripe Version: 4.3
How can I list only documents - and NO images - in their folder on the front end?
_I am able to show all folders and their files (documents and images) on the front end. My difficulty is to filter the files to get only documents and not the images.
I searched the entire internet and tried every suggestion I could find. I guess I have overlooked something and the solution is really easy and elegant…
Something like this e.g. doesn’t work:
<% if $ClassName != "SilverStripe\Assets\Image" %>
Has anybody any idea?