Content Structure
Welcome to the Content Structure documentation.
Here you can find all needed technical descriptions about content types can be used by YMCA Website Services site builders.
The YMCA Website Services core team decided to finalize and stick to specifictions of fields,
created naming conventions aimed to help developers to maintain and upgrade their sites alongside YMCA Website Services development timeline.
1 - Blocks
1.1 - Basic
A simple block with a description.
Fields
Name | Machine name | Required | Description |
---|
Content | field_block_content | Yes | WYSIWYG field without summary. |
1.2 - Block Menu
Implements custom block type with a links.
Fields
Name | Machine name | Required | Description |
---|
Menu Links | field_menu_block_links | Yes | The Menu Links. |
Color | field_menu_block_color | Yes | Select colors for menu block background gradient. |
Text color | field_menu_block_text_color | Yes | Select text color of the menu block. |
1.3 - Branch Amenities
A block with amenities list of the current branch.
Fields
Name | Machine name | Required | Description |
---|
Branch amenities | field_branch_am | Yes | Uses only Custom Formatter to display a list of amenities within Paragraph block. |
Link | field_sb_link | No | Link to display at the bottom of the block. |
Title | field_sb_title | No | Title to display at top of block. |
Icon class | field_icon_class | No | Provide a “Font Awesome” icon name, e.g. flag, car, info. Overrides image icon. |
1.4 - Custom Simple
A simple block with a body.
Fields
Name | Machine name | Required | Description |
---|
Icon | field_icon | No | Icon for block. |
Icon class | field_icon_class | No | Provide a “Font Awesome” icon name, e.g. flag, car, info. Overrides image icon. |
Body | field_sb_body | No | Enter body text. |
Link | field_sb_link | No | Add link to the block. |
Title | field_sb_title | No | Title to display at top of block. |
1.5 - Flexible
A block with amenities list of the current branch.
Fields
Name | Machine name | Required | Description |
---|
Node reference | field_node_ref | Yes | Provide reference to Node. |
2 - Content Types
Welcome to the YMCA Website Services Content Types documentation
In terms of YMCA Website Services - content types are bundles
of node
entity of the Drupal Framework.
You can find a much more low level documentation at
drupal.org.
YMCA Website Services has a bunch of content types shipped for the convenience of usage the resulting site.
We are not limiting amount of content types, could be added by developers, so the list is not final.
The only rule we are trying to follow is to cover shipped list of content types by YMCA Website Services upgrade path.
2.1 - Activity
Activity content type is used for adding Activities on the site.
Fields
Name | Machine name | Required | Description |
---|
Title | drupal’s default | Yes | Title of the activity item. |
Program Subcategory | field_activity_category | Yes | A reference field for selecting the program subcategory. |
Content Area | Field group | | |
Description | field_activity_description | No | Textarea for the description/body with WYSIWYG, without summary. |
URL pattern
Content type is using following pattern:
/programs/[node:field_activity_category:entity:field_category_program:entity:title]/[node:field_activity_category:entity:title]/[node:title]
2.2 - Alert
Alert content type is used for adding alerts on the site.
Fields
Name | Machine name | Required | Description |
---|
Title | drupal’s default | Yes | Title of the activity item. |
Background color | field_alert_color | Yes | Reference field for choosing the term from “Color” vocabulary. |
Text color | field_alert_text_color | Yes | Reference field for choosing the term from “Color” vocabulary. |
Icon color | field_alert_icon_color | No | Reference field for choosing the term from “Color” vocabulary. Description for field: “Leave empty to hide icon.” |
Placement | field_alert_place | Yes | Select list field (singular) for choosing place: |
Description | field_alert_description | Yes | Textarea for the description/body with WYSIWYG, without summary. |
Link | field_alert_link | No | Internal or external link. |
Reference | field_alert_belongs | No | Entity reference with autocomplete to any node. Description for field: “Reference to node (branch, camp, landing page and etc.), where local alert will be displayed.” |
URL pattern
Content type is using following pattern:
/alert/[node:title]
.
2.3 - Article
Article content type is used for adding blog posts, news items, and press releases on the site.
Fields
Name | Machine name | Required | Description |
---|
Title | drupal’s default | Yes | Title of the article item. |
Sub-title | default?? | No | Sub-title of the article item |
Locations | field_article_location | Yes | Reference field to branch and camp nodes. Multiple Values. |
Category | field_article_category | No | Reference field for choosing the term from “Blog Category” vocabulary. Multiple Values. |
Meta Tags | field_meta_tags | No | A meta tags field allows us to provide structured metadata and Graph meta tags for Facebook, Pinterest, LinkedIn and other social networking sites. |
Type | field_article_type | Yes | Select list field with multiple options for choosing article type:- News Item (default)
- Blog Post
- Press Release
|
Image | field_article_image | No | Image field for the Blog item. Entity reference to Media bundle. |
Body | body | No | Textarea for the description/body with WYSIWYG, without summary. |
Content | field_content | No | Filter list of available layout builder components |
Related Content | field_article_related | No | Reference field for choosing related Article nodes. Multiple Values. |
URL pattern
Content type is using following pattern:
/blog/[node:title]
/news/[node:title]
/press-release/[node:title]
2.4 - Blog
Blog Post content type is used for adding blog posts on the site.
Fields
Name | Machine name | Required | Description |
---|
Title | drupal’s default | Yes | Title of the blog item. |
Locations | field_blog_location | Yes | Reference field to branch and camp nodes. Multiple Values. |
Category | field_blog_category | No | Reference field for choosing the term from “Blog Category” vocabulary. Multiple Values. |
Meta Tags | field_meta_tags | No | A meta tags field allows us to provide structured metadata and Graph meta tags for Facebook, Pinterest, LinkedIn and other social networking sites. |
Styles | Field group | | |
Style | field_blog_style | Yes | Select list field with multiple options for choosing style:- Story Card
- Photo Card
- News Card (default)
- Color Card
|
Background color | field_blog_color | No | teaser background color (used when Color Card style is selected.) |
Text color | field_blog_text_color | No | teaser text color (used when Color Card style is selected.) |
Content Area | Field group | | |
Image | field_blog_image | No | Image field for the Blog item. Entity reference to Media bundle. |
Description | field_blog_description | No | Textarea for the description/body with WYSIWYG, without summary. |
Content | field_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
Sidebar Area | Field group | | |
Related content | field_blog_related | No | Reference field for choosing related Blog nodes. Multiple Values. |
Content | field_sidebar_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
URL pattern
Content type is using following pattern:
/blog/[node:title]
2.5 - Branch
Branch content type is used for adding Branches on the site.
Fields
Name | Machine name | Required | Description |
---|
Title | drupal’s default | Yes | Title of the branch item. |
Neighborhood | field_location_area | No | A taxonomy reference field using the “Area” vocabulary. |
Coming Soon | field_location_state | No | A checkbox field to determine branches in development. |
Temporary URL | field_location_temp_url | No | A link field to provide a temporary page URL (a blog post, or something else) if the branch is coming soon. |
Meta Tags | field_meta_tags | No | A meta tags field allows us to provide structured metadata and Graph meta tags for Facebook, Pinterest, LinkedIn and other social networking sites. |
Contact | Field group | | |
Address | field_location_address | Yes | An address field that will provide the ability to add details about the locations. Details to be completed: |
Branch Coordinates | field_location_coordinates | No | Input for providing the latitude and longitude information. |
Phone | field_location_phone | Yes | Input for providing the phone information. |
Fax | field_location_fax | No | Input for providing the fax information. |
Email | field_location_email | No | Input for providing the email information. |
Directions | field_location_directions | No | A link field for adding the directions link. |
Branch Hours | Field group | | |
Branch Hours | field_branch_hours | Paragraph | Paragraph to indicate the branch hours. |
Day of the week | field_branch_hours_day | No | Select list with following values:- sunday|Sunday
- monday|Monday
- tuesday|Tuesday
- wednesday|Wednesday
- thursday|Thursday
- friday|Friday
- saturday|Saturday
|
Start/End Time | field_branch_hours_time | No | Textfield with description “e.g. 9am - 5pm, closed.” |
Header Area | Field group | | |
Content | field_header_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
Content Area | Field group | | |
Content | field_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
Bottom Area | Field group | | |
Content | field_bottom_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
URL pattern
Content type is using following pattern:
/locations/[node:title]
2.6 - Camp
Camp content type is used for adding Camps on the site.
Fields
Name | Machine name | Required | Description |
---|
Title | drupal’s default | Yes | Title of the camp item. |
Menu links | field_camp_menu_links | Yes | Link field with multiple values, that should have the Title and Link field. Based on it, we will complete the Camp Menu. |
Meta Tags | field_meta_tags | No | A meta tags field allows us to provide structured metadata and Graph meta tags for Facebook, Pinterest, LinkedIn and other social networking sites. |
Contact | Field group | | |
Address | field_location_address | Yes | An address field that will provide the ability to add details about the locations. Details to be completed: |
Camp Coordinates | field_location_coordinates | No | Input for providing the latitude and longitude information. |
Phone | field_location_phone | Yes | Input for providing the phone information. |
Fax | field_location_fax | No | Input for providing the fax information. |
Email | field_location_email | No | Input for providing the email information. |
Directions | field_location_directions | No | A link field for adding the directions link. |
Header Area | Field group | | |
Content | field_header_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
Content Area | Field group | | |
Content | field_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
Bottom Area | Field group | | |
Content | field_bottom_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
URL pattern
Content type is using following pattern:
/camps/[node:title]
2.7 - Class
Class content type is used for adding Classes on the site.
Fields
Name | Machine name | Required | Description |
---|
Title | drupal’s default | Yes | Title of the class item. |
Activity | field_class_activity | No | A reference field for selecting the class. |
Meta Tags | field_meta_tags | No | A meta tags field allows us to provide structured metadata and Graph meta tags for Facebook, Pinterest, LinkedIn and other social networking sites. |
Header Area | Field group | | |
Content | field_header_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
Content Area | Field group | | |
Description | field_class_description | No | Textarea for the description/body with WYSIWYG, without summary. |
Content | field_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
Sidebar Area | Field group | | |
Content | field_sidebar_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
Bottom Area | Field group | | |
Content | field_bottom_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
URL pattern
Content type is using following pattern:
/programs/[node:field_class_activity:entity:field_activity_category:entity:field_category_program:entity:title]/[node:field_class_activity:entity:field_activity_category:entity:title]/[node:title]/class-times
2.8 - Event
Event content type is used for adding events on the site.
Fields
Label | Machine Name | Required | Description | Field Settings | Notes |
---|
Title | drupal’s default | Yes | Title of the event item. | | |
Sub-title | default?? | No | Sub-title of the event item. | plain text | |
Locations | field_event_location | Yes | Reference field to branch and camp nodes. Multiple Values. | | Address for event; can be either a branch or non-branch location. |
Category | field_event_category | No | Reference field for choosing the term from “Event Category” vocabulary. Multiple Values. | | |
Meta Tags | field_meta_tags | No | A meta tags field allows us to provide structured metadata and Graph meta tags for Facebook, Pinterest, LinkedIn and other social networking sites. | | |
Image | field_event_image | No | Image field for the Event item. Entity reference to Media bundle. | media | |
Date | field_event_date | Yes | This will use Drupal date/time fields. | | |
Add to Calendar | field_add_to_calendar_link | No | | link | |
Body | body | No | Textarea for the description/body with WYSIWYG, without summary. | | |
Content | field_content | No | Filter list of available layout builder components | | |
Related Content | field_event_related | No | Reference field for choosing related Event nodes. Multiple Values. | | |
URL pattern
Content type is using following pattern:
/event/[node:title]
2.9 - Facility
Facility content type is used for adding facilities on the site.
Fields
Name | Machine name | Required | Description |
---|
Title | drupal’s default | Yes | Title of the facility item. |
Neighborhood | field_location_area | No | A taxonomy reference field using the Area Vocabulary(area). |
Type | field_facility_type | No | A taxonomy reference field using the “Facility Type” vocabulary. |
Facility Branch | field_facility_loc | No | A entity reference field to reference the related Branch node. |
Meta Tags | field_meta_tags | No | A meta tags field allows us to provide structured metadata and Graph meta tags for Facebook, Pinterest, LinkedIn and other social networking sites. |
Contact | Field group | | |
Address | field_location_address | No | An address field that will provide the ability to add details about the locations. Details to be completed: |
Facility Coordinates | field_location_coordinates | No | Input for providing the latitude and longitude information. |
Phone | field_location_phone | Yes | Input for providing the phone information. |
Fax | field_location_fax | No | Input for providing the fax information. |
Email | field_location_email | No | Input for providing the email information. |
Directions | field_location_directions | No | A link field for adding the directions link. |
Facility Hours | field_branch_hours | No | The facility hours |
Facility Holiday Hours | field_branch_holiday_hours | No | Any special holiday hours for the facility. |
Content Area | Field group | | |
Content | field_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
Sidebar Area | Field group | | |
Content | field_sidebar_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
URL pattern
Content type is using following pattern:
/facility/[node:title]
2.10 - Landing Page
Landing Page content type is used for adding landing pages on the site.
Fields
Name | Machine name | Required | Description |
---|
Title | drupal’s default | Yes | Title of the landing page item. |
Layout | field_lp_layout | Yes | Select list with the options:- one_column_clean|One Column - Full width
- one_column|One Column
- two_column|Two Columns
- two_column_fixed|Two Columns with fixed sidebar (sticky at the top)
|
Meta Tags | field_meta_tags | No | A meta tags field allows us to provide structured metadata and Graph meta tags for Facebook, Pinterest, LinkedIn and other social networking sites. |
Header Area | Field group | | |
Content | field_header_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
Content Area | Field group | | |
Content | field_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
Sidebar Area | Field group | | |
Content | field_sidebar_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
Bottom Area | Field group | | |
Content | field_bottom_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
URL pattern
Content type is using following pattern:
[node:title]
2.11 - Landing Page (Layout Builder)
Landing Page content type is used to add Landing Pages to your website using Layout Builder widgets.
This page is managed with Layout Builder. You may want to uncheck “Publish Content” before creating a page, use the “Layout” tab to build the content, then Publish when the page is complete. See our
User Guide for help.
Fields
Label | Machine Name | Required | Description | Field Settings | Notes |
---|
Title | title | yes | Title of Landing Page | | |
Metadata | Field group | | | | |
Meta description | field_meta_description | no | Short text used for metatags and cards | Text (plain, long) | |
Meta image | field_meta_image | no | Media image reference for use in metatags and cards | Entity reference (Media image) | |
Meta tags | field_meta_tags | no | Provided by Metatag module | | |
URL pattern
Content type is using following pattern: [node:title]
2.12 - Membership
Membership content type is used for adding membership on the site.
Fields
Name | Machine name | Required | Description |
---|
Title | drupal’s default | Yes | Title of the membership item. |
Description | field_mbrshp_description | Yes | Textarea for the description/body with WYSIWYG, without summary. |
Image | field_mbrshp_image | Yes | Media field to upload the image. |
Membership info | field_mbrshp_info | Paragraph | Paragraph to indicate the location where the membership is available and the URL. |
Location | field_mbrshp_location | No | Select list with locations (branches). Single value. |
Link | field_mbrshp_link | No | Link field to provide the membership redirect URL. |
Join Fee | field_mbrshp_join_fee | No | Dollar value for how much someone has to pay to join. |
Monthly Rate | field_mbrshp_monthly_rate | No | Dollar value for the monthly fee of the membership. |
URL pattern
Content type is using following pattern:
/membership/[node:title]
2.13 - News
News Post content type is used for adding news posts on the site.
Fields
Name | Machine name | Required | Description |
---|
Title | drupal’s default | Yes | Title of the news item. |
Locations | field_news_location | Yes | Reference field to branch and camp nodes. Multiple Values. |
Category | field_news_category | No | Reference field for choosing the term from “News Category” vocabulary. Multiple Values. |
Meta Tags | field_meta_tags | No | A meta tags field allows us to provide structured metadata and Graph meta tags for Facebook, Pinterest, LinkedIn and other social networking sites. |
Content Area | Field group | | |
Image | field_news_image | No | Image field for the News item. Entity reference to Media bundle. |
Description | field_news_description | No | Textarea for the description/body with WYSIWYG, without summary. |
Content | field_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
Sidebar Area | Field group | | |
Related content | field_news_related | No | Reference field for choosing related News nodes. Multiple Values. |
Content | field_sidebar_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
URL pattern
Content type is using following pattern:
/news/[node:title]
2.14 - Program
Program content type is used for adding Programs on the site.
Fields
Name | Machine name | Required | Description |
---|
Title | drupal’s default | Yes | Title of the program item. |
Meta Tags | field_meta_tags | No | A meta tags field allows us to provide structured metadata and Graph meta tags for Facebook, Pinterest, LinkedIn and other social networking sites. |
Header Area | Field group | | |
Icon | field_program_icon | No | A image field, supporting .svg for uploading the program icon. |
Image | field_program_image | No | A image field, for uploading the program image. |
Color | field_program_color | No | Reference field for choosing the term from “Color” vocabulary. |
Content | field_header_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. If this field is not empty, then the image and icon are not displayed on the page. |
Content Area | Field group | | |
Description | field_program_description | No | Textarea for the description/body with WYSIWYG, without summary. |
Content | field_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
Sidebar Area | Field group | | |
Content | field_sidebar_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
URL pattern
Content type is using following pattern:
/programs/[node:title]
2.15 - Program Subcategory
Program Subcategory content type is used for adding program subcategories on the site.
Fields
Name | Machine name | Required | Description |
---|
Title | drupal’s default | Yes | Title of the program subcategory item. |
Program | field_category_program | Yes | A reference field for selecting the program. |
Meta Tags | field_meta_tags | No | A meta tags field allows us to provide structured metadata and Graph meta tags for Facebook, Pinterest, LinkedIn and other social networking sites. |
Header Area | Field group | | |
Image | field_category_image | No | A image field, for uploading the category image. |
Color | field_category_color | No | Reference field for choosing the term from “Color” vocabulary. |
Content | field_header_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
Content Area | Field group | | |
Description | field_category_description | No | Textarea for the description/body with WYSIWYG, without summary. |
Content | field_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
Sidebar Area | Field group | | |
Content | field_sidebar_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
Bottom Area | Field group | | |
Content | field_bottom_content | No | A paragraph embed field that will allow us to add various flexible content modules, from the predefined list of paragraph types. |
URL pattern
Content type is using following pattern:
/programs/[node:field_category_program:entity:title]/[node:title]
2.16 - Promotion
Promotions are timed pieces of content that allow content editors the flexibility to create a single item that can be placed in multiple locations on the site, without having to duplicate or manage content in multiple locations.
Fields
Name | Machine name | Field type | Required? |
---|
Title | title | | yes |
Subtitle | field_subtitle | Text (plain) | |
CTA / link | field_link | Link | no |
Description | field_promo_description | Text (formatted, long) | no |
Image | field_promo_media | Entity reference | yes |
Pages | field_promo_visibility_pages | Text (plain, long) | |
Promotion Category | field_promo_category | Entity reference | no |
Promotion Priority | field_promo_priority | List (text) | yes |
Promotion visibility state | field_promo_visibility_state | List (text) | yes |
URL pattern
No URL pattern. This content should not be visible on its own.
2.17 - Session
Session content type is used for adding Sessions on the site.
Fields
Name | Machine name | Required | Description |
---|
Title | drupal’s default | Yes | Title of the session item. |
Class | field_session_class | Yes | A reference field for selecting the program subcategory. |
Session Info | Field group | - | - |
Description | field_session_description | No | Textarea for the description/body with WYSIWYG, without summary. |
Gender | field_session_gender | No | Select List with Gender options: Coed, Male, Female. |
Online registration | field_session_online | No | Boolean field that determines if the Register Now button/link gets displayed. |
Ticket required | field_session_ticket | No | Checkbox field to indicate that there is a ticket required. |
Min Age | field_session_min_age | No | Input field for adding the min age. |
Max Age | field_session_max_age | No | Input field for adding the max age. |
Registration link | field_session_reg_link | No | A link field with the Registration link Value. |
Membership | Field group | - | - |
In membership | field_session_in_mbrsh | No | Boolean field that helps determine if the session is included into membership package. |
Member price | field_session_mbr_price | No | Input with with the price information for members. |
Non Member Price | field_session_nmbr_price | No | Input with with the price information for members. |
Location | Field group | - | - |
Location | field_session_location | Yes | A reference field for selecting the branch or camp. |
Physical Location | field_session_plocation | No | A reference field for selecting the facility. |
Time | Field group | - | - |
Exclusions | field_session_exclusions | No | A date field that identifies dates that would normally have an instance of the session but won’t. Needs to be able to have multiple exclusions. Supports multiple values. Should be handled by a single date field with ’end date’ option enabled. Its widget should be adjust to not to show period end date, but show period end time (to keep period start/end date equal). |
Time | field_session_time | Paragraph | Session schedule. |
Date & Time | field_session_time_date | No | This will use Drupal date/time fields & should be a single date field with ’end date’ and ’end time’ option enabled. |
Days | field_session_time_days | No | Checkboxes with following values:- sunday|Sunday
- monday|Monday
- tuesday|Tuesday
- wednesday|Wednesday
- thursday|Thursday
- friday|Friday
- saturday|Saturday
Should support multiple values. |
URL pattern
No URL pattern. Eventually this content type shouldn’t be available for end users.
2.18 - Social Post
Social Post content type is used for adding Social Posts on the site. Social Posts are grabbed from social networks.
Fields
Name | Machine name | Required | Description |
---|
Title | drupal’s default | Yes | Title of the program item. |
ID | field_id | Yes | Post Id in social network. This is system field. Is used by post fetcher. |
Image | field_image | No | Image field for saving post image. Can save jpg and png formats. |
Link | field_link | no | Contains link to original post in social network. |
Platform | field_platform | no | The name of platform where post was imported from. |
Post | field_post | yes | Text of post. |
Posted | field_posted | no | Date when post was posted in social network |
URL pattern
Content type is using following pattern:
/social_post/[node:title]
3 - Layout Builder
These custom block types exist to support page building with Layout Builder.
Global Fields
These fields are reused across many of the below components.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Section heading | field_section_heading | Text (plain) | no | 1 | | | H2 |
Section subheading | field_section_subheading | Text (plain, long) | no | 1 | | | H3 |
Accordion
Expandable pairs of question/answer or header/section fields.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Accordion item | field_block_item | Entity reference | no | unlimited | | Bundle: accordion_item | |
FAQ? | field_is_faq | Boolean | no | | If this section contains Frequently Asked Questions, check this box to output them as “structured data”… | | |
Accordion Item
- Machine name:
accordion_item
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Heading | field_title | Text (plain) | yes | 1 | | | H4 |
Body | body | Text (formatted, long, with summary) | yes | 1 | | | WYSIWYG |
Branch Amenities
Display of all amenities available at a branch location.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Section heading | (inherit) | | | | | | H2 |
Section subheading | (inherit) | | | | | | H3 |
Amenity name | Text (plain) | Entity reference | yes | unlimited | | | Taxonomy |
Cards
Flexible card-style components that allow up to 4 cards to display across a page depending on the chosen layout.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Section heading | (inherit) | | | | | | H2 |
Section subheading | (inherit) | | | | | | H3 |
Section link | field_cta | Link | no | 1 | | | |
# of columns | field_columns | List (text) | yes | 1 | | | |
Card items | field_block_item | Entity reference | no | 4 | | Bundle: card_item | |
Card Item
Machine name: card_item
The Card item block is referenced by the Cards block.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Heading | field_title | Text (plain) | yes | 1 | | | H4 |
Image | field_media | Entity reference | no | 1 | | | |
Topic tag | field_topic_tag | Entity reference | no | 1 | | Bundle: blog_category, news_category | |
Description | field_body | Text (plain, long) | no | 1 | | | |
Link | field_cta | Link | no | 1 | | | |
Carousel
A full-width display with multiple sets of a header, description, and call to action overlaid on top of an image.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Section heading | (inherit) | | | | | | H2 |
Section subheading | (inherit) | | | | | | H3 |
Carousel items | field_block_item | Entity reference | no | 6 | | Bundle: carousel_item | |
Carousel Item
Machine name: carousel_item
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Heading | field_title | Text (plain) | no | 1 | | | H4 |
Image | field_media | Entity reference | yes | 1 | | | |
Description | field_description | Text (formatted, long) | no | 1 | | | |
Link | field_cta | Link | no | 1 | | | |
Code
- Machine name:
ws_code_block
- Project:
ws_code_block
- Designs: This block provides no additional presentation outside of the embedded content.
Embed unfiltered HTML code in a page.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Code | field_code | Text (formatted, long) | yes | 1 | | Text format: “Code” | |
Grid CTA
Sets of content with a headline, description, and link displayed in 2 to 4-item wide rows, with the option to include icons or images.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Section heading | (inherit) | | | | | | H2 |
Section subheading | (inherit) | | | | | | H3 |
Grid CTA section link | field_section_cta_link | Link | no | 1 | A link button to be displayed below the grid content | | |
# of columns | field_columns | List (text) | yes | 1 | | | Allows 2-4 columns, defaults to 4. |
Grid item | field_block_item | Entity Reference | yes | 4 | | Bundle: grid_item | |
Grid Item
Machine name: grid_item
The Grid Item block is referenced by the Grid CTA component.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Heading | field_title | Text (plain) | no | 1 | | | H4 |
Description | field_description | Text (formatted, long) | no | 1 | | | |
Media | field_media | Entity reference | no | 1 | | | |
Link | field_cta | Link | no | 1 | | | |
Hero Banner
A full-width, almost full-height display with a header, description, and call to action overlaid on an image.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Heading | field_heading | Text (plain) | yes | 1 | | | H2 |
Description | field_description | Text (formatted, long) | no | 1 | | | |
Media | field_media | Entity reference | no | 1 | | Bundle: Image, Local Video, Video | |
Link | field_link | Link | no | 1 | | | |
Partners
List of multiple partner / sponsor logos.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Section heading | (inherit) | | | | | | H2 |
Section subheading | (inherit) | | | | | | H3 |
Partner items | field_partner_items | Entity reference revisions | no | unlimited? | | Bundle: lb_partner_item | |
Partner Item
Machine Name: lb_partner_item
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Heading | field_item_heading | Text (plain) | Yes | | | | H4 |
Image | field_item_image | Entity reference | Yes | | | | |
Ping-pong
Usually paired sets of full-width page components that include media, header, description, and call to action arranged horizontally.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Section heading | (inherit) | | | | | | H2 |
Section subheading | (inherit) | | | | | | H3 |
Heading | field_item_heading | Text (plain) | no | 1 | | | H4 |
Description | field_item_description | Text (formatted, long) | no | 1 | | | WYSIWYG |
Link | field_item_link | Link | no | 2 | The first will use the primary style and the second, secondary. | | |
Image | field_item_image | Entity reference | no | 1 | | | |
Image position | field_item_image_position | List (text) | yes | 1 | Places the image on this side of the page in the full-width display. Image will stack above text at narrow widths. | | |
A title, headline, description, and link that usually display in the right or left sidebar.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Title | field_title | Text (plain) | yes | 1 | | | |
Body | body | Text (formatted, long, with summary) | no | 1 | | | |
Image | field_image | Entity reference | no | 1 | | Bundle: Image | |
Link | field_link | Link | no | 1 | | | |
Related Articles
Component for displaying related articles within a page.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Section heading | (inherit) | | | | | | H2 |
Section subheading | (inherit) | | | | | | H3 |
Component for displaying related events within a page.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Section heading | (inherit) | | | | | | H2 |
Section subheading | (inherit) | | | | | | H3 |
Simple Content
Allows users to be able to view responsive tables within a page.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Section heading | (inherit) | | | | | | H2 |
Section subheading | (inherit) | | | | | | H3 |
Body | body | Text (formatted, long, with summary) | no | 1 | | | Allows for responsive tables to be placed in the body. |
A simple 1-level sidebar menu that can display in either the right or left sidebar area.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Icon | field_icon | Entity reference | no | 1 | | Bundle: Image | |
Links | field_links | Link | yes | unlimited | | | |
Staff
Displays simple staff member info cards with image, name, title, email
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Section heading | (inherit) | | | | | | H2 |
Section subheading | (inherit) | | | | | | H3 |
Staff items | field_staff_items | Entity reference revisions | no | unlimited? | | Bundle: lb_staff_item | |
Staff Item
Machine name: lb_staff_item
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Name | field_item_name | Text (plain) | Yes | 1 | | | H4 |
Image | field_item_image | Entity reference | Yes | 1 | | | If no image uploaded, utilize default |
Job title | field_item_job_title | Text (plain) | Yes | 1 | | | |
Email | field_item_email | Text (formatted, mailto) | Yes | 1 | | | Clicking on email should open users default email client |
Statistics
Infographic-like display that highlights relevant statistics to users.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Section heading | (inherit) | | | | | | H2 |
Section subheading | (inherit) | | | | | | H3 |
# of columns | field_columns | List (text) | yes | 1 | | | |
Section link | field_cta | Link | no | 1 | | | |
Statistics item | field_block_item | Entity reference | no | unlimited | | Bundle: statistics_item | |
Statistics Item
Machine name: statistics_item
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Number value | field_subtitle | Text (plain) | yes | 1 | | | |
Description | field_description | Text (plain) | no | 1 | | | |
Tabs
Gives users the ability to switch page views by selecting tabs across the top of the page instead of having to navigate to a new page.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Section heading | (inherit) | | | | | | H2 |
Section subheading | (inherit) | | | | | | H3 |
Tab item | field_block_item | Entity reference | no | unlimited | | Bundle: tab_item | |
Tab Item
Machine name: tab_item
The Tab Item block is referenced by the Tabs block.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Heading | field_heading | Text (plain) | yes | 1 | | | H4 |
Body | field_description | Text (formatted, long) | no | 1 | | | WYSIWYG |
Testimonials
Display of short testimonials or quotes from Y members.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Section heading | (inherit) | | | | | | H2 |
Section subheading | (inherit) | | | | | | H3 |
Testimonial items | field_testimonial_items | Entity reference revisions | no | 4 | | Bundle: lb_testimonial_item | |
Testimonial Item
Machine Name: lb_testimonial_item
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Name | field_item_name | Text (plain) | Yes | 1 | | Firstname, Lastname | H4 |
Image | field_item_image | Entity reference | Yes | 1 | | | If no image uploaded, utilize default |
Quote | field_item_quote | Text (plain) | Yes | 1 | | | |
Embed an existing webform on a page.
Label | Machine Name | Type | Required | Cardinality | Help text | Field Settings | Notes |
---|
Form title | (inherit) | | | | | | |
Form subtitle | (inherit) | | | | | | |
Webform | field_webform | Webform | yes | 1 | | | |
4 - Media
4.1 - WYSIWYG View Modes
Listed view modes are available for embedding in WYSIWYG editor.
View Modes
Name | Machine name | Description |
---|
Full | embedded_full | This view mode displays media asset with full width. |
Half | embedded_half | This view mode displays media asset with half width and uses alignment. |
Link | embedded_link | This view mode displays link to media asset. |
Bundles details
Image
In “Full” and “Half” view modes image should be display in <img>
tag with appropriate classes.
Link - should lead to the original image with target=blank
.
Video
In “Full” and “Half” view modes should be displayed embedded video with appropriate classes.
Link - should lead to the original video with target=blank
.
Document
In “Full” and “Half” view modes document should be displayed as iframe, where URL
is URL to the document. Also it should have appropriate classes.
<iframe src="//docs.google.com/gview?url=URL&embedded=true" frameborder="0"></iframe>
Link - should lead to the original document with target=blank
.
5 - Paragraphs
Welcome to YMCA Website Services Paragraphs.
Paragraphs are bits of content, components, from
component based design ideology.
In a scope of YMCA Website Services architecture paragraphs are based on
Paragraphs Drupal module.
The core idea of paragraphs is to have a nice looking and behaving widget for adding predefined content blocks right in place,
without referencing external entities. Keep in mind, that paragraphs are not reusable types. For having reusable type look for
blocks
or entities
in terms of Drupal 8.
Paragraphs were created for making UX better and super convenient.
5.1 - 1 Column
This is a paragraph type that will be used for implements a paragraph with 1 column.
Fields
Name | Machine name | Required | Description | Notes |
---|
Line Above | field_prfg_display_line_above | No | Display a line above the column. | |
Column | field_prgf_1c_column | No | Enter column body. | |
Paragraph Title | field_prgf_1c_title | No | Enter title to display at the top of 1 column paragraph. | |
Paragraph Description | field_prgf_1c_description | No | Enter description to display under the 1 column paragraph title. | |
5.2 - 2 Columns
This is a paragraph type that will be used for implements a paragraph with 2 column.
Fields
Name | Machine name | Required | Description | Notes |
---|
Line Above | field_prfg_display_line_above | No | Display a line above the column. | |
Left Column | field_prgf_2c_left | No | Enter left column body. | |
Right Column | field_prgf_2c_right | No | Enter right column body. | |
5.3 - 3 Columns
This is a paragraph type that will be used for implements a paragraph with 3 column.
Fields
Name | Machine name | Required | Description | Notes |
---|
Line Above | field_prfg_display_line_above | No | Display a line above the column. | |
Left Column | field_prgf_3c_left | No | Enter left column body. | |
Center Column | field_prgf_3c_center | No | Enter center column body. | |
Right Column | field_prgf_3c_right | No | Enter right column body. | |
Paragraph Title | field_prgf_title | No | Enter title to display at the top of 3 columns paragraph. | |
5.4 - 4 Columns
This is a paragraph type that will be used for implements a paragraph with 4 column.
Fields
Name | Machine name | Required | Description | Notes |
---|
Line Above | field_prfg_display_line_above | No | Display a line above the column. | |
First Column | field_prgf_4c_1st | No | Enter first column body. | |
Second Column | field_prgf_4c_2nd | No | Enter second column body. | |
Third Column | field_prgf_4c_3rd | No | Enter third column body. | |
Fourth Column | field_prgf_4c_4th | No | Enter forth column body. | |
Button | field_prgf_4c_button | No | Button with link to display under 4 column paragraph | |
Paragraph Title | field_prgf_title | No | Enter title to display at the top of 4 columns paragraph. | |
Paragraph Description | field_prgf_description | No | Enter description to display under the 4 columns paragraph title. | |
5.5 - All Amenities
Provide a paragraph with a table view shows list of Branches.
Fields
Name | Machine name | Required | Description |
---|
All amenities | field_field_prgf_amnts_view | No | Predefined reference to a view to display all amenities. |
Title | field_prgf_title | No | Enter title which is going to be displayed on top of the paragraph. |
5.6 - Banner
This is a paragraph type that will be used for the banner content.
Fields
Name | Machine name | Required | Description | Notes |
---|
Headline | field_prgf_headline | Yes | Headline of the banner. | Plain text, 255 characters |
Color | field_prgf_color | Yes | Reference field for choosing the term from “Color” vocabulary. | |
Image | field_prgf_image | No | Entityreference to media image. Single value. | |
Description | field_prgf_description | No | WYSIWYG field without summary. | |
Link | field_prgf_link | No | Link field that should store internal and external links. | |
5.7 - Blog Posts Listing
This is dynamic paragraph that renders the latest blog posts and utilizes exposed filters.
It uses sticky at the top option and order items based on published date (newest at the top).
Fields
Name | Machine name | Required | Description |
---|
Block | field_prgf_block | Yes | Block reference to the view/block. Should have default value and should be hidden in form display. |
5.8 - Branches Popup (All)
This is dynamic paragraph that renders the locations selection popup, based on current node.
Relates to:
- [Schedule search list](Schedule search list.md)
- [Classes Listing](Classes Listing.md)
Fields
Name | Machine name | Required | Description |
---|
Block | field_prgf_block | Yes | Block reference to the view/block. Should have default value and should be hidden in form display. |
5.9 - Branches Popup (Class)
This is dynamic paragraph that renders the locations selection popup, based on current node.
Relates to:
- [Class Sessions](Class Sessions.md)
- [Class Location](Class Location.md)
Fields
Name | Machine name | Required | Description |
---|
Block | field_prgf_block | Yes | Block reference to the view/block. Should have default value and should be hidden in form display. |
5.10 - Categories Listing
This is dynamic paragraph that renders all published categories according to current program page.
It uses sticky at the top option and order items based on published date(newest at the top).
Fields
Name | Machine name | Required | Description |
---|
Block | field_prgf_block | Yes | Block reference to the view/block. Should have default value and should be hidden in form display. |
5.11 - Class Location
This is dynamic paragraph that renders the locations class location view mode, based on url query parameter location with a valid id.
Relates to [Branches Popup (Class)](Branches Popup (Class).md).
- When the page has a location parameter the Branches Popup paragraph will make an “Edit” link on this paragraph visible. That link triggers the Branches Popup to open.
Fields
Name | Machine name | Required | Description |
---|
Block | field_prgf_block | Yes | Block reference to the view/block. Should have default value and should be hidden in form display. |
5.12 - Class Sessions
This is dynamic paragraph that renders the class session instances, based on url query parameter location with a valid id.
Relates to [Branches Popup (Class)](Branches Popup (Class).md).
Fields
Name | Machine name | Required | Description |
---|
Block | field_prgf_block | Yes | Block reference to the view/block. Should have default value and should be hidden in form display. |
Displayed table
- Location(should be displayed in case if &location=% not in the URL. Otherwise should be hiddedn.
- Time + date
- Registration(link)
- Details
- Online registration
- Ticket required
- In membership
- Age Min - Max
Use cases
Use case 3: Class page WITHOUT location popup
3.1 Location in specified URL
- When I open Class page WITHOUT location popup on page
- And I have location=% in the URL
- We skip cookie whether is empty or exist
- Results should be filtered based on location from URL
- In sidebar we should see location teaser
3.2 Preferred branch is empty and no location in URL or Preferred branch is selected and no location in URL
- When I open Class page WITHOUT location popup on page
- And I don’t have a preferred branch
- Or I have a preferred branch
- And I don’t have location=% in the URL
- Results should contain all branches
- In sidebar we should see “All locations….”
Use case 4: Class page WITH location popup
4.1 Location in specified URL
- When I open Class page WITH location popup on page
- And I have location=% in the URL
- We skip cookie whether is empty or exist
- Results should be filtered based on location from URL
- In sidebar we should see location teaser
- Location is sidebar should have “Edit” link that will open location popup
4.2 Preferred branch is empty and no location in URL or Preferred branch is selected and no location in URL
- When I open Class page WITH location popup on page
- And I don’t have a preferred branch
- Or I have a preferred branch
- And I don’t have location=% in the URL
- Results should contain all branches
- In sidebar we should see “All locations….”
- Location popup should be shown (Unless only one location is associated with the class)
5.13 - Classes Listing
and classes listing filters
Classes Listing - should display all published classes grouped by activity.
Classes Listing Filters - this paragraph should disply filter form for “Classes Listing” with following fields:
- Location
- Program
- Sub-program
- Activity
Relates to [Branches Popup (All)](Branches Popup (All).md).
Fields
Name | Machine name | Required | Description |
---|
Block | field_prgf_block | Yes | Block reference to the view/block. Should have default value and should be hidden in form display. |
Use cases
Use case 1: Classes Listing paragraph on a Program subcategory page WITHOUT location popup paragraph
1.1 Preferred branch is selected and no location in URL
- When I open Program subcategory page with Classes Listing WITHOUT location popup on page
- And I have a preferred branch
- And I don’t have location=% in the URL
- Filter by location should be predefined based on cookie
- Results should be filtered
1.2 Preferred branch is empty and no location in URL
- When I open Program subcategory page with Classes Listing WITHOUT location popup on page
- And I don’t have a preferred branch
- And I don’t have location=% in the URL
- Filter by location should show “All”
- Results should be shown for all branches
1.3 Location in specified URL
- When I open Program subcategory page with Classes Listing WITHOUT location popup on page
- And I have location=% in the URL
- We skip cookie whether is empty or exist
- Filter by location should show branch from URL
- Results should be filtered
Use case 2: Classes Listing paragraph on a Program subcategory page WITH location popup
2.1 Preferred branch is selected and no location in URL
- When I open Program subcategory page with Classes Listing WITH location popup on page
- And I have a preferred branch
- And I don’t have location=% in the URL
- Location popup shouldn’t be shown
- Filter by location should be predefined based on cookie
- Results should be filtered
2.2 Preferred branch is empty and no location in URL
- When I open Program subcategory page with Classes Listing WITH location popup on page
- And I don’t have a preferred branch
- And I don’t have location=% in the URL
- Filter by location should show “All”
- Results should be shown for all branches
- Location popup should be shown
2.3 Location in specified URL
- When I open Program subcategory page with Classes Listing WITH location popup on page
- And I have location=% in the URL
- We skip cookie whether is empty or exist
- Location popup shouldn’t be shown
- Filter by location should show branch from URL
- Results should be filtered
5.14 - Code
Provide paragraph containing a Code block. Can be used to embed Youtube video for instance.
Fields
Name | Machine name | Required | Description |
---|
Code | field_prgf_code_block | Yes | Block reference to Code block. Create a new one or pick up an existed Code block. |
5.15 - Featured Blog Posts
This is a paragraph type that will be used for the featured stories.
Fields
Name | Machine name | Required | Description |
---|
Headline | field_prgf_headline | No | Headline of the banner. |
Blog Posts | field_fblog_posts | Yes | Multiple values. Reference field to Blog posts. |
5.16 - Featured Content
This is a paragraph type that will be used for the featured content.
Fields
Name | Machine name | Required | Description |
---|
Headline | field_prgf_headline | No | Headline of the featured content. |
Description | field_prgf_description | No | Textarea for the description/body with WYSIWYG, without summary. |
Link | field_prgf_link | No | Link field that supports internal and external URLs. |
Style | field_prgf_grid_style | Yes | Select list with following values: 2:2 items per row, 3:3 items per row, 4:4 items per row |
Column description | field_prgf_fc_clm_description | No | Multiple values. Textarea for the column with WYSIWYG, without summary. |
5.17 - Featured Highlights
Provides a paragraph containing blocks of specific types positioned as 2, 3 or 4 blocks per row.
Fields
Name | Machine name | Required | Description |
---|
Title | field_prgf_title | No | Paragraph title. |
Style | field_prgf_grid_style | Yes | Select list with following values: 2:2 items per row, 3:3 items per row, 4:4 items per row. |
Featured Highlights block | field_prgf_block_ref_unlim | Yes | Create a new one or pick up an existing block of given types: Featured Highlight Block, Basic Block, Simple Block, Date block. |
5.18 - Featured News Posts
This is a paragraph type that will be used for the featured news.
Fields
Name | Machine name | Required | Description |
---|
Headline | field_prgf_headline | No | Headline of the banner. |
News Posts | field_fnews_posts | Yes | Multiple values. Reference field to News posts. |
5.19 - Gallery
This is a paragraph type that will be used for the gallery content.
Fields
Name | Machine name | Required | Description |
---|
Headline | field_prgf_headline | Yes | Headline of the gallery. |
Description | field_prgf_description | No | WYSIWYG field without summary. |
Link | field_prgf_link | No | Link field that should store internal and external links. |
Images | field_prgf_images | No | Entityreference to media image. Multiple values. |
5.20 - Grid columns
This is a paragraph type that will be used for field_grid_columns the in Grid Content paragraph.
Fields
Name | Machine name | Required | Description |
---|
Description | field_prgf_grid_clm_description | No | Textarea for the description/body with WYSIWYG, without summary. |
Headline | field_prgf_clm_headline | No | Headline of the grid content. |
Icon | field_prgf_clm_icon | No | Entityreference to media asset. Should allow to upload svgs. |
Icon class | field_prgf_clm_class | No | Input field that allows to add the font-awesome icons needed. Description - “Provide a “Font Awesome” icon mane, e.g. flag, car, info. Overrides image Icon.” |
Link | field_prgf_clm_link | No | Link field that supports internal and external URLs. |
5.21 - Grid Content
This is a paragraph type that will be used for the grid content stories.
Fields
Name | Machine name | Required | Description |
---|
Style | field_prgf_grid_style | Yes | Select list with following values: 2:2 items per row, 3:3 items per row, 4:4 items per row |
Content | field_grid_columns | Paragraph | Grid columns |
Description | field_prgf_grid_clm_description | No | Textarea for the description/body with WYSIWYG, without summary. |
Headline | field_prgf_clm_headline | No | Headline of the grid content. |
Icon | field_prgf_clm_icon | No | Entityreference to media asset. Should allow to upload svgs. |
Icon class | field_prgf_clm_class | No | Input field that allows to add the font-awesome icons needed. Description - “Provide a “Font Awesome” icon mane, e.g. flag, car, info. Overrides image Icon.” |
Link | field_prgf_clm_link | No | Link field that supports internal and external URLs. |
5.22 - Group Schedules
This is dynamic paragraph that renders the group schedules from GroupEx Pro.
Fields
Name | Machine name | Required | Description |
---|
Block | field_prgf_block | Yes | Block reference to the view/block. Should have default value and is configurable in form display. |
5.23 - Latest Blog Posts
This is dynamic paragraph that renders the latest blog posts that are promoted to the front page.
It uses sticky at the top option and order items based on published date (newest at the top).
Fields
Name | Machine name | Required | Description |
---|
Block | field_prgf_block | Yes | Block reference to the view/block. Should have default value and should be hidden in form display. |
5.24 - Latest Blog Posts (Branch)
This is dynamic paragraph that renders the latest blog posts associated with a branch.
It uses sticky at the top option and order items based on published date (newest at the top).
Fields
Name | Machine name | Required | Description |
---|
Block | field_prgf_block | Yes | Block reference to the view/block. Should have default value and should be hidden in form display. |
5.25 - Latest Blog Posts (Camp)
This is dynamic paragraph that renders the latest blog posts associated with a camp.
It uses sticky at the top option and order items based on published date (newest at the top).
Fields
Name | Machine name | Required | Description |
---|
Block | field_prgf_block | Yes | Block reference to the view/block. Should have default value and should be hidden in form display. |
5.26 - Latest News Posts
This is dynamic paragraph that renders the latest news posts that are promoted to the front page.
It uses sticky at the top option and order items based on published date (newest at the top).
Fields
Name | Machine name | Required | Description |
---|
Block | field_prgf_block | Yes | Block reference to the view/block. Should have default value and should be hidden in form display. |
5.27 - Latest News Posts (Branch)
This is dynamic paragraph that renders the latest news posts associated with a branch.
It uses sticky at the top option and order items based on published date (newest at the top).
Fields
Name | Machine name | Required | Description |
---|
Block | field_prgf_block | Yes | Block reference to the view/block. Should have default value and should be hidden in form display. |
5.28 - Latest News Posts (Camp)
This is dynamic paragraph that renders the latest news posts associated with a camp.
It uses sticky at the top option and order items based on published date (newest at the top).
Fields
Name | Machine name | Required | Description |
---|
Block | field_prgf_block | Yes | Block reference to the view/block. Should have default value and should be hidden in form display. |
5.29 - Limited Time Offer
This Paragraph add limited time offer for Home Page based on Landing Page CT.
Fields
Name | Machine name | Required | Description |
---|
Subtitle | field_lto_subtitle | No | Enter subtitle for Limited time offer. |
Link | field_lto_link | No | Add link for Latest time offer. |
Title | field_lto_title | No | Enter title for the Limited Time Offer. |
5.30 - Location finder
This is paragraph that renders the Location finder block.
Location finder block contains locations views displays with branches, camps and facilities.
Fields
Name | Machine name | Required | Description |
---|
Location finder | field_prgf_location_finder | No | Block reference to the location_finder block. Should have default value and should be hidden in form display. |
5.31 - Location finder filters
This is paragraph that renders the Location finder map with pins and filters.
Fields
Name | Machine name | Required | Description |
---|
Location finder | field_prgf_location_finder | No | Block reference to the location_finder block. Should have default value and should be hidden in form display. |
Tags style | field_prgf_lf_tags_style | Yes | Tags style that will be used for map tags filter. Default - checkboxes. Second option is multiselect widget with checkboxes. |
5.32 - Membership info
This is a paragraph type that will be used for field_mbrshp_info the in Membership CT.
Fields
Name | Machine name | Required | Description |
---|
Location | field_mbrshp_location | No | Select list with locations (branches). Single value. |
Link | field_mbrshp_link | No | Link field to provide the membership redirect URL. |
Join Fee | field_mbrshp_join_fee | No | Dollar value for how much someone has to pay to join. |
Monthly Rate | field_mbrshp_monthly_rate | No | Dollar value for the monthly fee of the membership. |
5.33 - Microsites menu
Provide paragraph containing a microsites menu block.
Fields
Name | Machine name | Required | Description |
---|
Menu Block | field_prgf_block_ref | Yes | Block reference to the view/block. Create a new one or pick up an existed menu block. |
Hide Main Menu | field_prgf_ms_menu_hide_menu | No | Whether to hide or not the main website menu. |
5.34 - News Posts Listing
This is dynamic paragraph that renders the latest news posts and utilizes exposed filters.
It uses sticky at the top option and order items based on published date (newest at the top).
Fields
Name | Machine name | Required | Description |
---|
Block | field_prgf_block | Yes | Block reference to the view/block. Should have default value and should be hidden in form display. |
5.35 - Program Registration (Daxko)
This is paragraph that renders the Programs Search Block.
Programs Search Block provides a form to search programs from Daxko.
Relates to:
Daxko
Daxko & Program Registration (Daxko) configuration must be setup before the Program Registration paragraph will work.
Configuration setting at /admin/config/development/daxko/programs-search
Fields
Name | Machine name | Required | Description |
---|
Program registration block | field_prgf_reg_block | No | Block reference to the programs_search_block block. Should have default value and should be hidden in form display. |
5.36 - Promo Card
This is a Paragraph type that will be used for the Promo Cards.
Fields
Name | Machine name | Required | Description |
---|
Title | field_prgf_title | No | Title of the Promo Card. |
Headline | field_prgf_headline | Yes | Headline of the Promo Card. |
Description | field_prgf_description | No | WYSIWYG field without summary. |
Link | field_prgf_link | No | Link field that should store internal and external links. |
5.37 - Schedule search form
This is dynamic paragraph that renders the session instances filters for [Schedule search list](Schedule search list.md).
Fields
Name | Machine name | Required | Description |
---|
Block | field_prgf_block | Yes | Block reference to the view/block. Should have default value and should be hidden in form display. |
5.38 - Schedule search list
This is dynamic paragraph that renders the session instances, based on url parameters, and or filters from [Schedule search form](Schedule search form.md).
Relates to [Branches Popup (All)](Branches Popup (All).md).
Fields
Name | Machine name | Required | Description |
---|
Block | field_prgf_block | Yes | Block reference to the view/block. Should have default value and should be hidden in form display. |
Use cases
Use case 1: Schedule search list paragraph on a page WITHOUT location popup paragraph
1.1 Preferred branch is selected and no location in URL
- When I open Schedule search list page WITHOUT location popup on page
- And I have a preferred branch
- And I don’t have location=% in the URL
- Filter by location should be predefined based on cookie
- Results should be filtered
1.2 Preferred branch is empty and no location in URL
- When I open Schedule search list page WITHOUT location popup on page
- And I don’t have a preferred branch
- And I don’t have location=% in the URL
- Filter by location should show “All”
- Results should be shown for all branches
1.3 Location in specified URL
- When I open Schedule search list page WITHOUT location popup on page
- And I have location=% in the URL
- We skip cookie whether is empty or exist
- Filter by location should show branch from URL
- Results should be filtered
Use case 2: Schedule search list paragraph on a page WITH location popup
2.1 Preferred branch is selected and no location in URL
- When I open Schedule search list page WITH location popup on page
- And I have a preferred branch
- And I don’t have location=% in the URL
- Location popup shouldn’t be shown
- Filter by location should be predefined based on cookie
- Results should be filtered
2.2 Preferred branch is empty and no location in URL
- When I open Schedule search list page WITH location popup on page
- And I don’t have a preferred branch
- And I don’t have location=% in the URL
- Filter by location should show “All”
- Results should be shown for all branches
- Location popup should be shown
2.3 Location in specified URL
- When I open Schedule search list page WITH location popup on page
- And I have location=% in the URL
- We skip cookie whether is empty or exist
- Location popup shouldn’t be shown
- Filter by location should show branch from URL
- Results should be filtered
5.39 - Secondary Description and Sidebar
This is a Paragraph type that will be used for the paragraphs with left (secondary description) and right (sidebar) blocks.
Fields
Name | Machine name | Required | Description |
---|
Left Column | field_prgf_left_column_block | No | Block reference to: Basic Block, Code Block, Date block or Simple Block. Create a new one or pick up an existed block. |
Right Column | field_prgf_right_column_block | No | Block reference to: Basic Block, Code Block, Date block or Simple Block. Create a new one or pick up an existed block. |
5.40 - Session Time
This is a paragraph type that will be used for field_session_time the in Session CT.
Fields
Name | Machine name | Required | Description |
---|
Date & Time | field_session_time_date | No | This will use Drupal date/time fields & should be a single date field with ’end date’ and ’end time’ option enabled. |
Days | field_session_time_days | No | Checkboxes with following values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday |
5.41 - Simple Content
Simple Content is used for adding text to the pages.
Fields
Name | Machine name | Required | Description |
---|
Content | field_prgf_description | Yes | WYSIWYG field without summary. |
5.42 - Small Banner
This is a paragraph type that will be used for the banner content.
Fields
Name | Machine name | Required | Description | Notes |
---|
Color | field_prgf_color | Yes | Reference field for choosing the term from “Color” vocabulary. | |
Headline | field_prgf_headline | Yes | Headline of the Small banner. | Plain text, 255 characters |
Image | field_prgf_image | No | Entityreference to media image. Single value. | |
Description | field_prgf_description | No | WYSIWYG field without summary. | |
5.43 - Social Post Listing
This is dynamic paragraph that renders the latest social posts that were imported from social networks.
Fields
Name | Machine name | Required | Description |
---|
Title | field_prgrf_sl_title | No | Title for block with social posts. |
Description | field_prgrf_sl_description | No | Description for block with social posts. |
Social List | field_prgrf_sl_block | No | Reference to views block which select posts and show them as masorny grid. |
5.44 - Social Share Icons
This is a paragraph type that will be used for the add social media share.
See more
How to configure AddThis
Fields
Name | Machine name | Required | Description | Notes |
---|
5.45 - Story Card
This is a Paragraph type that will be used for the Story Cards.
Fields
Name | Machine name | Required | Description |
---|
Title | field_prgf_title | No | Title of the Story Card. |
Headline | field_prgf_headline | Yes | Headline of the Story Card. |
Link | field_prgf_link | No | Link field that should store internal and external links. |
5.46 - Teaser
This is a paragraph type that will be used for the teaser content.
Fields
Name | Machine name | Required | Description |
---|
Title | field_prgf_title | No | Title of the Teaser. |
Image | field_prgf_image | No | Entityreference to media image. Single value. |
Description | field_prgf_description | No | WYSIWYG field without summary. |
Link | field_prgf_link | No | Link field that should store internal and external links. |
5.47 - Webform
This is a paragraph type that will be used for the embedding webforms.
Fields
Name | Machine name | Required | Description |
---|
Embedded Webform | field_prgf_webform | No | Embedded webform entityreference (select). Single value. |
Default webform submission data (YAML) | field_prgf_webform_default_data | No | YAML code for passing in default values to webform. |
Webform status | field_prgf_webform_status | No | Status of webform on render. Radio with 2 options, open or closed (Closed prevents further submissions). |
6 - Taxonomy
6.1 - Amenities
This is a vocabulary that will be used for adding reference Branch amenities. We will use this for the Branch.
Machine_name: amenities
6.2 - Area
This is a vocabulary that will be used for adding location areas on the site. We will use this for the Location Branch and Facility CTs.
Machine_name: area
6.3 - Blog Category
This is a vocabulary that will be used for adding blog categories on the site.
Machine_name: blog_category
6.4 - Color
This is a vocabulary that will be used for adding colors on the site.
Machine_name: color
Fields
Name | Machine name | Required | Description |
---|
Name | drupal’s default | Yes | Color name. |
Color | field_color | Yes | Color selector. |
6.5 - Facility Type
This is a vocabulary that will be used for adding facility type on the site. We will use this for the Facility CT.
Machine name: facility_type
6.6 - Media Tags
This is a vocabulary that will be used for adding media tags that will allow you to structure your media assets library.
Machine name: media_tags
6.7 - News Category
This is a vocabulary that will be used for adding news categories on the site.
Machine_name: news_category