Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Changed layout to match other Wiki pages

Visual Themes - How To

How to install a Visual Theme

A Visual Theme is distributed as a single .zip file like for example chrome.zip.

...

From this moment your added Visual Theme is installed and available in the OFBiz framework.

How to change the backoffice default Visual Theme

The default theme can be set by using the Entity Reference tool in the Web Tools application. Alternatively, this setting can be changed in the seed data files that are loaded during the database setup.

...

Code Block
xml
xml
<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.

...