OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums 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 9 years, 7 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #25607

    hemham914
    Participant

    Hello,

    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.

    Thanks,


    ~Coding my life away~

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #25608

    Alexandr Smaga
    Participant

    Hi.

    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)

The forum ‘OroCRM – HTML, JavaScript, CSS, Design Questions’ is closed to new topics and replies.

Back to top