Only display the files specific to the user

Home \ forums/topic \ Only display the files specific to the user

Support Home Page Forums Joomla Software Advanced Folder Listing Component Only display the files specific to the user

This topic contains 1 reply, has 1 voice, and was last updated by  digamarshall 4 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #784


    Hi there,

    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.

    Cheers and happy holydays,




    By the way I am ussing Joomla 3.3.6 series.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Only display the files specific to the user’ is closed to new replies.