Turtle Template Form Knitter Examples

ver-1.0.7


Add Post


Contact

Create contact form: add-post

Form tab

<details><summary>Click here for more details...</summary>
You can click on the lines with an arrow icon to get more details
about a field. Fields with a * are required. When you submit this form
an email will be sent to website editors and/or a pending post will be
created.
</details>

Your full name*
    [text* your-name autocomplete:name minlength:3 maxlength:60 size:60
    placeholder "First L."]

<details><summary>Your email*...</summary>
We need this if we have questions about the event.
</details>
    [email* your-email autocomplete:email minlength:3 maxlength:60 size:60]

<h2>Details</h2>

<details><summary>Title*...</summary>
Required. The short title part that is before a ":".
</details>
    [text* your-subject minlength:5 maxlength:60 size:40 placeholder "Title"]

<details><summary>Subtitle...</summary>
Optional: The part of the title that is usually after the ":" or on
the line below the title.
</details>
    [text subtitle-1 minlength:5 maxlength:80 size:80 placeholder "Subtitle"]

<details><summary>Author*...</summary>
Required. Primary author for a book or article. If more than one put
the other names in the Authors field. If no author, maybe use the
publication's name?
</details>
    [text* Author-1 minlength:5 maxlength:60 size:60 placeholder "Last, First"]

<details><summary>Authors...</summary>
If more than one author, put the other author names here.
</details>
    [text Author-2 minlength:5 maxlength:80 size:80 placeholder "First Last, ..."]

<details><summary>Publication Date*...</summary>
Publish date of a book or an article. Guess, if you don't know, or put
in the date you saw the article.
</details>
    [date* pub-date-1 minlength:10 maxlength:12 size:12]

<details><summary>Publisher...</summary>
For books this is easy. For articles, the publication name or
publisher.  For videos, the Channel name or the hosting organization
name.
</details>
    [text publisher-1 minlength:5 maxlength:60 size:60 placeholder "Publisher"]

<details><summary>Main URL*...</summary>
If book, the URL for where the book could be bought.
If article, URL for article
If video, URL for video
</details>
    [url* main-url-1 minlength:10 maxlength:400 placeholder "https://Main-URL"]

<details><summary>Suggested Image URL...</summary>
While optional, your post will go up a lot faster if you include an
image. URL for event post's images. Or use the next field to attach an
image.
</details>
    [url image-url-1 minlength:10 maxlength:400 placeholder "https://IMAGE-URL"]

<details><summary>Attach Suggested Image...</summary>
Optional. Attach an image from your PC (jpg, jpeg, png). 5MB limit.
</details>
    [file image-file-1 limit:5mb filetypes:jpg|jpeg|png]

<details><summary>Summary* (5,000ch)...</summary>
Give a brief summary of the book or article.
Also include URL's for, author interviews or talks, author website,
author blog site such as substack.
If you want to post a complete article, contact the webteam.
</details>
    [textarea* summary-1 maxlength:5000 placeholder "Description"]

<h2><a target="_blank" href="/categories-and-tags/">categories-and-tags list</a></h2>

<details><summary>Categories*......</summary>
Check all that apply. For a complete list of categories, see: <a
target="_blank"
href="/categories-and-tags/#categories">categories-and-tags</a>. Add
the alternative category in the "Notes" textbox.
</details>
    [checkbox* category-1
  "announcement"
  "article"
  "book"
  "document"
  "documentary"
  "handout"
  "newsletter"
  "organization"
  "photos"
  "podcast"
  "townhall"
  "video"
  "website"
 "Other - see Notes"]

<details><summary>Tags*...</summary>
Check all that apply. For a complete list of tags,
see <a target="_blank"
href="/categories-and-tags/#tags-with-descriptions-and-counts">categories-and-tags</a>.
Add the alternative tags in the "Notes" text box.
</details>
    [checkbox* tags-1
  "building"
  "community"
  "critical-thinking"
  "decision-process"
  "donate"
  "finding-common-goals"
  "history"
  "local"
  "music"
  "news"
  "psychology"
  "review"
  "speech"
  "summary"
  "Other - see Notes"]

<details><summary>Featured...</summary>
Do you want the post to be "Featured?"
</details>
    [radio featured-1 default:1 "No" "Yes"]

<details><summary>Notes to editor (2,000ch)...</summary>
Notes to web team. For example: formatting requests, video links to
author interviews, links to review articles, etc.
</details>
    [textarea notes-1 maxlength:2000 placeholder "Directions to the editor."]

[submit "Send"]

Mail tab

To: ORG-post@googlegroups.com
From: [_site_title] <admin@example.com>
Subject: Add Post: [your-subject]
Additional headers: Reply-To: ORG-post@googlegroups.com
Message Body
From: [your-name] [your-email]
Subject: Add Post [your-subject]

