Skip to content

Commit

Permalink
SDSS-1300: Added featured event field and feeds (#477)
Browse files Browse the repository at this point in the history
* SDSS-1300: Added featured event field and feeds.
  • Loading branch information
buttonwillowsix authored Aug 22, 2024
1 parent c2303a1 commit d4136ee
Show file tree
Hide file tree
Showing 9 changed files with 353 additions and 49 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ dependencies:
- field.field.node.stanford_event.su_sdss_custm_event_feat_media
- field.field.node.stanford_event.su_sdss_event_topics
- field.field.node.stanford_event.su_sdss_events_focal_areas
- field.field.node.stanford_event.su_sdss_featured
- field.field.node.stanford_event.su_sdss_related_content
- field.field.node.stanford_event.su_shared_tags
- node.type.stanford_event
Expand All @@ -51,14 +52,15 @@ third_party_settings:
field_group:
group_editorial_content:
children:
- su_sdss_featured
- su_event_subheadline
- su_event_dek
- su_event_sponsor
- su_sdss_custm_event_feat_media
label: 'Editorial Content'
region: content
parent_name: ''
weight: 3
weight: 1
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -72,7 +74,7 @@ third_party_settings:
label: 'Body Content'
region: content
parent_name: ''
weight: 4
weight: 3
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -94,7 +96,7 @@ third_party_settings:
label: 'Event Details'
region: content
parent_name: ''
weight: 5
weight: 2
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -107,7 +109,7 @@ third_party_settings:
label: 'Schedule Details'
region: content
parent_name: ''
weight: 6
weight: 4
format_type: fieldset
format_settings:
classes: ''
Expand All @@ -117,31 +119,34 @@ third_party_settings:
open: false
group_taxonomy:
children:
- su_sdss_event_topics
- su_event_type
- su_shared_tags
- su_event_keywords
- su_event_subject
- su_event_groups
- su_sdss_events_focal_areas
label: Taxonomy
- su_sdss_related_content
label: 'Taxonomy & Related Content'
region: content
parent_name: ''
weight: 10
format_type: details
weight: 5
format_type: fieldset
format_settings:
classes: ''
show_empty_fields: false
id: ''
open: false
description: ''
required_fields: false
open: 0
id: node.stanford_event.default
targetEntityType: node
bundle: stanford_event
mode: default
content:
body:
type: text_textarea_with_summary
weight: 2
weight: 1
region: content
settings:
rows: 9
Expand All @@ -151,18 +156,18 @@ content:
third_party_settings: { }
publish_on:
type: datetime_timestamp_no_default
weight: 12
weight: 10
region: content
settings: { }
third_party_settings: { }
scheduler_settings:
weight: 11
weight: 9
region: content
settings: { }
third_party_settings: { }
stanford_intranet__access:
type: entity_access
weight: 9
weight: 8
region: content
settings: { }
third_party_settings: { }
Expand All @@ -175,24 +180,26 @@ content:
third_party_settings: { }
su_event_alt_loc:
type: string_textfield
weight: 24
weight: 5
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_event_audience:
type: options_buttons
weight: 30
weight: 10
region: content
settings: { }
third_party_settings: { }
su_event_components:
type: layout_paragraphs
weight: 4
weight: 3
region: content
settings:
view_mode: default
preview_view_mode: default
form_display_mode: default
nesting_depth: 0
require_layouts: 1
empty_message: ''
Expand All @@ -201,23 +208,23 @@ content:
add_another: ''
su_event_contact_info:
type: string_textfield
weight: 29
weight: 9
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_event_cta:
type: link_default
weight: 31
weight: 11
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
su_event_date_time:
type: smartdate_timezone
weight: 21
weight: 1
region: content
settings:
modal: false
Expand All @@ -240,23 +247,23 @@ content:
third_party_settings: { }
su_event_dek:
type: string_textfield
weight: 5
weight: 9
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_event_email:
type: email_default
weight: 26
weight: 7
region: content
settings:
placeholder: ''
size: 60
third_party_settings: { }
su_event_groups:
type: readonly_field_widget
weight: 13
weight: 18
region: content
settings:
label: above
Expand All @@ -267,7 +274,7 @@ content:
third_party_settings: { }
su_event_keywords:
type: readonly_field_widget
weight: 11
weight: 16
region: content
settings:
label: above
Expand All @@ -278,14 +285,14 @@ content:
third_party_settings: { }
su_event_location:
type: address_default
weight: 23
weight: 3
region: content
settings:
wrapper_type: details
third_party_settings: { }
su_event_map_link:
type: link_default
weight: 25
weight: 6
region: content
settings:
placeholder_url: ''
Expand All @@ -305,15 +312,15 @@ content:
third_party_settings: { }
su_event_source:
type: link_default
weight: 22
weight: 2
region: content
settings:
placeholder_url: ''
placeholder_title: ''
third_party_settings: { }
su_event_sponsor:
type: string_textfield
weight: 6
weight: 10
region: content
settings:
size: 60
Expand All @@ -323,15 +330,15 @@ content:
add_another: 'Add another sponsor'
su_event_subheadline:
type: string_textfield
weight: 4
weight: 8
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_event_subject:
type: readonly_field_widget
weight: 12
weight: 17
region: content
settings:
label: above
Expand All @@ -342,14 +349,14 @@ content:
third_party_settings: { }
su_event_telephone:
type: telephone_default
weight: 28
weight: 8
region: content
settings:
placeholder: ''
third_party_settings: { }
su_event_type:
type: cshs
weight: 0
weight: 14
region: content
settings:
save_lineage: false
Expand All @@ -362,14 +369,14 @@ content:
third_party_settings: { }
su_sdss_custm_event_feat_media:
type: media_library_widget
weight: 7
weight: 11
region: content
settings:
media_types: { }
third_party_settings: { }
su_sdss_event_topics:
type: cshs
weight: 1
weight: 13
region: content
settings:
save_lineage: false
Expand All @@ -382,7 +389,7 @@ content:
third_party_settings: { }
su_sdss_events_focal_areas:
type: entity_reference_autocomplete
weight: 14
weight: 19
region: content
settings:
match_operator: CONTAINS
Expand All @@ -392,9 +399,16 @@ content:
third_party_settings:
change_labels:
add_another: ''
su_sdss_featured:
type: boolean_checkbox
weight: 7
region: content
settings:
display_label: true
third_party_settings: { }
su_sdss_related_content:
type: entity_reference_autocomplete
weight: 32
weight: 20
region: content
settings:
match_operator: CONTAINS
Expand All @@ -404,7 +418,7 @@ content:
third_party_settings: { }
su_shared_tags:
type: cshs
weight: 10
weight: 15
region: content
settings:
save_lineage: false
Expand All @@ -417,7 +431,7 @@ content:
third_party_settings: { }
title:
type: string_textfield
weight: 2
weight: 0
region: content
settings:
size: 60
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies:
- field.field.node.stanford_event.su_sdss_custm_event_feat_media
- field.field.node.stanford_event.su_sdss_event_topics
- field.field.node.stanford_event.su_sdss_events_focal_areas
- field.field.node.stanford_event.su_sdss_featured
- field.field.node.stanford_event.su_sdss_related_content
- field.field.node.stanford_event.su_shared_tags
- node.type.stanford_event
Expand Down Expand Up @@ -893,6 +894,16 @@ content:
third_party_settings: { }
weight: 120
region: main
su_sdss_featured:
type: boolean
label: above
settings:
format: default
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 122
region: main
su_sdss_related_content:
type: entity_reference_label
label: above
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies:
- field.field.node.stanford_event.su_sdss_custm_event_feat_media
- field.field.node.stanford_event.su_sdss_event_topics
- field.field.node.stanford_event.su_sdss_events_focal_areas
- field.field.node.stanford_event.su_sdss_featured
- field.field.node.stanford_event.su_sdss_related_content
- field.field.node.stanford_event.su_shared_tags
- node.type.stanford_event
Expand Down Expand Up @@ -217,5 +218,6 @@ hidden:
su_sdss_custm_event_feat_media: true
su_sdss_event_topics: true
su_sdss_events_focal_areas: true
su_sdss_featured: true
su_sdss_related_content: true
su_shared_tags: true
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies:
- field.field.node.stanford_event.su_sdss_custm_event_feat_media
- field.field.node.stanford_event.su_sdss_event_topics
- field.field.node.stanford_event.su_sdss_events_focal_areas
- field.field.node.stanford_event.su_sdss_featured
- field.field.node.stanford_event.su_sdss_related_content
- field.field.node.stanford_event.su_shared_tags
- node.type.stanford_event
Expand Down Expand Up @@ -272,5 +273,6 @@ hidden:
su_sdss_custm_event_feat_media: true
su_sdss_event_topics: true
su_sdss_events_focal_areas: true
su_sdss_featured: true
su_sdss_related_content: true
su_shared_tags: true
Loading

0 comments on commit d4136ee

Please sign in to comment.