525

Product support

Get help in the plugin support forum.

  • Added on Mar 25, 2021
  • Current version: 1.0.1
  • Platform Compatibility
    v3.x not tested
    v2.x use latest
    v1.x not tested
  • Created by

Categories

ListFiles is an OctoberCMS Plugin that allows developers to display the contents of a given directory/folder in a list. Items in the list are downloadable links.

Simply install the ListFiles plugin and add the component to your page. Then select the directory/folder. ListFiles will get the list of files in that folder and turn it into a usable list.

Displays on the Frontend of the website and is ideal for the display of a large number of documents (board meeting minutes, papers, images) without having to register each one individually.

This plugin was developed by [Hardik Satasiya] (https://www.fiverr.com/hardik_satasiya)

  1. Install the ListFiles Plugin in an OctoberCMS website.

    • There is nothing in Settings or the Backend navigation
    • ListFiles exists solely as a component
  2. Create or open a CMS Page

    • Add the ListFiles component to the page
    • Drag the component to the place on the page where the list will be displayed
  3. Use the selector to choose which folder to display

    • The default directory is 'media'
    • Add to the path as necessary
    • e.g., /board-meetings/2020/november
  4. Add as many components as necessary to the page

    • one component per folder to display
  5. Optional: Fork the component to customize look and flow of the list

    • ListFiles provides a simple list, but can be customized
  • Found the plugin useful on 31 Jan, 2023

    Very good Plugin, does as it's told.

    As of October v3.x you have to change something for it to work or else it won't load the Page you use the Component on.

    In "plugins/niainteractive/listfiles/components/ListFiles.php" search line 39

    Here you have to change like this: $mediaLib = \System\Classes\MediaLibrary::instance(); to $mediaLib = \Media\Classes\MediaLibrar::instance();

    Then this plugin will be v3.x compatible!

  • author

    Replied on 31 Aug, 2024

    Apologies for the long delay in response and THANK YOU!

    Changes made. Let me know if there is anything else.

1.0.1

Initialize plugin.

Mar 24, 2021