A ProcessWire module for editing files in the admin area.
Admin helper modules are those that provide helpful tools, UI enhancements or optimizations to the admin panel (excluding Fieldtype or Inputfield modules).
Non-stable. Not yet intended for use in production environments. *
|Authors||matjazp, fbg13, tpr|
|Compatibility||2.5, 2.6, 2.7, 3.0|
|Date Added||November 9, 2016|
|Last Updated||November 18, 2016|
This module's files should be placed in /site/modules/ProcessFileEdit/
How to install or uninstall modules
Allow modal editing of files on filesystem. The list of directories and filesare displayed, clicking on file opens modal window with codemirror editor. If file is an image, viewer is opened in modal. If file is used as a template, link to the template edit is provided. Intended primarily for superusers, give other users file-edit permission.
This is not the replacement for full blown editor. Be aware that if you makechanges to files that cause PW to throws an error in admin, you loose access to this module too and you will need some other means to access the file again!
Path to the directory from which to display directory tree. By default it's setto $config->paths->site
Comma separated list of extensions to filter files by. By default "php,module,js,css".
Select to include or exclude files based on the extensions defined in ExtensionFilter. Include is default, so files matching extensions will be displayed in directory/file tree.
The height of the editor textarea, default is "auto", can be any height like "450px".
Copy the files to the /site/modules/ProcessFileEdit folder, log in to your ProcessWireadmin and go to the Modules page. Click the Refresh button and then Install. More info at http://modules.processwire.com/install-uninstall/
Copyright (c) 2016 Florea Banus George (https://github.com/f-b-g-m/ProcessFileEdit).
Fork by Matjaž Potočnik (https://github.com/matjazpotocnik/ProcessFileEdit).
Big thanks to Roland Toth.
Support forum: https://processwire.com/talk/topic/14276-file-editor/
Licensed under the MIT license. See the LICENSE file for details.
No comments yet. Be the first to post!
Your e-mail is kept confidential and not included with your comment. Website is optional.
- Admin Helpers
- Core Modules
- Development Tools
- Field Types
- File Validator
- Input Fields
- Language Modules
- Language Packs
- Markup Generation
- Premium Modules
- Process Modules
- Proof of Concept
- Site Profiles
- Social, Feeds, Services
- Text Formatters
- Other Modules
- Users and Access
*Use modules at your own risk. There are no guarantees or warranties. It is recommended that you backup your site and database before installing new modules.