Appearance
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.
CBController
cbInit()
Use instead: The index.before render hook.
index.before
How to migrateThe new guide
$this->alert[] = ['message'=>'Your message goes here...','type'=>'info'];
In the type attribute you can fill info,success,warning,danger
type