Table of Contents
Blocks
A page of the Brand Portal is built from blocks, which are added and arranged in the editor.
Block Types
| Block | Shows |
|---|---|
| Text | A formatted text. |
| FAQ | Questions whose answers open when clicked. |
| Image | An image with a caption and an optional Download button. |
| Colours | Colour swatches with values that can be copied. |
| Do / Don't | An image marked as an example to follow or to avoid. |
| Records | The items found by a search as tiles. |
| Carousel | The images of the items found by a search, one at a time or several side by side. |
| Video | The video of an item. |
| Map | The items found by a search, or a single location, as pins on a map. |
| Timeline | Dated items or entries as a list or on a time axis. |
| Divider | A horizontal line. |
| New Row | Nothing; the next block starts in a new row. |
| Spacer | Empty space. |
Common Settings
| Setting | Description |
|---|---|
| Width | Quarter, half, three-quarter or full width of the page. Blocks narrower than the page are placed next to each other. On small screens every block covers the full width. |
| Background colour | Optional colour behind the whole block, for example to highlight important information. It is chosen with the colour box in the toolbar and removed with the icon next to it; a crossed-out box means no background. The text is shown in grey, black or white, depending on the background. |
| Show on page | The eye icon shows or hides the block, see Hidden Blocks. |
| Heading | Optional heading above the block. |
| Text | Optional text of the block, see Text. Image, Do / Don't and Video blocks show it as caption. |
Layout blocks have no heading and text, and a New Row block has no width. Do / Don't, Timeline and layout blocks have no background colour.
Blocks with Records
Records, Carousel, Map and Timeline blocks show the items found by a search:
- The Search query is typed as a Fylr search query, for example
assets.desc =@ "United States". - It is run when the page is opened, so the block always shows the current items.
- Only items the user may see and that match the Limit to items matching query of the General panel are found.
- If no item is found, for example because the user may not see any of them, the whole block including its heading and text is hidden.
Item Dialog
Clicking an item in one of these blocks, in a carousel only with Open item details on click, opens it in a dialog with a large preview, the fields of the Information View, a Download button and Show Full Information, which opens the item in the Information View. Download is offered only for items the user can download, as in the Information View. The dialog title is the Standard Information of the item, set in its mask in Fylr; a timeline shows the title of its title field instead. If the file of the item is a video, the dialog shows a player instead of the preview, which starts when its play button is clicked.
Which fields are shown and whether Download and Show Full Information are offered is set in the options of the Brand Portal.
