This article covers a Bloomreach Experience Manager version 11. There's an updated version available that covers our most recent release.

04-07-2016

Customize icons for documents in the document listing

The CMS picks up custom icons for document types when they exist. The lookup path is res/ relative to the class org.hippoecm.frontend.plugins.standards.icon.BrowserStyle.

Example

To customize the icon for documents of type

myproject:newsitem

add the following file to the 'cms' module of your project:

cms/src/main/resources/org/hippoecm/frontend/plugins/standards/icon/res/myproject-newsitem-32.svg

It's also possible to use a PNG icon instead of an SVG.

Note that the filename of the icon should be [namespace]-[documenttype]-32.[extension]. The icon gets scaled appropriately, so it doesn't have to be 32 x 32px, it only has to look good when scaled to 32 x 32px.
Rebuild the project to see your changes.
Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?

    We rely on cookies

    to optimize our communication and to enhance your customer experience. By clicking on the Accept and Close button, you agree to the collection of cookies. You can also adjust your preferences by clicking on Manage Preferences. For more information please see our Privacy policy.

    Manage cookies
    Accept & close

    Cookies preferences

    Accept & close
    Back