Case Study 2 - Customize Folder Listing

In this case study, we will demonstrate the way to have a HTML page before listing the files in the filesystem. This can be used to display some reminders or notes, before the user enter into the folder.

  1. For example, we have a folder named testing. In the folder, there are some report templates, datasources, etc.
  2. In the folder, create a HTML file and name it folder.html with the following:
    See <a href="?folder.html=ignore">Show Files Under 
      testing Folder</a>
  3. When a user clicks into the folder, the user will not see the usual listing of files. Instead, the user will see the HTML page created.
  4. On clicking Show Files Under testing Folder, the user will see the page listing all files in the folder.