7.x Documentation

features description for

WebP_007: Creating new WebPublisher themes saved in the DB

The easiest way to create a custom web-publisher theme is to copy an existing theme and then modify it.

Publisher is delivered with 2 built-in themes:

  • default
  • Simple Green

Here is a step-by-step manual on how to clone the “Simple Green” theme, modify it, and save the modified copy in the database.

Create a custom theme

  1. Navigate to the publisher styles folder: C:\Program Files (x86)\process4biz\Extensions\Publisher Server\config\styles. The themes delivered with the setup are stored in this folder.
  1. The “Simple Green” folder contains theme related files. Copy it to some other location, e.g. C:\Temp
  1. Rename the copied “Simple Green” folder so that it is named appropriately:
  1. Modify files in this folder (css-style files, images, etc) according to your preference.
    Place the CSS theme files to the “css” subfolder; put the custom image files to the “img” subfolder.
    Note that you can use this folder directly in publisher as a custom theme by selecting it as “theme” in options:

To save the theme in the database:

  1. In the site options dialogue, click ”Upload” and select the folder with the custom theme to be uploaded to the database.
    This should add the new item to the list of themes uploaded to the database:
  2. Switch the theme selector to “Database” and select this new theme in the list:
  3. You can also Extract the theme from the database to the disc folder in order to modify it. Not needed themes can be deleted from the database by clicking on Delete.
  4. In this way the theme in the database is selected as the custom theme. Note that database themes are marked with the ”#” sign.

JIRA issue: