Skip to content

Commit

Permalink
[WIP] Gallery page entry type
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Mason committed Feb 8, 2024
1 parent 61086f4 commit 071ecd6
Show file tree
Hide file tree
Showing 4 changed files with 168 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
fieldLayouts:
d0bf4c38-03fc-44e1-948a-17a5320d40f8:
tabs:
-
elementCondition: null
elements:
-
autocapitalize: true
autocomplete: false
autocorrect: true
class: null
disabled: false
elementCondition: null
id: null
inputType: null
instructions: null
label: null
max: null
min: null
name: null
orientation: null
placeholder: null
readonly: false
requirable: false
size: null
step: null
tip: null
title: null
type: craft\fieldlayoutelements\entries\EntryTitleField
uid: 3eee3afa-b11b-4ac0-80bf-82f99e1c719f
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: 831db889-442e-4553-9076-fc3bc2843c8c # Hide title
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 16741dc6-bfe1-439b-9713-d23d0c56ad20
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: cd801712-4ba3-4a9c-8fab-0d3e2a58b4eb # Description
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 215cf6db-c324-452a-b3f6-4f8d5453103e
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: 3c9eb8f7-9f84-4c22-84d5-531be77aa6b6 # Featured Image
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: f6daa721-1240-479d-bc44-2699ca97a390
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: 9b832fcb-3346-4b46-8466-9df4a8764bb4
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: 00f1f9f6-c710-431d-bf34-22e3a62d5172 # Overlap Hero
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 9724a1ad-0940-4e97-ab0b-dff5ad87fcfe
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: 72e5075a-9b06-4674-b040-615f4a6f7b70 # Content Blocks - Pages
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: f8592a9f-022d-4986-82b1-8a9699c9302f
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: e98e0ffd-73fa-4e57-808c-dcb9873209ca # Entry - Gallery
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 8923f094-77ce-43a2-b5d1-3cb9727ea1bd
userCondition: null
warning: null
width: 100
name: Pages
uid: c5d9f279-2058-4f60-8a6f-d5b72f6474f8
userCondition: null
handle: galleryPages
hasTitleField: true
name: 'Gallery Pages'
section: f1b8c943-bc12-4001-9e2a-d531379f1aaf # Pages
showStatusField: true
slugTranslationKeyFormat: null
slugTranslationMethod: none
sortOrder: 6
titleFormat: null
titleTranslationKeyFormat: null
titleTranslationMethod: site
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,47 @@ columnSuffix: null
contentColumnType: string
fieldGroup: 9940892d-32f4-4399-acac-ab559ce1c82b # Common
handle: galleryEntry
instructions: ''
instructions: null
name: 'Entry - Gallery'
searchable: true
settings:
allowSelfRelations: false
limit: ''
branchLimit: null
localizeRelations: false
maintainHierarchy: false
maxRelations: null
minRelations: null
selectionCondition:
__assoc__:
-
- elementType
- craft\elements\Entry
-
- fieldContext
- global
-
- class
- craft\elements\conditions\entries\EntryCondition
-
- conditionRules
-
-
__assoc__:
-
- class
- craft\elements\conditions\entries\TypeConditionRule
-
- uid
- 3082cdf4-0138-4374-bea7-7590101999cb
-
- operator
- in
-
- values
-
- 131aa2a4-f25c-440b-846a-296d1c24f130 # Gallery
selectionLabel: 'Select a Gallery'
showSiteMenu: false
source: null
sources:
- 'section:3a8b9653-cdd3-46ce-84b2-d73b5dc4de63' # Gallery
targetSiteId: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ scope:
- 'entrytypes.26ca2777-e4c8-41b4-ac93-aa28d09117dd:read' # Student Pages
- 'entrytypes.b55b0827-5ceb-45e1-bd3c-a35dc4638886:read' # Investigation Landing Page
- 'entrytypes.15ca4b7f-3874-4461-aae9-869c9cdf076b:read' # Redirect Page
- 'entrytypes.f3bcea87-c25d-410a-816c-5ad57988b381:read' # Gallery Pages
- 'sections.04a48967-eac4-449f-b164-c8ecbb7036d6:read' # Search Results
- 'entrytypes.229f2975-93d3-4c6a-9996-dfa1de3004ef:read' # Search Results
- 'sections.fb3283a6-7286-4b2b-a77a-010783dcee7e:read' # Slideshows
Expand Down
3 changes: 2 additions & 1 deletion api/config/project/project.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dateModified: 1705956101
dateModified: 1707427493
email:
fromEmail: $EMAIL_FROM_ADDRESS
fromName: $EMAIL_SENDER_NAME
Expand Down Expand Up @@ -375,6 +375,7 @@ meta:
f00a12dc-93a3-4782-8d0a-3672c0107c02: 'Image Grid' # Image Grid
f0603433-ef74-4883-8aec-03e31f8dc34e: 'Complex Table' # Complex Table
f1b8c943-bc12-4001-9e2a-d531379f1aaf: Pages # Pages
f3bcea87-c25d-410a-816c-5ad57988b381: 'Gallery Pages' # Gallery Pages
f8ed5c4f-7af4-40f7-939d-b7caf9b4b501: 'News Item' # News Item
f69fbef5-6f67-486f-9e62-7be537bea803: 'Contact Form Topics' # Contact Form Topics
f98e0a8a-8a90-4402-9cd5-3cfddd38bff3: Link # Link
Expand Down

0 comments on commit 071ecd6

Please sign in to comment.