flexyFileContent

The flexyFileContent plugin is a bit like a hotrod gallery script. This plugin examines the content of the current $_SESSION['subDirFilePath'] directory. Note too that any attempt to trick the flexyFileContent plugin into examining any files or directories not found underneath the fragments subdirectory will fail.

For each file and subdirectory found in the current subDirFilePath the system uses mimetypehandler.class.php to see if this is an allowed file type. If so a default display is attempted.
if the current URL is ?page=fishing/Lures/LazyIke.jpg the system will (for the block level element that uses this plugin) will display that image. Further, if the current subDirFilePath also contains an optional file named LazyIke.cap, the contents of fragments/fishing/Lures/LazyIke.cap will be placed below that image, as an image caption.

Any fragment files in the current subDirFilePath with a *.htm file name suffix will be treated as an HTML fragment, displayed as is inside the current division.

Text fragment files (such as LazyIke.txt) are similar. But for each line the text file a <br/>> line break will be tacked on to the end of each display line.

Special display handling for a new file type, perhaps for something like programming codes, does not yet exist. Providing it would require developer additions to mime_types.ini, mimetypehandler.class.php and to plugins/flexyFileContent.php