User Tools

  • (Use the same account as the official website)

Site Tools


How To Create a Backend Widget

Backend widgets are boxes of content that are displayed in the backend dashboard. Widgets are plug 'n play, meaning that if you upload a widget folder it is automatically loaded. A widget is defined by a folder named .widget in the end e.g. admin/mywidget.widget/. Inside the folder you need to create a configuration file that defines the widget and the file to load. See below for an example.

  return [
    'name' => 'My App',
    'file' => '', // The file to load that is holding the content
    'priority' => 0,
  <h1>Hello World</h1>
  <p>Lorem ipsum dolor</p>

See Also

how_to_create_a_backend_widget.txt · Last modified: 2021/05/14 01:27 by tim