Plugin screenshot thumbnail 1/1

CP Site Icons plugin for Craft CMS

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

Screenshot

Requirements

This plugin requires Craft CMS 3 or 4

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. Or enable it through the command line:

     ./craft plugin/install 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
197
Version
2.0.1
License
MIT
Compatibility
Craft 3, Craft 4, Craft 5
Last release
September 27, 2023
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs