Page 1 of 1

Change toolbar icons

PostPosted:Tue Nov 19, 2013 11:53 am
by Surabhi
I want to change the images of toolbar icons. Is there any way to customize/change icons of toolbar? I am working on ---
Browser - Mozilla Firefox
OpenKM - version 6.2
Operating System - Ubuntu 12.4

Re: Change toolbar icons

PostPosted:Wed Nov 20, 2013 5:24 pm
by jllort
Without change in source code and compile is not possible.

Re: Change toolbar icons

PostPosted:Thu Nov 21, 2013 7:34 am
by Surabhi
Thank you very much for the quick response.

Re: Change toolbar icons

PostPosted:Fri Nov 22, 2013 11:16 am
by Surabhi
I downloaded the source code of OpenKM but am unable to locate the file where the icon images are to be changed. Can you please help me locate that file and let me know how to compile that file after making the desired changes. Thank you in advance.

Re: Change toolbar icons

PostPosted:Sat Nov 23, 2013 5:19 pm
by jllort
Some icon definitions are at com.openkm.frontend.client.util.OKMBundleResources and other icons are at /src/resources/com/openkm/frontend/public/img/icons etc...

Re: Change toolbar icons

PostPosted:Wed Nov 27, 2013 6:20 am
by Surabhi
I imported the openkm source code into eclipse juno, but I am getting some errors ---

- BaseServlet cannot be resolved
- Config cannot be resolved
- Config cannot be resolved to a variable

Main error being --- Import com.openkm cannot be resolved.

Please let me know where am I going wrong? Please help!

Re: Change toolbar icons

PostPosted:Fri Nov 29, 2013 6:28 pm
by jllort
did you follow the installation guide, install maven etc... http://wiki.openkm.com/index.php/Developer_Guide because seems you get some compilation error

Re: Change toolbar icons

PostPosted:Mon Dec 02, 2013 12:26 pm
by Surabhi
Thank you. My mistake. I left few configurations.
I successfully compiled the project. I created a war file of openkm project by 'mvn package' command. Then I copy pasted my OpenKM.war file in tomcat's webapps folder, restarted catalina. But when I login to openkm, its blank!
First it was showing this error --- could not load an entity com.openkm.dao.bean, but not now and there is no content, only the partitions! Please let me know what I am missing or doing wrong?

Re: Change toolbar icons

PostPosted:Tue Dec 03, 2013 10:22 am
by Surabhi
Do I have to deploy OpenKM.war file or OpenKM.ear file? If OpenKM.ear file then how do I generate it and if war file then how to generate it (war file created from 'mvn package' does not work correctly). Also how to deploy that ear/war file to tomcat. Please help!

Re: Change toolbar icons

PostPosted:Wed Dec 04, 2013 5:30 pm
by jllort
You must download our openkm tomcat bundle ( or use community installer ) and then replace that war for yours. Tomcat has several configuration parameters is not default tomcat.