Plugin screenshot thumbnail 1/1

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

Installation Instructions

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

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