CP Site Icons



CP Site Icons plugin for Craft CMS 3.x

Display site icon when editing entries, to be able to distinguish between different sites.

Screenshot

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation

To install the plugin, follow these instructions.

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

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

     composer require nthmedia/cp-site-icons
    
  3. In the Control Panel, go to Settings β†’ Plugins and click the β€œInstall” button for CP Site Icons.

  4. 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:

  5. Create /config/cp-site-icons.php and add your configuration, for example:

<?php

return [
    'icons' => [
        'de' => 'πŸ‡©πŸ‡ͺ',
        'de-AT' => 'πŸ‡¦πŸ‡Ή',
        'en' => 'πŸ‡¬πŸ‡§',
        'es' => 'πŸ‡ͺπŸ‡Έ',
        'fr' => 'πŸ‡«πŸ‡·',
        'nl' => 'πŸ‡³πŸ‡±',
        'nl-BE' => 'πŸ‡§πŸ‡ͺ',
    ],
];

Credits


Free

Package Name

To install this plugin, search for its package name on the Plugin Store and click β€œInstall”.


Information

  • Version 1.0.4
  • Last Update 10/30/2021
  • Active Installs 8
  • Compatibility Craft 3
  • License MIT
  • Categories Localization, Control Panel

Report an issue