Download the PHP package raffaelj/cockpit-dashboardgrid without Composer
On this page you can find all versions of the php package raffaelj/cockpit-dashboardgrid. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download raffaelj/cockpit-dashboardgrid
More information about raffaelj/cockpit-dashboardgrid
Files in raffaelj/cockpit-dashboardgrid
Package cockpit-dashboardgrid
Short Description Custom dashboard grid for Cockpit CMS
License MIT
Homepage https://github.com/raffaelj/cockpit_DashboardGrid
Informations about the package cockpit-dashboardgrid
DashboardGrid
This addon is not compatible with Cockpit CMS v2.
See also Cockpit CMS v1 docs, Cockpit CMS v1 repo and Cockpit CMS v2 docs, Cockpit CMS v2 repo.
Custom dashboard with grid for Cockpit CMS
This addon adds a top and a bottom area around the core dashboard widget areas. The number of columns and rows can be adjusted via config file.
Important: If you don't want to use this addon anymore, you have to move all widgets to one of the core areas before you remove it (or you have to delete the options in the cockpit/options
table manually). Otherwise Cockpit will throw a fatal error, because it tries to call a function on a non-existent object in the dashboard function.
Tip: Zoom out before rearranging widgets.
Installation
Copy this repository into /addons
and name it DashboardGrid
or
Configuration
Add these options to cockpit/config/config.yaml
:
How to add custom areas
Besides changing the number of rows and columns, you can add your own areas. With the code below, an area with full width is added above the one, that was provided with this addon.
Content of path/to/custom/dashboard_area.php
: