CP Site Icons plugin for Craft CMS
Display site icon when editing entries, to be able to distinguish between different sites.
This plugin requires Craft CMS 3 or 4
To install the plugin, follow these instructions.
Open your terminal and go to your Craft project:
Then tell Composer to load the plugin:
composer require nthmedia/cp-site-icons
In the Control Panel, go to Settings → Plugins and click the “Install” button for CP Site Icons. Or enable it through the command line:
./craft plugin/install cp-site-icons
You can choose if you want the site handle or site language as key to distinguish your sites. This key is also the key of the icons array in the config:
/config/cp-site-icons.phpand add your configuration, for example:
<?php return [ 'icons' => [ 'de' => '🇩🇪', 'de-AT' => '🇦🇹', 'en' => '🇬🇧', 'es' => '🇪🇸', 'fr' => '🇫🇷', 'nl' => '🇳🇱', 'nl-BE' => '🇧🇪', ], ];
- Brought to you by NTH media