Skip to content

Deprecated since 7.2

This page documents the classic module layer (CBController and cbInit()). It still works in every 7.x release, but new code should use resources and pages.

Use instead: Panel::renderHook('body.end', ...).

How To Put Your Own Javascript ​

Open the module controller. Find $this->script_js in cbInit() method.

php
$this->script_js = "
  $(function() {
     //Your custom javascript/jquery goes here
  });
";

What's Next ​

Table Of Contents ​

Released under the MIT License.