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.
-
For example, we have a folder named testing. In the folder, there are
some report templates, datasources, etc.
-
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>
-
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.
-
On clicking
Show Files Under testing Folder, the user will see the page listing all files
in the folder.