/
Dynamic Layouts and Snippets

Information Classification: External Restricted.
See https://www.chili-publish.com/security

Dynamic Layouts and Snippets

Snippets

Dynamic Layout functions can be used in snippets.

Scope

Functions are executed within the scope of the snippet. So references to page or variables refer to the page and variables within the snippet.

Since snippets are documents themselves (e.g. the blue document holds a logo/ image) the logo is referenced of the snippet document itself.

When we apply logic to the logo (green) it will allways refer to the dimensions and properties of the snippet document.

Even when the snippet document it places as a snippet in the "master" document.

Convert to frames

If the snippet is converted to frames, the Dynamic Layout functions are removed and the calculated value for the properties are applied.

Snippets & Alternate layouts

A snippet frame can be configured to select the best fitting alternate layout and to resize the snippet document. These options work in conjunction with Dynamic Layout functions.

 

Related content

Snippet Resources
More like this
Dynamic Layouts and Alternate Layouts
Dynamic Layouts and Alternate Layouts
More like this
Dynamic Layouts - Properties, Functions and references
Dynamic Layouts - Properties, Functions and references
More like this
Manipulating Snippet Frames
Manipulating Snippet Frames
Read with this

All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security