Name: [your-name]
Email: [your-email]

Details:
    Title: [your-subject]
    Subtitle: [subtitle-1]
    Author: [Author-1]
    Other-Authors: [Author-2]
    Pub-Date: [pub-date-1]
    Publisher: [publisher-1]
    Main-URL: [main-url-1]
    Image-URL: [image-url-1]
    See attached file for image.

Summary:
    [summary-1]

Category: [category-1]
Tags: [tags-1]
Featured: [featured-1]
Also see suggested categories and tags in Notes.

Notes:
    [notes-1]

--
A "pending post" with "[your-subject]" may have been created.

If you will be handling this request, please send an email to
ORG-post@googlegroups.com to let others know, so there is no
duplication.

This message is from the add-post-form on website [_site_title] at URL
[_site_url]

Message tab

Thank you for adding the post details. We will let you know when it
is posted. Let us know if you saw an error popup, because that means
your submission may have failed.

Additional Settings tab

skip_mail: on
create_post: true
do_not_store: false
post_template: template-post

Template Page

Create a page named: template-post

ATTR-BEGIN
title: {your-subject}
categories: {category-1}
tags: {tags-1}
publish-date: {pub-date-1}
ATTR-END

{subtitle-1}

By: {Author-1} and {Authors-1}
Publisher: {publisher-1}
Recommended by: {your-name}

{summary-1}

Buy/View: {main-url-1}

Notes

For details, see the Contact form add-post and
https://github.com/TurtleEngr/WP-turtle-template-form-knitter

Name: {your-name}
Email: {your-email}
Featured: {featured-1}
Alt Image URL: {image-url-1}

Note: {notes-1}

Contact Form Page

Create a page named: Add a Post Form

Use this form to add new posts that would be of interest to ORG.
The web team will receive an email and add the post.
Do not use this for adding events; use the "Add Event Form."

See the Guidelines for Posts page for the kinds of posts we are
interested in.

For event posts, use the "Add Event Form."

For general questions, see the "Contact US" Form.

[Contact Form 7: add-post]

Note

If you have defined the publish-date, when you look at the generated post, its publish date it might show "immediately" which looks like it didn't get the date from the form. Click on the "immediately" so you can see if the date has been correctly set.


Add Event


Contact

Create contact form: add-event

Form tab

<details><summary>Click here for more details...</summary>
You can click on the lines with an arrow icon to get more details
about a field. Fields with a * are required. When you submit this form
an email will be sent to website editors and/or a pending event post
will be created.
</details>

Your name*
    [text* your-name autocomplete:name minlength:3 maxlength:60
    placeholder "First Last"]

<details><summary>Your email*...</summary>
We need this if we have questions about the event.
</details>
    [email* your-email autocomplete:email minlength:8 maxlength:60]

<details><summary>Is this urgent?...</summary>
If Yes, we will try to get this posted soon (1 to 2 days).
</details>
    [radio urgent-1 default:1 "Normal" "Urgent"]

<details><summary><b>Event URL...</b></summary>
If the event is posted at another site where people can sign up, or
get more information, please include that URL.
</details>
    [url event-url-1 minlength:10 maxlength:400 placeholder "https://EVENT-URL"]

<details><summary>Is this an ORG-Sponsored event or meeting?</summary>
ORG sponsored events will probably be featured on the home page. A
"Yes" means the Council has approved sponsoring this event. You can
use the "Contact Us" form to ask.
</details>
    [radio org-event-1 default:1 "No" "Need-to-Ask" "Yes"]

<h2>Details</h2>

<details><summary>Title*...</summary>
Required.
</details>
    [text* your-subject minlength:5 maxlength:40 placeholder "Title of event"]

<details><summary>Date*...</summary>
Required. The event post will "expire" after this date. However, the
post might be reused later to post photos from the event.
</details>
    [date* date-1 minlength:10 maxlength:20 placeholder "YYYY-MM-DD"]

<details><summary>Begin Time...</summary>
Use 24-hour format. For example, use 14:30 for 2:30pm.
If this is an all day event, say that in the "Notes" textbox.
</details>
    [text time-beg-1 size:5 minlength:5 maxlength:5 placeholder "HH:MM 24-hour format"]

<details><summary>End Time...</summary>
Required, if there is a begin time.
</details>
    [text time-end-1 size:5 minlength:5 maxlength:5 placeholder "HH:MM 24-hour format"]

<details><summary>Is this a repeating event?...</summary>
If Yes, describe the repeating information in the "Notes" textbox.
</details>
    [radio repeating-1 default:1 "No" "Yes"]

<details><summary>Location...</summary>
Required. Give the address or if an online event, give the URL.
</details>
    [text location-1 minlength:5 maxlength:80 placeholder "street, city, or URL"]

