[SOLVED] RE: Adding custom icons to plugin portlet

thumbnail
4914785, modified 15 Years ago. Junior Member Posts: 67 Join Date: 4/30/10 Recent Posts
Hello, all!

How could I add a new icon image to a plugin portlet such that I can use it with <liferay-ui:icon />? I tried to replicate the themes/images structure in the docroot/html directory of the plugin, but it did not work...

Also, would it be possible to do the same thing in a hook?

Thanks in advance!
thumbnail
4914785, modified 15 Years ago. Junior Member Posts: 67 Join Date: 4/30/10 Recent Posts
Just in case, I solved it: I put the icons on the portal theme, at the docroot/_diffs/image/common directory. When I put the "email.png" file there, I could use the <liferay-ui:icon image="email" /> tag.