design.ini [JavaScriptSettings]
The block [JavaScriptSettings] of settings/design.ini, with 4 setting(s).
Never edit settings/design.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/design.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/design.ini.append.phpfor one siteaccess,extension/<extension>/settings/design.ini.append.phpin an extension (read when the extension is active).
JavaScriptList
List of JavaScript files to include in pagelayout
DEPRECATED in favor of [Frontend|Backend]JavaScriptList[]
Default: an empty list.
# settings/override/design.ini.append.php
[JavaScriptSettings]
# an empty "JavaScriptList[]" first replaces the shipped list; without it the items are added
JavaScriptList[]
*/ ?>FrontendJavaScriptList
JavaScriptList[]=tools/ezjsselection.js
Same as above for frontend designs
Default: an empty list.
# settings/override/design.ini.append.php
[JavaScriptSettings]
# an empty "FrontendJavaScriptList[]" first replaces the shipped list; without it the items are added
FrontendJavaScriptList[]
*/ ?>BackendJavaScriptList
Same as above for backend (admin) designs. These scripts are on every admin page and run without jQuery: admin4
and admin4l load no jQuery on every page. A template whose scripts need jQuery or Exponential UI (exp::*) requests
them itself with ezscript_require, outside any cache-block (doc/eng-us/features/6.0/jquery4-and-yui-removal.md).
leftmenu_widthcontrol.js is the column grip of design/admin, whose page_leftmenu.tpl loads it itself; admin4 has
its own in ezadmin_menubar.js and does not ship the file. Do not add it here.
Default: a list of 5: tools/ezjsselection.js, lib/ezjslibimagepreloader.js, popupmenu/ezpopupmenu.js, contentstructuremenu_dynamic.js, ezadmin_menubar.js.
# settings/override/design.ini.append.php
[JavaScriptSettings]
# an empty "BackendJavaScriptList[]" first replaces the shipped list; without it the items are added
BackendJavaScriptList[]
BackendJavaScriptList[]=tools/ezjsselection.js
BackendJavaScriptList[]=lib/ezjslibimagepreloader.js
BackendJavaScriptList[]=popupmenu/ezpopupmenu.js
BackendJavaScriptList[]=contentstructuremenu_dynamic.js
BackendJavaScriptList[]=ezadmin_menubar.js
*/ ?>ClassicBackendJavaScriptList
Scripts the older admin designs (admin and admin3, chosen with the UI switch) still expect on every page: their
page_head_script.tpl loads them after jQuery and BackendJavaScriptList (adminui once its package reads it too);
admin4 and admin4l do not read this list. An extension that used to put a jQuery script or an exp:: module into BackendJavaScriptList for those
designs adds it here.
Default: an empty list.
# settings/override/design.ini.append.php
[JavaScriptSettings]
# an empty "ClassicBackendJavaScriptList[]" first replaces the shipped list; without it the items are added
ClassicBackendJavaScriptList[]
*/ ?>Related
Generated by ./console exp:help:examples from settings/design.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.