Introduction
Before you can start configuring your Narratives, you need first to declare all your Layout Blocks.
The Layout Blocks are the building blocks of your Narrative (the narrative defines what should be the layout of a page based on these building blocks and what should be the parameter values for each of the selected Layout blocks).
For example, if you want to create a Narrative with this layout, you will need to define 4 Layout Blocks:
Title
Banner
Product Slider
Product
Each Layout Block will need to have a definition of what parameters it needs to receive so it can be rendered.
This definition is very open and is defined by a JSON SCHEMA which needs to be compatible with the JDORN-EDITOR, you can see a demo here: http://jeremydorn.com/json-editor/
We recommend you to use this demo link to define your JSON SCHEMA for each Layout Block so that you can be sure your JSON is correct and will work.
Add a new Layout Block
First, Log in Boxalino Intelligence Admin (link)
Then open the Marketing Menu (the target icon) and click on Layout Block.
You will then see a list (probably empty) of already defined Layout Blocks.
Click on the “+ Add” green button on the top-left.
Then enter a name for your widget (all in small letter, without any space or special character except _ which is allowed) and press SAVE.
Please make sure to name your Layout Block well. This is the name that the Marketing Department will see when they want to create or change a Narrative, so it needs to make sense for them. Please refrain from indicating any type of naming based on a project use-case, as the Layout Blocks should make sense for other projects.
For example, do not use a name like : “brand_logo”, for the Layout Block to be used inside a slider or a grid of brand logos. instead, use a name like “image_square” or “image_cell” or “image_with_link” which describes what the template does functionally, so it will make sense in many different use-cases.
Add Comment