Plugin screenshot thumbnail 1/1

Default Dashboard Plugin for Craft CMS

Default Dashboard is a Craft CMS plugin that makes it possible to setup default widgets for each of your users. Rather than setting up widgets for each user manually, or instructing your client - have them populated automatically.

This is achieved by setting the base user account from which to copy dashboard widgets from. Each time your users log into the control panel, Default Dashboard will populate their dashboard widgets. Default Dashboard is also smart enough to know when your widgets have changed, and to not update other users unless they have. This saves needless database updating.

Importantly, you can allow your users to modify their widgets by turning off the Override function. With this turned on, all users' widgets will be replaced when thet login, so any of their widgets will be lost. Turning this off still provides users with your initial default widgets, but they're free to alter them to their needs.

Control Panel

Install the plugin, go to Settings > Default Dashboard. Select the user from which to mirror dashboard widget from (most commongly yourself), and whether you want to force your widgets to overwrite their own.

Configuration File

For even more flexibility, make a config file as part of your regular Craft setup, and never have to worry about it again. Create a file named default-dashboard.php in your config folder for Craft. You'll have access to the following:

<?php

return [
    'userDashboard' => 1, // The User ID you want to mirror from
    'override' => true,
];

?>

Credits

Based on plugins One Dashboard, Duplicate User Dashboard.

Installation Instructions

To install this plugin, copy the command above to your terminal.

Active Installs
5,442
Version
2.0.0
License
MIT
Compatibility
Craft 3, Craft 4
Last release
July 2, 2022
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs