Custom Report Widgets
This plugin allows to create custom widgets on the October CMS dashboard
Custom Report Widgets
This plugin allows to create custom widgets on the October CMS dashboard
Features:
- Dynamically add report widgets to the user dashboard
- Widgets support HTML as well as PHP contents
- Permission to manage widgets ("Access to manage custom widgets")
- Widget configuration is stored in the database
Installation via Command Line
php artisan plugin:install Olabs.Widgets
After adding this plugin it will create Widget icon in the back-end menu. You can manage which users can access the widgets UI.
Create a new widget on the Widgets page. You can use PHP short tags in the widget content field.
Sample code:
<div class="report-widget widget-welcome">
<h3>Hello World!</h3>
<h5><?= e(trans('olabs.widgets::lang.plugin.description')) ?></h5>
</div>
On the dashboard click Manage Widgets > Add Widget: Add Custom Widget. This will add new widget with a default content to the dashboard. Click Widget configuration and choose Custom Widget.
| 1.0.3 |
Bug Fix Jan 30, 2019 |
|---|---|
| 1.0.2 |
Bug Fix : php code appears as text just above the widget due to php short tag off. Jan 30, 2019 |
| 1.0.1 |
Created table olabs_widgets_reportwidgets Oct 05, 2018 |
| 1.0.0 |
First version of Widgets Oct 05, 2018 |