Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The YAML form module should ships with ability to copy starter templates. Currently, there are only a few templates available. The YAML form should include a dozen or so starter starter templates.
Proposed resolution
Encourage the Drupal community to start contributing templates back to the YAML Form module
Notes
Starter templates should be...
- Generic but focused on a single use case
- Easy to customize
- Easy to delete elements and containers
Approach
- Templates should be uploaded to a dedicated tickets
- Templates should be reviewed by community
- Templates can be continually updated.
Todo...
- Define standards and guidelines for starter templates
Possible Starter Template
- Registration
- Employment Application
- Employee Evaluation
- Employee Satisfaction Survey
- Event Satisfaction Survey
- Education Application
- Event Registration
- Contact Information
- Issue Tracking
- Order Form
- Time Sheet
Comment | File | Size | Author |
---|---|---|---|
#7 | meta_add_more_starter-2787117-7.patch | 38.55 KB | jrockowitz |
#4 | meta_add_more_starter-2787117-3.patch | 38.52 KB | jrockowitz |
Comments
Comment #4
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedComment #7
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedComment #9
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedComment #10
lomale@bluewin.ch CreditAttribution: lomale@bluewin.ch as a volunteer and commentedHi can you tell me, how you expect the starter template.
Now I have one - but i have to rebuild it as a general universal variant. I mean I have to adapt the terms.
but then should I post it as Source YAML code ??
and could i get help to shape the display email submission answer to the registrant.
or is the email handler data not included in the template ??
Thanks for your answer
Lothar
Comment #11
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedAlso, you might want to consider improving an existing template.
Comment #12
kclarkson CreditAttribution: kclarkson commented@jrockowitz,
Here is a blog post by Four Kitchens regarding using YAML Form as an event registration system. https://www.fourkitchens.com/blog/article/getting-nyu-yaml-form
I am also looking to do the same thing. In the blog post they mention there is no current way to have a "default" form for an event content type but then be able to customize that one form if need be.
Would this be some sort of template that is needed?
They mentioned in their blog post that they were able to get it working with some custom code and am curious if you have an idea of how it was accomplished.
Thanks again
Kaleem
Comment #13
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedFour Kitchens seems to be looking for a form to 'inherit' the elements and settings from a parent form.
Templates are copies of a form with no reference or relationship to the original form.
Comment #14
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedI am closing this since any updates to an existing template or the adding of a new template should be handle in a new ticket for each template.