Skip to content

Commit

Permalink
feat(gigascience#2): ux enhancement - install & configure Expanded Si…
Browse files Browse the repository at this point in the history
…ngles plugin
  • Loading branch information
adrienne committed Oct 21, 2023
1 parent 79e5e3e commit e6b6478
Show file tree
Hide file tree
Showing 8 changed files with 229 additions and 2 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"craftcms/aws-s3": "^2.0",
"craftcms/ckeditor": "^3.6",
"craftcms/cms": "^4.4.0",
"verbb/expanded-singles": "^2.0",
"verbb/navigation": "^2.0",
"vlucas/phpdotenv": "^5.4.0"
},
Expand Down
56 changes: 55 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
fieldLayouts:
42661760-44e1-4711-b64b-d9657f56a28b:
tabs:
-
elementCondition: null
elements:
-
autocapitalize: true
autocomplete: false
autocorrect: true
class: null
disabled: false
elementCondition: null
id: null
instructions: null
label: 'Full Name'
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: 6c89f365-bc0f-4f1b-a64d-32c9c341dc7b
userCondition: null
warning: null
width: 100
-
elementCondition: null
fieldUid: 45d4b09a-8975-4643-9e53-117ccabdcdc0 # Job Title
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: f452b95c-d512-4477-842b-bd6bdf4f9369
userCondition: null
warning: null
width: 75
-
elementCondition: null
fieldUid: 7c07df6a-cc67-4027-bb02-932119fb7c9d # Team Member Image
instructions: null
label: null
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 8d80a838-e209-4351-b0a2-c1fa8a5b8304
userCondition: null
warning: null
width: 25
-
elementCondition: null
fieldUid: a593ad16-4e29-4efe-ae8d-2b23f55af1ce # Summary
instructions: null
label: Bio
required: false
tip: null
type: craft\fieldlayoutelements\CustomField
uid: 67abd59c-8b52-4630-8da7-439f9c9254f8
userCondition: null
warning: null
width: 100
name: Content
uid: 0b7c6759-b679-47a2-b2c6-a86ddee7baeb
userCondition: null
handle: default
hasTitleField: true
name: Default
section: 079ba75a-85f6-40a0-a4e2-f35c624860b4 # Team Members
showStatusField: true
slugTranslationKeyFormat: null
slugTranslationMethod: site
sortOrder: 1
titleFormat: null
titleTranslationKeyFormat: null
titleTranslationMethod: site
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
name: Team
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
columnSuffix: null
contentColumnType: string
fieldGroup: 46ef28c2-314a-409e-8fb4-cec188ecd9bb # Team
handle: fieldTeamImage
instructions: null
name: 'Team Member Image'
searchable: false
settings:
allowSelfRelations: false
allowSubfolders: true
allowUploads: true
allowedKinds:
- image
branchLimit: null
defaultUploadLocationSource: 'volume:2c79ab96-cdb4-4f4d-b481-9137d17ee4d8' # Image Files
defaultUploadLocationSubpath: team
localizeRelations: false
maintainHierarchy: false
maxRelations: 1
minRelations: 0
previewMode: full
restrictFiles: true
restrictLocation: true
restrictedDefaultUploadSubpath: '{slug}'
restrictedLocationSource: 'volume:2c79ab96-cdb4-4f4d-b481-9137d17ee4d8' # Image Files
restrictedLocationSubpath: team
selectionCondition:
__assoc__:
-
- elementType
- craft\elements\Asset
-
- fieldContext
- global
-
- class
- craft\elements\conditions\assets\AssetCondition
selectionLabel: null
showSiteMenu: false
showUnpermittedFiles: false
showUnpermittedVolumes: false
sources:
- 'volume:2c79ab96-cdb4-4f4d-b481-9137d17ee4d8' # Image Files
targetSiteId: null
validateRelatedElements: false
viewMode: large
translationKeyFormat: null
translationMethod: site
type: craft\fields\Assets
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
columnSuffix: wcizuxop
contentColumnType: text
fieldGroup: 46ef28c2-314a-409e-8fb4-cec188ecd9bb # Team
handle: fieldTeamJobTitle
instructions: null
name: 'Job Title'
searchable: false
settings:
byteLimit: null
charLimit: null
code: false
columnType: null
initialRows: 4
multiline: false
placeholder: null
uiMode: normal
translationKeyFormat: null
translationMethod: none
type: craft\fields\PlainText
11 changes: 10 additions & 1 deletion config/project/project.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dateModified: 1697672647
dateModified: 1697859945
email:
fromEmail: [email protected]
fromName: 'GigaDB CMS'
Expand All @@ -25,13 +25,18 @@ fs:
url: $OBJECT_STORAGE_ENDPOINT
meta:
__names__:
0df91118-e81f-4965-bd98-d63f4e14cd81: Default # Default
1a4c79b2-ddf3-4b72-95e7-852ab2ff7a8e: Simple # Simple
2c79ab96-cdb4-4f4d-b481-9137d17ee4d8: 'Image Files' # Image Files
4ef510b3-2272-43aa-b249-c7feb612f002: 'Social Media Links' # Social Media Links
5c48af56-7d08-49d7-860a-cdbc27e3ec9a: 'Global Content' # Global Content
6d2f86f1-aa7d-4072-a801-39f6fdcbe051: 'Main Navigation' # Main Navigation
7c07df6a-cc67-4027-bb02-932119fb7c9d: 'Team Member Image' # Team Member Image
9d3df531-4efc-403f-9ce6-26de65b4c56e: 'GigaDB CMS' # GigaDB CMS
45d4b09a-8975-4643-9e53-117ccabdcdc0: 'Job Title' # Job Title
46ef28c2-314a-409e-8fb4-cec188ecd9bb: Team # Team
64ef4e87-922f-4416-a082-0a897b542e90: 'Main Logo' # Main Logo
079ba75a-85f6-40a0-a4e2-f35c624860b4: 'Team Members' # Team Members
79f4cf93-dbd0-4645-a4e9-69aec5866904: 'Global Content' # Global Content
347fc6c8-ef47-4e04-bcea-a2c37cd0debc: 'Account URL' # Account URL
794caefa-4c9a-4eca-8f28-00d0f726f290: Common # Common
Expand All @@ -50,6 +55,10 @@ plugins:
edition: standard
enabled: true
schemaVersion: 3.0.0.0
expanded-singles:
edition: standard
enabled: true
schemaVersion: 1.0.0
navigation:
edition: standard
enabled: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
defaultPlacement: end
enableVersioning: true
handle: sectionTeamMembers
name: 'Team Members'
propagationMethod: all
siteSettings:
a546404d-d266-44e4-8043-45f37c896067: # GigaDB CMS
enabledByDefault: true
hasUrls: true
template: team-members/_entry
uriFormat: 'team/{slug}'
type: channel

0 comments on commit e6b6478

Please sign in to comment.