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?