System Settings
Main
| Setting | Description |
|---|---|
pageblocks_tab_index | Position of the PageBlocks tab in the resource editing interface. Default: 0 |
pageblocks_hide_templates | Comma-separated list of template IDs where the PageBlocks tab will be hidden. Default: (empty) |
pageblocks_hide_parents | Comma-separated list of parent resource IDs where the PageBlocks tab will be hidden. Default: (empty) |
pageblocks_hide_resources | Comma-separated list of resource IDs where the PageBlocks tab will be hidden. Default: (empty) |
pageblocks_hide_users | Comma-separated list of user IDs who will not see the PageBlocks tab. Default: (empty) |
pageblocks_hide_user_groups | Comma-separated list of user groups for which the PageBlocks tab will be hidden. Default: (empty) |
pageblocks_routing | Enables routing functionality. Options: Disabled, Route Only, Full API. Default: Disabled |
pageblocks_development_mode | Component operation mode. Options: Manager, Developer. Default: Manager |
pageblocks_enable_history | Enables object versioning (history). Default: true |
pageblocks_load_scripts | Enables loading of scripts on the frontend. Default: true |
Parser
| Setting | Description |
|---|---|
pageblocks_elements_path | Path to file-based elements. Default: {core_path}App/elements/ |
pageblocks_fenom_auto_reload | Automatically rebuild the template cache when the template changes (may reduce performance). Default: false |
pageblocks_file_elements_only | Restricts the Fenom parser to file-based templates only. Disables database-stored chunks and snippets. Default: false |
Block
| Setting | Description |
|---|---|
pageblocks_block_groups | Comma-separated list of block group names for organizing blocks. Default: (empty) |
Gallery
| Setting | Description |
|---|---|
pageblocks_source_path | Default file storage path for media fields. Default: assets/images/ |
pageblocks_remove_file | When a file is deleted, also removes it from the file system. Default: false |
Grid
| Setting | Description |
|---|---|
pageblocks_grid_stateful | Remembers column widths in the admin grid. Default: true |
Translate
| Setting | Description |
|---|---|
pageblocks_context_aware | Enables language/context selection. Default: false |
pageblocks_contexts | JSON-formatted list of contexts (e.g., [{"key":"web","value":"Website"}]). Default: [{"key":"web","value":"Website"}] |
pageblocks_context_fallback | Defines what to do if a translation is missing. Options: redirect, 404, default. Default: default |
pageblocks_translator | Translator for automatic translations. Options: ChatGPT, DeepL, DeepLGPT. Default: (empty) |
pageblocks_translate_resource_fields | Comma-separated list of resource fields to auto-translate. Can include custom PageBlocks fields. Default: pagetitle,longtitle,description,introtext,content,menutitle |
ChatGPT
| Setting | Description |
|---|---|
pageblocks_chatgpt_apikey | ChatGPT API key. Default: (empty) |
pageblocks_chatgpt_model | ChatGPT model name. Default: gpt-4o |
pageblocks_chatgpt_prompt | Prompt template for translation. Default: Translate the following text from [[+from]] to [[+to]] and provide only the translation: |
DeepL
| Setting | Description |
|---|---|
pageblocks_deepl_apikey | DeepL API key. Default: (empty) |
pageblocks_deepl_account | DeepL account type: free or pro. Default: free |
pageblocks_deepl_free_url | API endpoint for free DeepL accounts. Default: https://api-free.deepl.com/v2/ |
pageblocks_deepl_pro_url | API endpoint for Pro DeepL accounts. Default: https://api.deepl.com/v2/ |
pageblocks_deepl_word_count | If word count exceeds this value, ChatGPT will be used instead of DeepL. Default: 3 |
AI
| Setting | Description |
|---|---|
pageblocks_ai_fake | Adds a button to auto-generate fake content for object fields using AI. Default: false |
Field
| Setting | Description |
|---|---|
pageblocks_combo_field_models | Comma-separated list of models used in field dropdowns. Default: modUser,modUserGroup,modResource,modTemplate,modChunk,modSnippet,modCategory,modContext |
Map
| Setting | Description |
|---|---|
pageblocks_map_type | Map type to use. Options: Leaflet, Yandex. Default: Leaflet |
pageblocks_yandex_apikey | API key for Yandex Maps. Default: (empty) |