Docs > Extensions > Plugins > Dirlist

The dirlist is used to assist with navigation through folders on the server. Basically, you specify a starting location (usually files, or pages) and all folders and subfolders will be returned as a csv list. It is only available to admins.

Use the list function then to format however you wish, preferably using the indent function to show the directory structure.

To use it, simply put [(dirlist files)] or [(dirlist pages)]. Go to the site.folders or site.pages locations to see this plugin in action.