Versions Compared

Key

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

display a content row of full width (could be integrated into a full-row list list).

Picture:

...

Expand
titleJSON Schema

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

Code Block
languagejson
{
  "title": "Content Row",
  "type": "object",
  "properties": {
    "image": {
      "type": "object",
      "title": "Content Image",
      "properties": {
        "de": {
          "type": "string",
          "description": "label in German"
        },
        "fr": {
          "type": "string",
          "description": "label in French"
        }
      }
    },
    "media_type": {
      "type": "string",
      "description": "Position of the image",
      "enum":["image", "video"]
    },
    "image_position": {
      "type": "string",
      "description": "Position of the image",
      "enum":["top","bottom","left","right"]
    },
    "title": {
      "type": "object",
      "title": "Content Title",
      "properties": {
        "de": {
          "type": "string",
          "description": "label in German"
        },
        "fr": {
          "type": "string",
          "description": "label in French"
        }
      }
    },
    "text": {
      "type": "object",
      "title": "Content Text,
      "properties": {
        "de": {
          "type": "string",
          "description": "text in German"
        },
        "fr": {
          "type": "string",
          "description": "text in French"
        }
      }
    },
    "link_url": {
      "type": "object",
      "title": "Link when the user clicks on the content (image, title or text)",
      "properties": {
        "de": {
          "type": "string",
          "description": "link in German"
        },
        "fr": {
          "type": "string",
          "description": "link in French"
        }
      }
    },
    "accessor": {
      "type": "string",
      "description": "hits accessor (typically leave empty)"
    }
  }
}

Complete Layout Block:

View file
namecontent_row.json