...
From this moment your added Visual Theme is installed and available in the OFBiz framework.
How to change the backoffice default Visual Theme
The Visual Theme that is used as default is defined in the file: /framework/common/data/CommonTypeData.xml
For example, to set the chrome theme as default, replace the line:
Code Block |
---|
<UserPreference userLoginId="NA" userPrefTypeId="VISUAL_THEME" userPrefGroupTypeId="GLOBAL_PREFERENCES" userPrefValue="DEFAULT"/>
|
with the following one:
Code Block |
---|
<UserPreference userLoginId="NA" userPrefTypeId="VISUAL_THEME" userPrefGroupTypeId="GLOBAL_PREFERENCES" userPrefValue="CHROME"/>
|
How to create a Visual Theme
An OFBiz Visual Theme consists of a simple OFBiz component installed, usually, in the themes folder. In the component, all the resources needed by the Visual Theme are defined.
The simplest way to create a Visual Theme is starting from one of the already available themes in the OFBiz themes folder.
Panel |
---|
NOTE: |
Let's say you want to create a new theme for the backoffice applications called mytheme and have selected bluelight as a starting template.
...