i am wondering before i try my luck if it’s possible to access files from another htdocs to i.g. use the file()->download() method … (when the file is also protected with htaccess to deny access)
$file = new Media($absolutePath); $file->download();
does this also apply to have a select field in panel which usually shows certain files as a selection?
i guess i might be able to work with json for the select field otherwise i guess.
You can’t use files outside the content folder as options for a select field. You can either hardcode them in the blueprint or use a JSON file if it needs to be dynamic.
thanks, that pointed me into the right corner and i could archive what i was going for.