Assigning properties on the Value Splitter page only decides what each block contains. To make a block appear on the public site you add it to a resource page through Omeka's theme configuration.
Adding the blocks
- Go to Sites, open the site and click Theme in the site's sidebar.
- Click Configure resource pages (
/admin/site/s/SITE-SLUG/theme-resource-pages). The button only appears when the active theme supports resource page blocks. - Choose the tab for the page you want to change: Item page, Media page or Item set page.
- In the right-hand sidebar, pick a region under Select a region and click one of the Value Splitter layouts under Add a block to selected region:
- Value Splitter: Primary (block A)
- Value Splitter: Secondary (block B)
- Value Splitter: Media (block C)
- Value Splitter: Overflow (block D)
- Drag the blocks into the order you want using their handles. You can mix them with Omeka's built-in blocks.
- Click Save.
You do not have to use all four blocks. Add only the ones you need.
Replacing the core Values block
Omeka's built-in Values block prints every property. If you leave it on the page next to Value Splitter blocks, the values appear twice. Remove Values (and Media embeds if you use the Media block) with the block's remove icon, then save.
The Overflow block in catch-all mode is a drop-in replacement for Values: with nothing assigned to blocks A and B, it prints the same properties.
Where blocks can go
All four layouts are offered on item, media and item set pages. Blocks A, B and D work on all three. The Media block reads the media attached to an item and should only be placed on the Item page; on media and item set pages it causes an error (see Troubleshooting).
The regions available depend on the theme. The default theme has a single Main region for each resource type; other themes may offer more, such as a sidebar, which is where placing the blocks independently becomes useful.
Checking the result
Open any item on the public site. Each block prints its label (if set) followed by its values in Omeka's standard value markup. A block with nothing to show is hidden, prints a placeholder or stays as an empty container, depending on its When empty setting.