hello,
i deleted files in the panel, but they dont get deleted on the server.
i have this in the blueprint:
files:
label: My Files
in the template i get the files like this:
$pdfs = $uebung->documents()->filterBy('extension', 'pdf');
if ($pdfs->isNotEmpty()) : ?>
<?php foreach($pdfs as $pdf): ?>
<div class="pdf">[PDF] <a href="<?= $pdf->url() ?>" target="_blank">
<?= $pdffilename ?>
</a></div>
<?php endforeach ?>
<?php endif ?>
since i dont want to put them manually into the textarea.
i need them to be really deleted from server, because else they still show up even if i delete them from the panel.
any hint appreciated!
greetz
fusi