2.0.1releasedBackend Assets
Add custom backend assets.
Clone URLhttps://github.com/animaux/backend_assets.git
Add as a submodulegit submodule add https://github.com/animaux/backend_assets.git extensions/backend_assets --recursive
Compatibility
2.x.x | 2.1.x | 2.2.x | 2.3.x | 2.4.x | 2.5.x | 2.6.x | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.7.4 | 2.7.5 | 2.7.6 | 2.7.7 | 2.7.8 | 2.7.9 | 2.7.10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No | No | No | 2.0.1 | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
Readme
Backend Assets
Add custom styles and scripts to the backend.
Locations
You need to create the folder and files manually if they don’t exist already.
/workspace/backend-assets/custom.css
/workspace/backend-assets/custom.js
JS
You can get variables from the Symphony Environment f. e. via Symphony.Context.get('env').page
Acknowledgement
This extension is based on Michael Eichelsdörfer's Admin CSS Override and is a actually a fork of an extension from Nils Hörmann.
Version history
Requires Symphony 2.3
- Simplified asset paths/names
Requires Symphony 2.3
- Moved asset location to the workspace
- Added script assets
- Renamed extension