Collections
Collections are configured in the Collections tab in the block constructor.
If the conditions are not filled in, then the collections are populated in the predefined blocks.
When the conditions are filled in, the collection is placed in the corresponding resources on separate tabs. The name of the tab is the name of the collection.
На сайте:
html
<div class="slider">
{'!PageBlocks'|snippet: [
'classKey' => 'pbTableValue',
'collection_id' => 1,
'tpl' => '@INLINE <div class="slide">
<img src="{$image.url}" alt="{$image.title}">
<h2>{$title}</h2>
</div>'
]}
</div>
Read more in the section snippets