I have 2 problems.
1. I want to hide ".thumb_" images
The Datamanager automatically generates a Thumbnail (.thumb_imagetitle.jpg).
I want to hide all Thumbnails on the File Downloadpage.
I only found a "&hideExt" for the ending of a file. I want this function for the Präfix .thumb_
Is there any solution?
2. the Delete Link isn't displayed.
[!FileDownload? &getFolder=`assets/files/downloads/[*pagetitle*]` &tplList=`FileDownload_Template` &hideExt=`` &deleteGroups=`Site Admins`!]
<div id="outer-div-downloadliste">
<!-- This is the header template -->
<table>
<tr[+fd.class+]><td colspan="4"><strong>[+fd.path+]</strong></td></tr>
<tr>
<!-- <th colspan="2"><h1>Dateiname</h1></th> -->
<!-- <th><h1>Größe</h1></th> -->
<!-- <th>Date</th> -->
</tr>
<!-- Fd:Splitter -->
<!-- This is the parent template -->
<tr[+fd.class+]>
<td><img src="[+fd.image+]"/></td>
<td colspan="3"><a href="[+fd.link+]">Up Level</a></td>
</tr>
<!-- Fd:Splitter -->
<!-- This is the folder template -->
<tr[+fd.class+]>
<td><img src="[+fd.image+]"/></td>
<td colspan="3"><a href="[+fd.link+]">[+fd.filename+]</a></td>
</tr>
<!-- Fd:Splitter -->
<!-- This is the file template -->
<tr[+fd.class+]>
<td><img src="[+fd.image+]"/></td>
<td><img id="down-img" src="http://87.106.244.9/faro/modx/assets/templates/faro/img/down_file.png" name="Download"><a href="[+fd.link+]" target="_blank">[+fd.filename+]</a> <span style="font-size:80%">xxxxx[+fd.delete+]</span></td>
<td id="table-filesize" align="right">[+fd.sizetext+]</td>
<!-- <td>[+fd.date+]</td> -->
</tr>
<tr><td></td><td colspan="3">[+fd.description+]</td></tr>
<!-- Fd:Splitter -->
<!-- This is the delete link template -->
<a href="[+fd.deletelink+]">Delete</a>
<!-- Fd:Splitter -->
<!-- This is the template used when &groupByDirectory=`1` -->
<tr[+fd.class+]>
<td colspan="4"><strong>[+fd.directory+]</strong></td>
</tr>
<!-- Fd:Splitter -->
<!-- This is the footer template -->
</table>
</div>
Thanks for help
[ed. note: ndrs0815 last edited this post 14 years, 5 months ago.]