Compile styles

If you use the file-based mode to customize the styles of your dashboards and widgets, or the entire application, you must manually start the compiling of the modified style files to apply your changes in MashZone NextGen.

If you have modified widget styles, you must compile the corresponding dashboard style to apply your settings.

In database mode, the styles are automatically compiled when you upload the modified style file.

Procedure

  1. Open the MashZone NextGen Admin Console.
  2. Click Styles & Themes to expand this section of the Administration menu.
  3. Click Styles and Themes to open the corresponding page.
  4. To compile application styles, open the Application page and click Compile.
  5. To compile dashboard and widget styles, open the Dashboard page and click Compile for the desired styles and themes.

    In file-based mode, the page lists all dashboard styles stored in the file system.

    <MashZone NextGen installation\apache-tomcat\webapps\mashzone\hub\dashboard\assets\custom-look-and-feel\dashboard

    You can only compile one style at a time. While compiling a style, all Compile buttons are disabled.

The selected styles are compiled.

Custom widgets

If you modify styles of a custom widget while the server is started, you must manually start the compiling of the corresponding styles. Compile the dashboard styles that you want the custom styles to contain, such as the default dashboard style. In database mode, click the Compile Compile icon of the desired dashboard style.