I plan to use Advanced directory listing to provide the site user with the functionality to list, preview and download only the files that belong to him/her. All users’ files are to be uploaded automatically by another application to a given directory on the web server. All files are pdf and xml types and are to be named using a standard structure such as “ username_doctype_docnumber.pdf ” in order to use the first part of the filename to filter the files on the directory and display a “custom” file listing to the user.
Is it possible to do this with this component?
It would be great if it was possible to use Joomla’s built-in user login functionality, so the users logs-in then the Advanced listing component uses the username info stored on the server session to filter all files in the directory and display the custom file listing that contains only the files with names that begin with that specific username string.
I have also thaught of another possible solution (though less elegant and secure) which consists of a first page that displays only the filter input box that already exists on Advanced listing component, then the user types his username or some kinf of user id, then the second page displays the filtered file listing.
Has anyone tried this before? I am kind of in a hurry with this. So any kind of feedback is very much appreciated.