Creating a Slider block
A Slider block is a complete slider editor for the home page or any other screen. It supports a tree of nested slides, drag-and-drop, and a separate display time for each slide.
1. Creating the block
Enter a name in the Name field, select "Slider" in the "Type" field, and specify a unique identifier used to retrieve the entity.
2. Slider settings: global settings
On the Slider settings screen, the Additional settings card has the general slider parameters:
- Default display time: how long each slide is shown.
- Default time unit: the unit of time, seconds or milliseconds.
These settings apply to every slide that has no display time of its own.
3. Slide list
Slides are shown as a tree table that supports drag-and-drop:
- Drag a slide to a different parent to nest it inside another slide.
- Change the order of slides within the same level.
Each slide is a card that shows:
- A preview of the image and text.
- A visibility toggle (show or hide).
- A display time icon, which opens the display time settings window.
- An Edit button, which opens the slide editing page.
- A delete button.
4. Display time for a single slide
You can give each slide its own independent display time that differs from the global settings. Click the time icon on the slide card to open the Time display settings window:
- Display time: how long the slide is shown.
- The unit of time: Seconds or Milliseconds.
- The two fields are validated as a pair: fill in both or clear both. Otherwise, you see the message "Fill both fields or clear both."
If a slide has no display time of its own, it uses the global time from Slider settings.
5. Editing a slide
Clicking a slide opens a separate slide editing page with:
- Breadcrumbs for navigating the slider's nesting levels.
- An attribute set selector for choosing the attribute set (opens in a new tab) that applies to this slide.
- Nested child slides: a slide can have its own child slides, which form subgroups.