Hello,
In the Reference, i saw that.
I have a Folder Structure like this:
- Home
- Collection Folder 1
- Collection Folder Item 1
- Collection Folder Item 2
- Collection Folder 2
…
- Collection Folder 1
I want to return all listed Collection Items of one Collection Folder on the Home-Page.
I did this (home.php):
<?php foreach(page('CollectionFolder1')->children() as $CollectionItem): ?>
<div>
<h2><?= $CollectionItem->title() ?></h2>
<p><?= $CollectionItem->text() ?></p>
</div>
<?php endforeach ?>
Also: How can i built a Blueprint for the Home-Page that shows a Pages Section within the CollectionItems and not the CollectionFolders.
In my Backend it just shows my 3 CollectionFolder-Pages…
I have this (home.yml):
sections:
CollectionFolder1:
type: pages
layout: list
CollectionFolder2:
type: pages
layout: list