So I have a start page with loads of sections. They all have a subtitle, title, lead and a link…
I have crated a group that I want to work like this:
firstSection:
type: fields
fields:
firstSectionTextblock:
extends: fields/text-block
secondSection:
type: fields
fields:
secondSectionTextblock:
extends: fields/text-block
Then I want to retreive with $page->firstSection()
but right now the group field are not set in the “secondSectionTextblock” at all.
The fields/text-block looks like this:
type: group
fields:
pre:
label: Övertitel
type: text
width: 1/2
icon: tag
heading:
label: Titel
type: text
icon: h2
lead:
label: Ingress
type: textarea
size: small
buttons: false
icon: text
I know its possible if I set the type to structure, but thats not what I want to do. Visuallt that make it look like multiple items could be added, and dont want that.
Is there any other way?