Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The body is divided into three areas, bodyleftside, body and bodyrightside. But only the areas which have objects in them are actually drawn on the screen which results in three possible “columns” of the body. The widths of the body areas are:

  1. 1 column visible: 100%

  2. 2 columns visible: 50% 50%

  3. 3 columns visible: 30% 40% 30%

...

On small screens, such as mobiles, the areas is stacked, according to image below. All areas take full screen width, and the height of each area is determined by its content.

...

The three outer columns widths, left-side, body, right-side, are as following:

  1. 1 column visible: 100%

  2. 2 columns visible: 50% 50%

  3. 3 columns visible: 30% 40% 30%

The three inner columns, bodyleftside, body, bodyrightside, widths use the same strategy for widths:

  1. 1 column visible: 100%

  2. 2 columns visible: 50% 50%

  3. 3 columns visible: 30% 40% 30%

Leftside, rightside, bodyleftside, bodyrightside can be made take full height so the header/footers in inside them.

...

Note

Warning! Comments, tags or even white space between starting <Presentation> and the <Trigger> tag is not allowed.
See https://signifikant.atlassian.net/wiki/spaces/ASKB/pages/2667020308/A+presentation+setting+is+not+activated+despite+trigger+and+page+gets+messed+up?src=search

Note

Warning! If you write a trigger that have no conditions or only faulty conditions, the trigger will always trigger/match.

A Trigger may have several options

Trigger option

Description

base-type

A base type for a presentation e.g. Part, Catalogue, Part assembly.

label

The label value found on presentations. Can be set in Manager.

label-regex

A regex for the label.

Code Block
languagexml
<Trigger label-regex="fixit|accessories"/>

identity

The identity value found on presentations. Can be set in the Manager.

persistent-identity

The persistent-identity value found on presentations. Can be set in the Manager.

type

The code of a presentation type.

kit

If kit is checked on a part assembly.

Code Block
<Trigger kit="true"/>

id

Database id of a presentation.

permission

List of permissions that may trigger.
Abailable in version 5.2 and later.

property

The name of a presentation property or a global property. Often used together with value or has-value option.

Code Block
languagexml
<Trigger property="HasNodes" value="true"/>
<Trigger property="Specifications[Code=Model]" value="Pro"/>

Global properties

Global properties may be used in the properties attribute of a trigger.

Info

Available in version 5.2 and later.

...