Types

The macro is designed to work with types of pages created in the "templates" section in the administrative panel.

  • Get types by id's macro_getTypes(params)

    "params" is an object that can contain the following keys:

    • ids (required) - id's of types in template tree (array of numbers)
    • groups - text id's of groups, information about which, must be selected (array of strings)
    • props - text id's of fileds, information about which, must be selected if value doesn't empty (array of strings)