About Admin Custom Files
Add custom scripts & styles to the admin with optional dependencies
Admin helper modules are those that provide helpful tools, UI enhancements or optimizations to the admin panel (excluding Fieldtype or Inputfield modules).
Close to stable, but users are advised to be cautious and test thoroughly.*
|Compatibility||2.4, 2.5, 2.6, 2.7, 3.0|
|Date Added||September 14, 2014|
|Last Updated||October 12, 2017|
Module to add custom styles & scripts to the admin, optionally on admin process based.
This module's files should be placed in /site/modules/AdminCustomFiles/
How to install or uninstall modules
AdminCustomFiles is for ProcessWire 3 and up, if you are looking for the non name spaced AdminCustomFiles, you can still download it at GitHub.
On install we try to create the AdminCustomFiles folder (/site/templates/AdminCustomFiles/). When This folder doesn't exist, please create it manually, then Module config will confirm the existence of AdminCustomFiles directory.
Default scripts and styles
We will inject .css and/or .js in the admin when the filename starts with the running process name and the file is in the AdminCustomFiles directory. Next you need to activate it for the process.
Theme based scripts and styles
Put files in the AdminCustomFiles directory that start with the currently active AdminTheme name and those files should get loaded.
Dependencies will load before the other injected files. See the module configuration for more details.
Adds a file hash get variable to all custom files to force a fresh copy from the server.
Additional ProcessWire information in the console. See: console.log(config.AdminCustomFiles).
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.