官术网_书友最值得收藏!

Giving ADempiere your identity

If you are reading this book, you have, or may have, some customization or enhancement needs in your mind. Be it look and feel (UI color, CSS, icons and so on), name, or logo. Effectively, we would have a practical need to give ADempiere our own identity. Here we will discuss the various points where you may make the changes to have your own identity of the application.

Getting ready

Verify that you have completed the following recipes:

  1. Creating the Installer from the source code.
  2. Installing ADempiere.
  3. Debugging the ADempiere server application.

How to do it...

  • Change, say, NAME to your application name in base/src/org/compiere/ADempiere.java. Additionally, you may also change the splash images, product images, product sub-title, and so on
  • Change, say, APP_NAME to your application name in zkwebui/WEB-INF/src/org/adempiere/webui/ADempiereWebUI.java
  • CSS—For the web application, which is based on the ZK UI framework, you can modify the<ADEMPIERE_SVN>\tags\adempiere360lts\zkwebui\css\ default.css.dsp file to modify the styles
  • Images—There are lots of images. They include images used as ADempiere logos/icons of various kinds, button icons, toolbar icons, and other UI-related images. The simplest way to replace an existing image with yours is to:
    • Search for the files with .ico,.png,.jpg,.jpeg, and.gif extensions in the<ADEMPIERE_SVN>\tags\adempiere360lts folder
      How to do it...
    • Find the image of your interest and note down that image dimension and type (jpg/png/gif/ico/and so on)
    • Create your image of the same dimension and type
    • Replace the existing image with your image
    • Launch the ADempiere application and notice the difference

Here is a custom identity that I have given by changing the application name and the logo:

How to do it...

In the preceding diagram, we have changed the application name to Eagle and the logo with my EagleRP product logo. Similarly, you shall be able to make other changes you may need to give ADempiere your identity.

After you have done this, you may also want to commit the same in your project repository so that for all the subsequent builds and deployments, you will use this repository where all the CSS and new images will be part of the installer.

See also

  • Creating the installer from the source code
  • Installing ADempiere
主站蜘蛛池模板: 德州市| 阿荣旗| 两当县| 高邑县| 湟源县| 东城区| 马鞍山市| 莎车县| 松阳县| 内黄县| 四会市| 确山县| 泗水县| 腾冲县| 济宁市| 克什克腾旗| 勐海县| 和硕县| 雅安市| 洪湖市| 台州市| 卓资县| 鹰潭市| 临高县| 潜江市| 阳城县| 依兰县| 蚌埠市| 金塔县| 永宁县| 永康市| 祁门县| 越西县| 南木林县| 达拉特旗| 涞水县| 内乡县| 阿图什市| 城固县| 治多县| 武宣县|