Discussion:
Integrating a file-browser into the WP admin area
David Anderson
2014-01-31 15:24:14 UTC
Permalink
Hi,

I have a need to integrate a file browser into a settings page in the WP
dashboard. It will show a directory tree (from the server), and allow
the user to select as many files or directories as they wish.

I've had a Google, and this - http://www.jstree.com
<http://www.jstree.com/> - with the checkbox plugin -
http://www.jstree.com/plugins - looks like a good bet.

Does anyone have a better suggestion?

Does anyone have actual working code for an integration of something
that can do this task (whether using JSTree or something else)?

Many thanks,
David
--
UpdraftPlus - best WordPress backups - http://updraftplus.com
WordShell - WordPress fast from the CLI - http://wordshell.net
Chris McCoy
2014-01-31 15:42:25 UTC
Permalink
Maybe something like this?

http://wordpress.org/plugins/add-from-server/screenshots/
Post by David Anderson
Hi,
I have a need to integrate a file browser into a settings page in the WP
dashboard. It will show a directory tree (from the server), and allow
the user to select as many files or directories as they wish.
I've had a Google, and this - http://www.jstree.com
<http://www.jstree.com/> - with the checkbox plugin -
http://www.jstree.com/plugins - looks like a good bet.
Does anyone have a better suggestion?
Does anyone have actual working code for an integration of something
that can do this task (whether using JSTree or something else)?
Many thanks,
David
--
UpdraftPlus - best WordPress backups - http://updraftplus.com
WordShell - WordPress fast from the CLI - http://wordshell.net
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Otto
2014-01-31 15:42:59 UTC
Permalink
I used jstree in
https://wordpress.org/plugins/dropbox-photo-sideloader/ , but for
displaying a list of files from Dropbox, not from the local server.
Same basic principle though.

-Otto
Post by David Anderson
Hi,
I have a need to integrate a file browser into a settings page in the WP
dashboard. It will show a directory tree (from the server), and allow the
user to select as many files or directories as they wish.
I've had a Google, and this - http://www.jstree.com <http://www.jstree.com/>
- with the checkbox plugin - http://www.jstree.com/plugins - looks like a
good bet.
Does anyone have a better suggestion?
Does anyone have actual working code for an integration of something that
can do this task (whether using JSTree or something else)?
Many thanks,
David
--
UpdraftPlus - best WordPress backups - http://updraftplus.com
WordShell - WordPress fast from the CLI - http://wordshell.net
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Loading...