How to change the menu color of non-editable entities (Email Templates)?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alexis
    Junior Member
    • Apr 2025
    • 24

    #1

    How to change the menu color of non-editable entities (Email Templates)?

    Hello,

    How can I change the color of an entity that is not editable ?

    To choose a color for a entity you usually go to ADMINISTRATION > ENTITY MANAGER > TARGET LISTS > EDIT
    and you can change the color.


    So target lists and most of the entities are customizable in the Entity Manager
    But not Email Templates.


    Click image for larger version

Name:	image.png
Views:	0
Size:	8.8 KB
ID:	124898
    So it has to stay "gray" in the menu...

    How could I change its color natively ?
    I'm on EspoCRM version : 9.2.7

    Alexis

    P.S : A hack would be to add a "URL" tab that link to /#EmailTemplate, then it's possible to define a color. But I wanted to point that small limitation.
  • rabii
    Active Community Member
    • Jun 2016
    • 1384

    #2
    could be done via code simple as below

    create a file called EmailTemplate.json under custom/Espo/Custom/Resources/metadata/clientDefs with below content - specify the color you want

    PHP Code:
    {
        
    "color""#5e55ed"


    then clear cache and rebuild and the color of the icon menu will change
    Rabii
    EspoCRM Custom Development

    🔗 Portfolio & Builds

    Comment

    Working...