Skip to content

Commit

Permalink
Merge branch 'hotfix/6.3.23'
Browse files Browse the repository at this point in the history
  • Loading branch information
artistro08 committed Apr 8, 2023
2 parents 6823134 + 3de206a commit e1c83b5
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 13 deletions.
2 changes: 1 addition & 1 deletion seeds/blueprints/content/icons/icons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fields:
type: textarea
label: SVG Code
size: huge
attributes: disabled
permissions: tailor.entry.2dcfff9463ce4c7ea8a9b032bec5ec8a.create
column:
type: partial
path: "#/artistro08-tailorstartertheme/partials/columns/_icon"
50 changes: 39 additions & 11 deletions seeds/blueprints/content/settings/settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,34 @@ fields:
type: entries
source: Content\Page
span: left
comment: The default homepage
commentAbove: The default homepage
displayMode: recordfinder
conditions: content_group != 'search'
permissions: tailor.entry.698afed670f147dd9dcfdc2a0f903ff2
website_name:
label: Website Name
tab: Settings
span: right
commentAbove: The name of the website. Used in the footer and in the header if no logo is set
permissions: tailor.entry.698afed670f147dd9dcfdc2a0f903ff2
favicon:
type: mediafinder
mode: image
label: Favicon
comment: The icon that appears in the browser tab or window
commentAbove: The icon that appears in the browser tab or window
tab: Settings
maxItems: 1
span: left
permissions: tailor.entry.698afed670f147dd9dcfdc2a0f903ff2
logo:
type: mediafinder
mode: image
label: Logo
comment: The Logo. Appears in the navigation
commentAbove: The Logo. Appears in the navigation
tab: Settings
maxItems: 1
span: right
permissions: tailor.entry.698afed670f147dd9dcfdc2a0f903ff2
hr_1:
type: ruler
tab: Settings
Expand All @@ -50,32 +55,32 @@ fields:
label: Enable Shop
default: false
tab: Settings
span: row
spanClass: col-12 col-lg-3
span: left
permissions: tailor.entry.2a9a76d0010c11ed90b6fc95f7401555
enable_events:
type: switch
comment: Enable events on the site.
label: Enable Events
default: false
tab: Settings
span: row
spanClass: col-12 col-lg-3
span: right
permissions: tailor.entry.817ac186fc5d11ec86016e37945c2034
enable_blog:
type: switch
comment: Enable blog posts on the site.
label: Enable Blog
default: false
tab: Settings
span: row
spanClass: col-12 col-lg-3
span: left
permissions: tailor.entry.a113a242ac3711ed82e2cdd679785a5c
enable_search:
type: switch
comment: Enable Search throughout the site
label: Enable Search
default: false
tab: Settings
span: row
spanClass: col-12 col-lg-3
span: right
permissions: tailor.entry.698afed670f147dd9dcfdc2a0f903ff2
default_search_page:
maxItems: 1
label: Default Search Page
Expand All @@ -84,6 +89,7 @@ fields:
source: Content\Page
commentAbove: The default search page. Used if no page is set in a search block.
displayMode: recordfinder
permissions: tailor.entry.698afed670f147dd9dcfdc2a0f903ff2
validation:
- required_if:enable_search,1
conditions: content_group = 'search'
Expand All @@ -98,6 +104,7 @@ fields:
default: false
tab: Search
span: full
permissions: tailor.entry.698afed670f147dd9dcfdc2a0f903ff2
trigger:
action: show
field: enable_search
Expand All @@ -108,6 +115,7 @@ fields:
type: checkboxlist
tab: Search
quickselect: true
permissions: tailor.entry.698afed670f147dd9dcfdc2a0f903ff2
options:
pages: Pages
posts: Blog Posts
Expand All @@ -124,6 +132,7 @@ fields:
commentAbove: The text that is inside the field before the user starts typing
span: full
default: Search this site...
permissions: tailor.entry.698afed670f147dd9dcfdc2a0f903ff2
trigger:
action: show
field: enable_search
Expand Down Expand Up @@ -263,6 +272,7 @@ fields:
commentAbove: Pick your currency code. Used in Stripe Checkout
default: USD
tab: Currency
permissions: tailor.entry.2a9a76d0010c11ed90b6fc95f7401555
options:
AFN: AFN
EUR: EUR
Expand Down Expand Up @@ -578,6 +588,7 @@ fields:
tab: Currency
required: true
span: left
permissions: tailor.entry.2a9a76d0010c11ed90b6fc95f7401555
trigger:
action: show
field: enable_shop
Expand All @@ -589,6 +600,7 @@ fields:
default: value[before]
tab: Currency
span: right
permissions: tailor.entry.2a9a76d0010c11ed90b6fc95f7401555
trigger:
action: show
field: enable_shop
Expand All @@ -600,6 +612,7 @@ fields:
type: section
label: Stripe Keys
tab: Stripe
permissions: tailor.entry.2a9a76d0010c11ed90b6fc95f7401555
trigger:
action: show
field: enable_shop
Expand All @@ -609,6 +622,7 @@ fields:
tab: Stripe
type: sensitive
span: left
permissions: tailor.entry.2a9a76d0010c11ed90b6fc95f7401555
validation:
- required_with:stripe_secret_key
- required_with:stripe_webhook_secret_key
Expand All @@ -621,6 +635,7 @@ fields:
tab: Stripe
span: right
type: sensitive
permissions: tailor.entry.2a9a76d0010c11ed90b6fc95f7401555
validation:
- required_with:stripe_public_key
- required_with:stripe_webhook_secret_key
Expand All @@ -635,6 +650,7 @@ fields:
type: sensitive
comment: The webhook secret to sign requests. The shop will not work without it. For step-by-step instructions on how to get it, <a href='https://scribehow.com/shared/Obtain_a_Stripe_Webhook_Secret__5lTS37MMRnu_hhGzWJe07w' target='_blank'>click here</a>.
commentHtml: true
permissions: tailor.entry.2a9a76d0010c11ed90b6fc95f7401555
validation:
- required_with:stripe_public_key
- required_with:stripe_secret_key
Expand All @@ -650,6 +666,7 @@ fields:
type: entries
source: Content\Page
displayMode: recordfinder
permissions: tailor.entry.2a9a76d0010c11ed90b6fc95f7401555
maxItems: 1
validation:
- required_with:stripe_public_key
Expand All @@ -666,6 +683,7 @@ fields:
mode: array
separator: comma
tab: Shipping
permissions: tailor.entry.2a9a76d0010c11ed90b6fc95f7401555
commentHtml: true
customTags: false
trigger:
Expand Down Expand Up @@ -927,6 +945,7 @@ fields:
type: repeater
prompt: Add new method.
itemsExpanded: false
permissions: tailor.entry.2a9a76d0010c11ed90b6fc95f7401555
trigger:
action: show
field: enable_shop
Expand Down Expand Up @@ -969,6 +988,9 @@ fields:
commentAbove: Specify an email to send email notifications to. Form Submissions & Shop Orders default to this email
tab: Mail Notifications
span: left
permissions:
- tailor.entry.f04b58ea6d8011edaa98d348ccf890ef
- tailor.entry.2a9a76d0010c11ed90b6fc95f7401555
validation:
- email
- required_with:stripe_public_key
Expand All @@ -980,6 +1002,9 @@ fields:
tab: Mail Notifications
commentAbove: The name of the person receiving the notification email. Form Submissions & Shop Orders default to this name
span: right
permissions:
- tailor.entry.f04b58ea6d8011edaa98d348ccf890ef
- tailor.entry.2a9a76d0010c11ed90b6fc95f7401555
validation:
- required_with:notification_email
recaptcha_section:
Expand All @@ -988,11 +1013,14 @@ fields:
comment: Recaptcha helps limit spam from forms in the backend. Only v2 is supported. You can get your keys <a href="https://www.google.com/recaptcha/admin#list">here</a>
commentHtml: true
tab: Forms
permissions: tailor.entry.f04b58ea6d8011edaa98d348ccf890ef
recaptcha_site_key:
type: text
label: Recaptcha Site Key
tab: Forms
permissions: tailor.entry.f04b58ea6d8011edaa98d348ccf890ef
recaptcha_secret_key:
type: text
label: Recaptcha Secret Key
tab: Forms
permissions: tailor.entry.f04b58ea6d8011edaa98d348ccf890ef
3 changes: 2 additions & 1 deletion version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,5 @@ v6.3.17: Added card styling to columns
v6.3.19: Fix locale being stuck in url if there is more than one site.
v6.3.20: fix issue where navbar container style isn't set.
v6.3.21: Added extra sitemap options for tailor entries.
v6.3.22: Setup pagefinder to only use front facing page types. Requires October CMS v3.3.3
v6.3.22: Setup pagefinder to only use front facing page types. Requires October CMS v3.3.3
v6.3.23: Added permissions to settings switches

0 comments on commit e1c83b5

Please sign in to comment.