Announcement

Collapse
No announcement yet.

Location of icons

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Location of icons

    Dear all,

    I would like to use custom icons to show in the menu bar, can someone help me on how to do this?

    Many thanks!

    Joost

  • #2
    I think you can define the icon in any pathway if you are creating from a custom entity/field. I believe EspoCRM use Bootscrap for it icon so if you are familiar, here is one thread where the user want to change/add a Whatapps icon. Maybe it will give you some hint:

    https://forum.espocrm.com/forum/deve...-in-phone-link

    And another that also did icon: https://forum.espocrm.com/forum/deve...side-a-dashlet

    Comment


    • #3
      Hi,

      The icon class to be displayed in the navbar for each entity is defined at the entity clientDefs metadata file.

      For example for "Task" the icon class is "fas fa-tasks" and this is defined at this script: https://github.com/espocrm/espocrm/b.../Task.json#L83

      If you create a new entity class or modify an existing entity through the Admin GUI Espo will allow you to choose an icon for your custom entity, so this is an easy way to see all the icons already available. Administration > Entity Manager > (your entity) > Edit

      espcrm is correct, Espo uses Bootstrap fontawesome / glyphicon icons stored at the folder client/fonts

      If you are talking about additional fontawesome icons (not those already available through the Admin GUI) as I understand the icons available are set in the theme but I don't have enough skills to tell you how to modify the theme or to incorporate custom icons.

      If you are talking about adding custom designs to the fontawesome library, here's a Stack Overflow link that addresses that issue. https://stackoverflow.com/questions/...o-font-awesome

      Welcome to the forum :-)

      Comment


      • #4
        You can add your own icons using /client directory. We already did something like that with https://feathericons.com/
        Screenshot: https://i.imgur.com/o13wsOk.png

        Then you'll have to use css to use that icons i think. I would have to check that in our espocrm, because we did that like 2 years ago

        Comment


        • #5
          Thanks for all the help!

          Comment

          Working...
          X