Skip to content
A Craft CMS plugin to set default dashboard widgets for users.
Branch: craft-3
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
screenshots
src
.gitignore
CHANGELOG.md
LICENSE.md
README.md
composer.json
config.codekit3

README.md

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.

Installation

You can install Default Dashboard via the plugin store, or through Composer.

Craft Plugin Store

To install Default Dashboard, navigate to the Plugin Store section of your Craft control panel, search for Default Dashboard, and click the Try button.

Composer

You can also add the package to your project using Composer.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require verbb/default-dashboard
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Default Dashboard.

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.

Show your Support

Default Dashboard is licensed under the MIT license, meaning it will always be free and open source – we love free stuff! If you'd like to show your support to the plugin regardless, buy us a 🍻. Please note that this does not entitle you to any form of support, and is completely optional.

Beerpay

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.