#global
The system object #global is available in all contexts with different functions.
The usual uses of #global are:
- Determination of the currently generated node
- Output of content areas
- Output of context information
- Output and evaluation of meta information
- Output and evaluation of page-specific information
- Evaluation of multiple pages
The methods of #global can be invoked not only as context dependent methods but also as context-independent methods.
The system object #global can be subdivided into the following thematic areas:
- Preview-related information, e.g. #global.preview
- project-related information, e.g. #global.project.id
- Page-related information, e.g. #global.node.id, #global.page.id, #global.section.id
- Meta information, e.g. #global.page.meta(...)
- Multiple pages, e.g. #global.multiPageParams
The syntax of the system object #global is:
$CMS_VALUE(#global.METHOD)$
and/or
$CMS_SET(#global.METHOD, VALUE)$