Testimonial content type
User story
As a project member I want to show all the great voices & images from peoples and organizations who support our work.
I think this is a common use case not only for NGOs and grassroots - would it be interesting to ship it as an optional Drutopia project?
Background
We will implement this for our crowd invest platform and as side effect it will be a usable for Hubs4Change organizations (eco/social initiatives/businesses) as well.
Proposed solution
- Testimonial content type with
- title* (Name)
- testimonial_email* (Email address)
- image (Image)
- summary* (My Statement)
- testimonial_types* (I am)
- Testimonial type vocabulary
- Block view with slider
- one with 1 slide at a time drutopia_single (slick optionset)
- one with 3-5 slides at a time drutopia_multiple (slick optionset)
- the slick optionsets might go into drutopia_core with #207 or into a h4c drutopia_media extention module or into this drutopia_testimonial module if slick shall not used elsewhere
- Page view with custom JS & CSS (multiple images per row (maybe 4 at desktop, 6 at widescreen, 2 at tablet, 1 at mobile), on click the testimonial of the clicked image appears centered below the row)
For us we will call the fields this way (the original name can be more general).
In some projects the testimonial can be published by anonymous users, so we ask for an email address. Not sure if this shall be a default function as testimonials might be often published by the site owners.
Testimonial types in our case are: CSA Member (getting weekly vegetables & others), Cooperative member (co-owning the land / project), Direct lender, Donor. A User can select multiple terms. In other cases it can be e.g. activist, supporter, partner organization. In some uses cases it could be filtered into several views, e.g. one with people testimonials, one with organizations testimonials.
We will display it with Slick Views on the crowd invest project / hubs4change organization nodes - contextually filtered by node ID. I think we will have 2 slick setups (for 2 block views), one like we did (see next link) with circular images and statement below 3-5 visible nodes at a time, one larger slider with image on the left and statement on the right 1 node node visible at a time.
Image Widget Crop makes sense to get squared images. Maybe it is nice for drutopia_core
as well to allow editors to crop uploaded images? (like wordpress and others do)
Here is an example from our first use case this February with a very basic but extremely successful site: https://crowdinvest.luzernenhof.de#community (the other slick slider (press voices) is based on an article content type and the slides at the bottom are media entities)
Remaining work
-
check if interesting for Drutopia (Drutopia) -
if yes: discuss if it needs something extra to fit (Drutopia) -
if yes: build it according to Drutopia standards (Hubs4Change)
(How to produce a new content feature | docs.drutopia.org)
-