Wolfman Would it perhaps be a bit easier to first of all enable the "folder download" button in the 2nd topbar?

This can be added already from custom.js:
_c.config = {
// added 'download':
folder_buttons: ['download', 'new_file', 'new_folder', 'upload', 'reload'],
}
At least now there is the download button directly available without having to refer to a dropdown menu. It can be styled and emphasized with CSS. When clicked, it would download from the root folder. However, if the visitor navigates to another folder, it will download everything from the current folder. In your case, you might want to ONLY display the button then on the root folder with custom.css:
[data-current-path]:not([data-current-path="/"]) .button-folder-action[data-action="download"] {
display: none;
}
Then you could of course assign some additional "red help function via JS" if really necessary.
Wolfman It would be great if the download folder button from the submenu could also be displayed directly in the top right-hand corner of the user interface. Then my red notice after login could point directly to it. And if this button is then only displayed in the root folder, there would also be no confusion.
Well, it's almost working exactly like that with my suggestions above. The download-folder button is displaying grouped with other folder-specific buttons though, and not in the top topbar. If you want to have this button in the topbar, and I can only suggest:
- Add a custom download button in
index.php
.
- Add a javascript where "click" on the button triggers "click" on the original download-folder button.
- Hide the original download-folder button (with CSS)
- Hide the custom download button for all dirs except root.
This would essentially leave you with a download-button in the topbar, that is only available when viewing the root dir. When clicked, it will download everything relative to the root dir.