Configuring#
Widgets can be added to the dashboard by modifying the widgets
array in the config/statamic/cp.php
file.
// config/statamic/cp.php'widgets' => ['getting_started',['type' => 'form','form' => 'contact','fields' => ['name', 'email'],'limit' => 10,],],php
Options#
form
The form's handle.
width
Width of dashboard area as a percentage. Accepts 25
, 33
, 50
, 66
, 75
and 100
.
sites
Determines the sites in which this widget should be displayed.
limit
Limit number of submissions. Default: 5.
fields
An array of field handles to include in the list.
title
The title of the widget. Defaults to the form name.