<details><summary>Group's URL...</summary>
Optional. The sponsoring group's URL.
</details>
    [url group-url-1 minlength:10 maxlength:400 placeholder "https://GROUP-URL"]

<details><summary>Suggested Image URL...</summary>
Optional. URL for event post's images. Or use the next field to attach
an image.
</details>
    [url image-url-1 minlength:10 maxlength:400 placeholder "https://IMAGE-URL"]

<details><summary>Attach Suggested Image...</summary>
Optional. Attach an image file from your PC (jpg, png). 3MB
limit. Preferred aspect ratio 16:9 or 9:16.
</details>
    [file image-file-1 limit:3mb filetypes:jpg|jpeg|png]

<details><summary>Describe the event* (5,000ch limit)...</summary>
Required. Give details about the event. What is the purpose, group
sponsoring the event, directions, etc. Only include plain text
here--do not cut/paste formatted text.
</details>
    [textarea* event-details-1 maxlength:5000 placeholder "Describe the event"]

<h2><a target="_blank" href="/categories-and-tags/">categories-and-tags list</a></h2>

<details><summary>Categories*...</summary>
Check all that apply. For a complete list of categories, see: <a
target="_blank"
href="/categories-and-tags/#categories">categories-and-tags</a>. Add
the alternative category in the "Notes" textbox.
</details>
    [checkbox* category-1 default:1
 "announcement"
 "podcast"
 "townhall"
 "webinar"
 "Other - see Notes"]

<details><summary>Tags*...</summary>
Check all that apply. For a complete list of tags, see <a
target="_blank"
href="/categories-and-tags/#tags-with-descriptions-and-counts">categories-and-tags</a>. Add
the alternative tags in the "Notes" text box.
</details>
    [checkbox* tags-1 default:1
 "event"
 "meeting"
 "Other - see Notes"]

<details><summary>Notes to editor (1,000ch)...</summary>
Details for the web-team. This will not go in the event's post. For
example, if this is a repeating event, describe that here. Also,
suggest other categories and tags here.
</details>
    [textarea event-notes-1 maxlength:1000]

[submit "Send"]

Mail tab

To: ORG-post@googlegroups.com
From: [_site_title] <admin@example.com>
Subject: Add Event: [your-subject] [date-1] [urgent-1]
Additional headers: Reply-To: ORG-post@googlegroups.com
Message Body
From: [your-name] [your-email]
Subject: Add Event: [your-subject] [date-1]

Name: [your-name]
Email: [your-email]

Urgent: [urgent-1]

Event-URL: [event-url-1]
    (All the details may be at the Event-URL. The following values
    may override things.)

ORG Sponsored event? [org-event-1]

Details:
    Title: [your-subject]
    Date:  [date-1]
    Begin Time: [time-beg-1]
    End Time:   [time-end-1]
    Repeating:  [repeating-1] If yes, see Notes
    Location:  [location-1]
    Group-URL: [group-url-1]

    Image-URL: [image-url-1]
    Image, see attached file?

Event-Description:
    [event-details-1]

Categories: [category-1]
    Always category: announcement

Tags: [tags-1]
    Always tag: event

Also see suggested categories and tags in Notes.

Notes:
    [event-notes-1]

--
A "pending post event" with "[your-subject]" may have been created.

If you will be handling this request, please send an email to
org-post@googlegroups.com to let others know, so there is no
duplication.

This message is from the add-event form on website [_site_title] at
URL [_site_url]

Message tab

Thank you for adding your event details. We will let you know when it
is posted. Let us know if you saw an error popup, because that means
your submission may have failed.

Additional Settings tab

skip_mail: on
create_post: true
do_not_store: false
post_template: template-event

Template Page

Create a page named: template-event

ATTR-BEGIN
title: {your-subject}
categories: {category-1}
tags: {tags-1}
expire-date: {date-1}
expire-time: {time-end-1}
ATTR-END

When: {date-1}, {time-beg-1} to {time-end-1}
Location: {location-1}
By: {group-url}

{event-details-1}

Event URL: {event-url-1}

Notes

For details, see the Contact form add-event and
https://github.com/TurtleEngr/WP-turtle-template-form-knitter

Name: {your-name}
Email: {your-email}
Urgent: {urgent-1}
ORG Sponsored event? {org-event-1}
Repeating: {repeating-1}
Alt Image URL: {image-url-1}

Note: {event-notes-1}

Contact Form Page

Create a page named: Add An Event Form

Use this form only for events that would be of interest to ORG.  The
web team will receive an email and add the event to the website.

See the Guidelines for Posts page for the kinds of events we are
interested in.

For general posts (books, articles, videos, etc.), use the "Add Post
Form."

For general questions, use the "General Contact" Form.

[Contact Form 7: add-event]

Note

The publish date will be "now" when you publish the event post.