title | last_updated | template | originalLink | originalArticleId | redirect_from | related | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Import file details: cms_block.csv |
Jun 16, 2021 |
data-import-template |
2fde5c8a-6217-4151-a511-23b71759feb0 |
|
|
This document describes the cms_block.csv
file to configure CMS Block information on your Spryker Demo Shop.
data:import:cms-block
PARAMETER | REQUIRED | TYPE | REQUIREMENTS OR COMMENTS | DESCRIPTION |
---|---|---|---|---|
block_key | ✓ | String | Block key identifier | |
block_name | ✓ | String | Must be unique. Human-readable name. | Name of the block. |
template_name | String | Alphabetical identifier of the slot. It will be shown in the Back Office. | ||
template_path | String | Must be a valid path to a twig template. | Path to the Twig file template. | |
active | Boolean |
|
Indicates if the block is active or inactive. | |
placeholder.title.{ANY_LOCALE_NAME}* Example value: placeholder.title.en_US |
String | Placeholder for block title, translated into the specified locale (US for our example). | ||
placeholder.description.{ANY_LOCALE_NAME}* Example value: placeholder.description.en_US |
String | Placeholder for block description, translated into the specified locale (US for our example). | ||
placeholder.link.{ANY_LOCALE_NAME}* Example value: placeholder.link.en_US |
String | Placeholder for block link, translated into the specified locale (US for our example). | ||
placeholder.content.{ANY_LOCALE_NAME}* Example value: placeholder.content.en_US |
String | Placeholder for block content, translated into the specified locale (US for our example). |
*ANY_LOCALE_NAME: Locale date is dynamic in data importers. It means that ANY_LOCALE_NAME postfix can be changed, removed, and any number of columns with different locales can be added to the CSV files.
FILE | DESCRIPTION |
---|---|
cms_block.csv template | Exemplary import file with headers only. |
cms_block.csv | Exemplary import file with Demo Shop data. |