Covering OroCRM topics, including community updates and company announcements.  Subscribe

Open-Source CRM software Forums OroCRM OroCRM – HTML, JavaScript, CSS, Design Questions How to modify custom entity icons in navigation?

This topic contains 1 reply, has 2 voices, and was last updated by  Alexandr Smaga 2 years, 7 months ago.

  • Creator
  • #5390



    Since I updated to 1.3.0, I’ve decided to have the navigation panel on the left hand side (awesome feature btw, love it).

    I do have a question.. I have 5 custom bundles that have spots in the navigation panel, but they all have the same default icon (looks like 9 dots in a square). How can I make these change on a per-entity basis? I’m sure its simple I just can’t seem to find it.


    ~Coding my life away~

Viewing 1 replies (of 1 total)
  • Author
  • #5419

    Alexandr Smaga


    Do you want to display icons based on entity configuration ? This could be done using event listener on oro_menu.configure.application_menu event and icons could be retrieved
    from @oro_entity_config.config_manager service in following way

    Or just add icon to root item ?
    If only for root items then you can add icon class to item configuration , for example

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.