Here you add rules that will be associated with the target groups that are available on the website. These rules are the ones that determine which view to display.
The criteria are evaluated in the order in which they are listed. At the top are target groups, then rules, then local template settings (old criteria).
Enter a name for the rule.
Displays the view under the Custom content icon in the toolbar. It is only when you select View in the menu that the rule can be associated with the view. Therefore, if you have made some rules for prototypes only, you do not need to view them in the menu or if the rule is only meant to be used for a target group.
Here you can see the criteria set for a rule. If criteria already exist, they appear in the list. If you select a criterion, icons appear on the right to change (then Add criteria view is displayed), delete or move.
Click on Add criteria to add a criterion.
The order in the list is important! If there are customisations on the same layout where you meet multiple rules, the customisation for the first rule in the list that you meet will apply. Note that target groups always go before individual rules.
Tick this box if you use several criteria in a rule and require that all criteria be met. If you do not tick this, it is sufficient for one of the criteria to be met.
If your rule only has one criterion, you do not have to worry about this setting as this criterion must then be met.
This box checks if the rule and its criteria are met, either the first time you access the website or every time you visit a page.
If the rule is based on values that can be changed if you visit different pages or reload the same page, this box must be ticked. For example, for criteria of the page language and metadata values
If the rule is based on an initial value that you for example receive via a parameter in the URL and that you want to keep for the entire session on the website, leave the box unticked. Therefore, when you visit the next page, this rule will apply if there is no other rule above in the list that is evaluated at each page view.
The page published: 2019-02-28