Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

design.ini [JavaScriptSettings]

The settings of [JavaScriptSettings] in design.ini: JavaScriptList, FrontendJavaScriptList, BackendJavaScriptList, ClassicBackendJavaScriptList

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/design/JavaScriptSettings.md

On this page

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.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/design.ini.append.php for one siteaccess,
  • extension/<extension>/settings/design.ini.append.php in 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.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# settings/override/design.ini.append.php
[JavaScriptSettings]
# an empty "ClassicBackendJavaScriptList[]" first replaces the shipped list; without it the items are added
ClassicBackendJavaScriptList[]
*/ ?>

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x