feat: Event Hooks For CDA Parse Engine (#6731)
[openemr.git] / custom / assets / custom.yaml.example
blobd300e44aab2a6d73c223c76f2de27cc005f09d38
1 ---
2 # In the case that custom.yaml file found It's parse by \OpenEMR\Core\Header::includeAsset
3 # after config/config.yaml. the structure of custom.yaml is equal to config.yaml.
5 # Use %KEY-NAME% in this file and it will be replaced with the value of
6 # $GLOBALS['KEY-NAME'] if it exists. If the key name does not exist, this script
7 # won't work (Need to build in proper error handling @TODO RD 2017-05-16
9 # Basic example usage (from config.yaml):
10 # assets: Top-level key name (Required)
11 #     asset-short-name: Short name
12 #         basePath: %assets_static_relative%/full/path/to/deepest/common/file
13 #         script: null filename or null
14 #         link: jquery-ui.min.css filename or null
15 #         autoload: true (defaults to false)
16 #         loadInFile: relative path to file
18 # Inject custom assets example
19 # assets:
20 #     always-load:
21 #         basePath: %webroot%/custom/assets/
22 #         script: js/add_custom_link.js
23 #         link: css/add_custom_link.css
24 #         autoload: true
25 #     fix-only-messages:
26 #         basePath: %webroot%/custom/assets/
27 #         script: js/fix_messages.js
28 #         loadInFile: interface/main/messages/messages.php