References 

Without providing fixed UIDs, records can be referenced by their identifiers. They follow the scheme {<tablename>:<identifier>:<fieldname>} . The fieldname is optional. If not given, the UID field is ised for replacement.

There are some reserved / special identifiers:

  • {variable:<variable-name>} : See variables.
  • {pages:root} : Will be replaced with 0 .
pages:
  - identifier: home
    pid: "{pages:root}"
    sorting: 100
    doktype: 1
    title: Home
    is_siteroot: 1

tt_content:
  - identifier: example
    pid: "{pages:home}"
    CType: heaader
    header: My example content
    header_layout: 1
Copied!