Jump to content

File from folder fieldtype


Martijn Geerts
 Share

Recommended Posts

Fieldtype File from folder

I “needed” a module to select a file from a folder, using an <select> and store the filename.

There's only 1 setting: The path to the folder to list. The Path is relative to the templates directory.

So if your files are located in /site/templates/scripts/, type scripts/ in the `path to files` setting.

here's the gist, enjoy.

This module is released because it was useful for me in several projects.

Edited by Martijn Geerts
  • Like 6
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...