I have a bunch of testimonials I want to show on different pages so I have set up a page with a blueprint like this:
—yaml
header.content.testimonials:
type: list
label: Testimonials
fields:
.quote:
type: textarea
label: Quote
.name:
type: text
label: Name
.type:
type: select
label: User type
default: Customer
options:
customer: 'Customer'
yep: 'Yep'
.category:
type: text
label: Kategori
So that I can manage all my testimonials on a single page. But then I want to be able to use these testimonials on different pages. Is there a blueprint type that I can use to select the testimonials I want from my testimonials page? Kind of the same way as the filepicker type.
If I only want a few of the testimonials? And pick those in the page? I have thought about having a list where I can specify they keys for the testimonials I want. But then I have to somehow store the testimonials as key values and as far as I have seen, the type array can only save strings?
Thanks, that would work. The content creators on the site isn’t that technical so it will be a bit hard for them to understand which testimonials they are selecting but it’s better then trying to maintain testimonials on every page.
@gyran
The content creators on the site isn’t that technical so it will be a bit hard for them to understand which testimonials they are selecting but it’s better then trying to maintain testimonials on every page
I see, maybe adding an explanatory text with the section field could help your user.
You could definitely write a plugin for this though.