chameleon-system/javascript-legacy-bundle

Provides JavaScript includes for legacy systems

7.1.0 2020-11-12 16:24 UTC

README

The JavaScriptLegacyBundle contains the HTML header and footer includes which were previously located in TUserModelBase (it could as well be a HtmlIncludesLegacyBundle, but is explicitly designed to provide legacy access to the web/chameleon/javascript directory which itself wasn't named properly).

Documentation

The documentation is completely contained in this file.

Installation

Add the bundle to your project's composer.json and update the project. Add a symlink to the resources:

cd web/chameleon ln -s ../../vendor/chameleon-system/javascript-legacy-bundle/Resources/public/javascript

The resources will be automatically added to the page's header and footer through a registered event listener.

License

The JavaScriptLegacyBundle is not publicly licensed.

Notes

The includes will not be added if CMS_DEACTIVATE_DEFAULT_MODULE_HEAD_INCLUDES is set to false.