Versions Compared

Key

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

...

data-bx-narrative-name

As you will do it anyway in your Boxalino Narrative Layout projects, we recommend you to use a component-base architecture for all visual displays of your front-end.

The main idea being to create modular front-end component which are re-used in many different places of your front-end as we document it here: Check-list: empower your Website Layout with Narratives

There you can simply indicate the name of the component and, if needed, the role it has on its page in the parameter (this is particularly useful if the component of a page.

Component might vary from

...

images

...

same component is used several times on the same page for different reasons).

You do not need to indicate anything about the page itself, as you are already providing this information in the attribute bdata-x-narrative-type (as indicated above).

Here are a few examples.

  • image-slider|section=main-pdp-images

  • banners-slider-full-width|section=top-campaigns

data-bx-narrative-group-by & data-bx-item-id

...