forked from gigascience/cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gigascience#5): adding FAQ channel
- Loading branch information
Showing
3 changed files
with
85 additions
and
1 deletion.
There are no files selected for viewing
70 changes: 70 additions & 0 deletions
70
config/project/entryTypes/default--1a381f33-3064-467d-bdb8-921e4b5aa28d.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
fieldLayouts: | ||
7cad5b36-6855-4f82-9f4b-dd6949640a78: | ||
tabs: | ||
- | ||
elementCondition: null | ||
elements: | ||
- | ||
autocapitalize: true | ||
autocomplete: false | ||
autocorrect: true | ||
class: null | ||
disabled: false | ||
elementCondition: null | ||
id: 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: 942a293b-135c-4d59-92c6-085bbcbe32e7 | ||
userCondition: null | ||
warning: null | ||
width: 100 | ||
- | ||
elementCondition: null | ||
fieldUid: ff5ba20a-aca5-40b0-acf9-934ca6f67de1 # Question | ||
instructions: null | ||
label: null | ||
required: true | ||
tip: null | ||
type: craft\fieldlayoutelements\CustomField | ||
uid: 55063dea-f50f-47ae-9587-ec4c79e5ba28 | ||
userCondition: null | ||
warning: null | ||
width: 100 | ||
- | ||
elementCondition: null | ||
fieldUid: 45f2b326-f406-4bf0-99b2-dd6c18ed02af # Answer | ||
instructions: null | ||
label: null | ||
required: true | ||
tip: null | ||
type: craft\fieldlayoutelements\CustomField | ||
uid: 2d4a5492-eddd-449e-b6ab-7d1aa2d4c341 | ||
userCondition: null | ||
warning: null | ||
width: 100 | ||
name: Content | ||
uid: 55eac50d-4de4-4d46-a035-cda7931a9e2f | ||
userCondition: null | ||
handle: default | ||
hasTitleField: false | ||
name: Default | ||
section: 396db8a3-6f7c-4e8e-b3d0-d3a3838c454f # FAQ Items | ||
showStatusField: true | ||
slugTranslationKeyFormat: null | ||
slugTranslationMethod: site | ||
sortOrder: 1 | ||
titleFormat: '{{ object.fieldFAQQuestion|striptags|slice(0,70) }}… ' | ||
titleTranslationKeyFormat: null | ||
titleTranslationMethod: site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
dateModified: 1697876862 | ||
dateModified: 1697878800 | ||
email: | ||
fromEmail: [email protected] | ||
fromName: 'GigaDB CMS' | ||
|
@@ -27,6 +27,7 @@ meta: | |
__names__: | ||
0df91118-e81f-4965-bd98-d63f4e14cd81: Default # Default | ||
1a4c79b2-ddf3-4b72-95e7-852ab2ff7a8e: 'Basic Text' # Basic Text | ||
1a381f33-3064-467d-bdb8-921e4b5aa28d: Default # Default | ||
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 | ||
|
@@ -41,6 +42,7 @@ meta: | |
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 | ||
396db8a3-6f7c-4e8e-b3d0-d3a3838c454f: 'FAQ Items' # FAQ Items | ||
794caefa-4c9a-4eca-8f28-00d0f726f290: Common # Common | ||
12982b04-bf9b-48e4-8d73-c1344204d9b7: 'Short Name' # Short Name | ||
164558fd-6662-415b-86d8-bfc72bbbddc7: Global # Global | ||
|
12 changes: 12 additions & 0 deletions
12
config/project/sections/sectionFAQItems--396db8a3-6f7c-4e8e-b3d0-d3a3838c454f.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
defaultPlacement: end | ||
enableVersioning: true | ||
handle: sectionFAQItems | ||
name: 'FAQ Items' | ||
propagationMethod: all | ||
siteSettings: | ||
a546404d-d266-44e4-8043-45f37c896067: # GigaDB CMS | ||
enabledByDefault: true | ||
hasUrls: true | ||
template: faq-items/_entry | ||
uriFormat: 'faq/{slug}' | ||
type: channel |