Skip to main content

ADempiere Theme Management

ADempiere Web UI have implemented only single default theme. The theme folder structure will be something similar to the below

-zkwebui
   |-theme
       |-<theme name>
           |-images
           |-js
           |-zkex
           |-zkmax
           |-zul
               |-css
                   ext.css.dsp
                   norm.css.dsp
                   zk.wcs
               |-html
               |-img
               |-less
                   |-font
                   _header.less
                   _reset.less
                   _zkmixins.less
                   _zkvariables.less
                   norm.less
               login-info.zul

I am not going to explain more. Find more details here : http://wiki.adempiere.net/ZK_Theme_Development

Here I am going to tell you 2 things: 1) Which CSS section need to edit, 2) What are the image file names. See the ITheme.java (https://github.com/adempiere/adempiere/blob/develop/zkwebui/WEB-INF/src/org/adempiere/webui/theme/ITheme.java) for the CSS file details and the logo details. You will find which file to change to get your expected logo/color.

Also see ThemeManager.java (https://github.com/adempiere/adempiere/blob/develop/zkwebui/WEB-INF/src/org/adempiere/webui/theme/ThemeManager.java). You can see several system configurators. Those configurators may not be in your system configuration window. What you can do is, create the sys config with the same name and give the respective search key. It will take that value while executing the server service.

The color, width and all can be changed in the CSS file - theme.css.dsp. You can find it here (https://github.com/adempiere/adempiere/blob/develop/zkwebui/theme/default/css/theme.css.dsp). Go through the details, you can read the theme colors and other design entities.


Popular posts from this blog

Tuning postgresql for better performance - ADempiere ERP

PostgreSQL is a highly customizable relational database management system (RDBMS) with a dazzling array of configuration options.   The postgresql.conf file is located in the \PostgreSQL\9.x\Data folder. You can tune the following sections of the postgresql.conf file to get the best performance.     CONNECTIONS AND AUTHENTICATION In this section change the following entries to the following: max_connections = 350 authentication_timeout = 7min RESOURCE USAGE (except WAL) In this section change the following entries to the following: shared_buffers = 256MB : PG Backends that need to access tables first look for needed blocks in this cache. If they are already there, they can continue processing right away. The change can be made with a   postmaster  command-line flag or by changing the value of   shared_buffers temp_buffers = 32MB max_prepared_transactions = 20 work_mem = 1024MB maintenance_work_mem = 1024MB QUERY TUNING effective_cache_size = 2048MB R

Installation of Adempiere ERP on Windows

              This installation instruction is intended for initial installations where the database, application server and client all run on the same machine. For more complex installations, see   Installation Steps . An installation can take as little as 15 or 20 minutes if you start with the required downloads and do everything correctly. Other alternatives you might want to investigate are the   Windows Installer   or VMWare/VirtualBox AVA packages. However, the following method will give you much more control over the installation including upgrades with the latest patches and scripts. Before you begin, download each of the following packages: §   Java SE Development Kit   - Get the latest from   http://java.sun.com/javase/downloads/index.jsp . You only need the   JDK   without JavaFX, EE or NetBeans bundles. §   Postgre SQL   - Get the latest Windows install from   http://www.postgresql.org/download/windows . §   ADempiere Latest Release   - Download the latest Ad

Send Email Through Adempiere ERP

Send Email Through Adempiere E-Mail Configuration in Adempiere Mail Server This will specify the mail server to use Default: mailserver.(domain portion of %{serverFQDN}) Example: smtp.gmail.com Admin Email Use the default administrative mail address and it can be overwritten on client level Default: adempiere@(domain portion of %{ serverFQDN}) Example: teksalahadempiere@gmail.com Mail User Here we specify user of the default mail account Default: adempiere Example: teksalahadempiere Mail Password The password of the default mail account Default: adempiere Example: ********** 1    2.     Configuring Email in the client window The Client Definition Tab defines a unique client Step 1 .Login as admin Step  2 . Go to Menu -> System Admin -> Client Rules -> Client. In tab client fill fields’ mail host, request email request user and request user password. Finally press Test Email Button