Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Display a text list with an alphabet logic (children blocks should be text_with_link Layout Blocks).

...

Expand
titleJSON Schema

localized properties must be adapted to match your e-shop languages.

Code Block
languagejson
{
  "title": "Text List with Alphabet",
  "type": "object",
  "properties": {
    "title": {
      "type": "object",
      "title": "Title",
      "properties": {
        "de": {
          "type": "string",
          "description": "Set Title in German."
        },
        "fr": {
          "type": "string",
          "description": "Set Title in French."
        }      }
    },
    "show_more_button_title": {
      "type": "object",
      "title": "Show More Button Title",
      "properties": {
        "de": {
          "type": "string",
          "description": "Set button title in German."
        },
        "fr": {
          "type": "string",
          "description": "Set button title in French."
        }      }
    },
    "list_limit": {
      "type": "number",
      "description": "List Limit (restrict number of visible elements in the alphabet sorting)"
    },
    "accessor": {
      "type": "string",
      "description": "hits accessor (typically leave empty)"
    }
  }
}

Complete Layout Block:

View file
nametext_list_with_alphabet.json