Hi !
First thank you so much to Kirby existance
I’ve an issue to get back my data on a multi sections page.
On my blueprint I put a Fields section and a Page Section to create subPage :
columns:
- width: 1/1
sections:
contentCol:
type: fields
fields:
title_part_collections:
label: Titre de l'index
type: text
- width: 1/1
sections:
pages:
type: pages
template:
- historique
- contemporain
- suivi-de-chantier
max: 3
layout: cards
image:
cover: true
back: white
After that I make a representation file of my page to take back my datas ( but I imagine it will be the same issue if I used a classical php template )
I try multi stuff to find my title :
$data = [
'title' => 'page' => $page->contentCol()->data()
];
answer : value: null
$data = [
'title' => 'page' => $page->contentCol()->title_part_collections()
];
answer : value: null
$data = [
'title' => 'page' => $page->title_part_collections()
];
answer : value: null
$data = [
'title' => 'page' => $page->content()->data()
];
answer : it’s give me page section content, it return an object with all subPage’s fields
My content :
If you can give me a tips to access to this title-part-collections data it will be super…
Thx a lot !