Skip to content
Lukas Gerbenis edited this page Dec 7, 2015 · 9 revisions

Options can be managed for:

  • Templates. This can be done in template edit form, in Site Settings -> Templates.
  • Server control widgets. This can be done in the server control edit form, in Site Settings -> Widgets, when editing server control widget.
  • HTML widgets. This can be done in the widget edit form, in Site Settings -> Widgets, when editing HTML widget.

Options edit form looks like that:

Image properties

Each option contains fields: Option name (required, unique), Type and Default value (optional, format depends on Type).

Available types: Text, Multi-line Text, Integer, Float, Date, Boolean, JS Include URL, CSS Include URL, Image URL, Images Folder. Depending on type, different controls are shown (6), and different validations are executed.

JS Include URL and CSS Include URL are used for adding JavaScript / CSS ULRs. When page is rendered, CSS scripts are included in the head of HTML page and JavaScript includes are rendered at the bottom of the body.

To add new option, press add new button (1).

To enter edit mode, press edit icon (2). To save or cancel edit mode, choose one of buttons (3).

To delete and option, press delete button (4). Systematic options cannot be deleted (there is no delete button) (5).

Clone this wiki locally