Skip to content

Commit

Permalink
[F] Entry Callouts have auto-generated title fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Mason authored and blnkt committed Mar 13, 2024
1 parent 56cb522 commit 74f3870
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ fieldLayouts:
disabled: false
elementCondition: null
id: null
inputType: null
instructions: null
label: null
max: null
Expand Down Expand Up @@ -67,7 +68,10 @@ handle: calloutEvent
hasTitleField: false
name: 'Callout - Event'
section: 7cad6f4e-cc7b-45cf-ac7b-6f383e77bc1b # Callouts
showStatusField: true
slugTranslationKeyFormat: null
slugTranslationMethod: site
sortOrder: 5
titleFormat: '{eventEntry|first.title}'
titleFormat: '{{eventEntry|first.title ?? "Event Callout #{id} has Pending Event Post"}}'
titleTranslationKeyFormat: null
titleTranslationMethod: none
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ fieldLayouts:
disabled: false
elementCondition: null
id: null
inputType: null
instructions: null
label: null
max: null
Expand Down Expand Up @@ -67,7 +68,10 @@ handle: calloutNews
hasTitleField: false
name: 'Callout - News'
section: 7cad6f4e-cc7b-45cf-ac7b-6f383e77bc1b # Callouts
showStatusField: true
slugTranslationKeyFormat: null
slugTranslationMethod: site
sortOrder: 4
titleFormat: '{newsEntry|first.title}'
titleFormat: '{{newsEntry|first.title ?? "News Callout #{id} has Pending News Post"}}'
titleTranslationKeyFormat: null
titleTranslationMethod: none
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,29 @@ fieldLayouts:
4cb617a1-f4f9-4f4f-ae58-c44be48749b8:
tabs:
-
elementCondition: null
elements:
-
elementCondition: null
fieldUid: fd2b2124-15e6-4d4c-ae80-2df159c56102
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 96a04f89-11d0-4826-93ac-c78b998fd6ce
userCondition: null
warning: null
width: 100
-
autocapitalize: true
autocomplete: false
autocorrect: true
class: null
disabled: false
elementCondition: null
id: null
inputType: null
instructions: null
label: Title
max: null
Expand All @@ -24,126 +39,170 @@ fieldLayouts:
tip: null
title: null
type: craft\fieldlayoutelements\entries\EntryTitleField
uid: 3bdf853b-7e60-4ed9-94fa-0314f8b6142b
userCondition: null
warning: null
width: 75
-
elementCondition: null
fieldUid: 831db889-442e-4553-9076-fc3bc2843c8c # Hide title
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 45355d01-e9b1-4878-94e0-4da8b1a61d94
userCondition: null
warning: null
width: 25
-
elementCondition: null
fieldUid: cd801712-4ba3-4a9c-8fab-0d3e2a58b4eb # Description
instructions: ''
label: ''
required: ''
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 7efc90f5-a48d-4b0d-8a0a-a244dd0e5122
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: 3c9eb8f7-9f84-4c22-84d5-531be77aa6b6 # Featured Image
instructions: ''
label: ''
required: ''
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: c8d5a76f-2593-450a-9ba0-ff762c6faa1b
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: 05eead62-7bf9-43e4-a7e8-bcd8f9f77323 # Hero
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 19686067-1981-4b39-a69e-b02ad1615184
userCondition: null
warning: null
width: 75
-
elementCondition: null
fieldUid: 00f1f9f6-c710-431d-bf34-22e3a62d5172 # Overlap Hero
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: dbe6283e-7209-4f5f-901f-43cbe7e17b2c
userCondition: null
warning: null
width: 25
-
elementCondition: null
fieldUid: 72e5075a-9b06-4674-b040-615f4a6f7b70 # Content Blocks - Pages
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 79ca0ab4-0876-457b-8d0d-f3f4f1149a5b
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: 8b5bcbee-1883-48ca-8c9a-6c506b9abb99 # Page Type
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: f61bfa86-f6a3-4c96-b31d-6179f6ca2ea6
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: fa690eba-6d46-4a5e-9dcd-0845f5b56c1b # Dynamic Component
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: e22ea8f3-dab3-477b-be8f-ab108bbb198c
userCondition: null
warning: null
width: 100
name: Pages
sortOrder: 1
uid: 66f942b9-81ec-4903-a8e1-e1643e3dd326
userCondition: null
-
elementCondition: null
elements:
-
elementCondition: null
fieldUid: 7970cd65-7a96-418a-8581-d6df4e039e6d # Plain Text
instructions: ''
instructions: null
label: 'Sub Hero Header'
required: ''
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: f6dd7af0-e8cd-41b4-b953-29851d683273
userCondition: null
warning: null
width: 75
-
elementCondition: null
fieldUid: d7fc5f39-2426-421b-bd0b-10aadae80ae3 # Color Scheme
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 52a59c83-401e-4e15-9cae-53b69664b951
userCondition: null
warning: null
width: 25
-
elementCondition: null
fieldUid: 24f23fec-fc66-46f8-86e1-396d01315ad2 # Sub Hero Text
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 7f4711e5-d00d-4b37-a9dc-7ba3a1001b96
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: 6e888efc-ab7a-4c15-9ec5-5954b52984ca # Show Sibling Nav
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: cc6de1c0-8c10-4230-8b62-f8a90bea1d51
userCondition: null
warning: null
width: 100
name: 'Sub Hero Content'
sortOrder: 2
uid: e5c027d9-f9db-4aab-bc41-55ab4bf0ace3
userCondition: null
handle: pages
hasTitleField: true
name: Pages
section: f1b8c943-bc12-4001-9e2a-d531379f1aaf # Pages
showStatusField: true
slugTranslationKeyFormat: null
slugTranslationMethod: site
sortOrder: 1
titleFormat: null
titleTranslationKeyFormat: null
Expand Down
2 changes: 1 addition & 1 deletion api/config/project/project.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dateModified: 1709746311
dateModified: 1710275371
email:
fromEmail: $EMAIL_FROM_ADDRESS
fromName: $EMAIL_SENDER_NAME
Expand Down

0 comments on commit 74f3870

Please sign in to comment.