diff --git a/.ddev/config.yaml b/.ddev/config.yaml new file mode 100644 index 00000000..34890095 --- /dev/null +++ b/.ddev/config.yaml @@ -0,0 +1,275 @@ +name: europa-museum +type: craftcms +docroot: web +php_version: "8.2" +webserver_type: nginx-fpm +xdebug_enabled: false +additional_hostnames: [] +additional_fqdns: [] +database: + type: postgres + version: "13" +use_dns_when_possible: true +composer_version: "2" +web_environment: [] + +# Key features of DDEV's config.yaml: + +# name: # Name of the project, automatically provides +# http://projectname.ddev.site and https://projectname.ddev.site + +# type: # backdrop, craftcms, django4, drupal6/7/8/9/10, laravel, magento, magento2, php, python, shopware6, silverstripe, typo3, wordpress +# See https://ddev.readthedocs.io/en/latest/users/quickstart/ for more +# information on the different project types + +# docroot: # Relative path to the directory containing index.php. + +# php_version: "8.1" # PHP version to use, "5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3" + +# You can explicitly specify the webimage but this +# is not recommended, as the images are often closely tied to DDEV's' behavior, +# so this can break upgrades. + +# webimage: # nginx/php docker image. + +# database: +# type: # mysql, mariadb, postgres +# version: # database version, like "10.4" or "8.0" +# MariaDB versions can be 5.5-10.8 and 10.11, MySQL versions can be 5.5-8.0 +# PostgreSQL versions can be 9-16. + +# router_http_port: # Port to be used for http (defaults to global configuration, usually 80) +# router_https_port: # Port for https (defaults to global configuration, usually 443) + +# xdebug_enabled: false # Set to true to enable Xdebug and "ddev start" or "ddev restart" +# Note that for most people the commands +# "ddev xdebug" to enable Xdebug and "ddev xdebug off" to disable it work better, +# as leaving Xdebug enabled all the time is a big performance hit. + +# xhprof_enabled: false # Set to true to enable Xhprof and "ddev start" or "ddev restart" +# Note that for most people the commands +# "ddev xhprof" to enable Xhprof and "ddev xhprof off" to disable it work better, +# as leaving Xhprof enabled all the time is a big performance hit. + +# webserver_type: nginx-fpm, apache-fpm, or nginx-gunicorn + +# timezone: Europe/Berlin +# This is the timezone used in the containers and by PHP; +# it can be set to any valid timezone, +# see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones +# For example Europe/Dublin or MST7MDT + +# composer_root: +# Relative path to the Composer root directory from the project root. This is +# the directory which contains the composer.json and where all Composer related +# commands are executed. + +# composer_version: "2" +# You can set it to "" or "2" (default) for Composer v2 or "1" for Composer v1 +# to use the latest major version available at the time your container is built. +# It is also possible to use each other Composer version channel. This includes: +# - 2.2 (latest Composer LTS version) +# - stable +# - preview +# - snapshot +# Alternatively, an explicit Composer version may be specified, for example "2.2.18". +# To reinstall Composer after the image was built, run "ddev debug refresh". + +# nodejs_version: "18" +# change from the default system Node.js version to any other version. +# Numeric version numbers can be complete (i.e. 18.15.0) or +# incomplete (18, 17.2, 16). 'lts' and 'latest' can be used as well along with +# other named releases. +# see https://www.npmjs.com/package/n#specifying-nodejs-versions +# Note that you can continue using 'ddev nvm' or nvm inside the web container +# to change the project's installed node version if you need to. + +# additional_hostnames: +# - somename +# - someothername +# would provide http and https URLs for "somename.ddev.site" +# and "someothername.ddev.site". + +# additional_fqdns: +# - example.com +# - sub1.example.com +# would provide http and https URLs for "example.com" and "sub1.example.com" +# Please take care with this because it can cause great confusion. + +# upload_dirs: "custom/upload/dir" +# +# upload_dirs: +# - custom/upload/dir +# - ../private +# +# would set the destination paths for ddev import-files to /custom/upload/dir +# When Mutagen is enabled this path is bind-mounted so that all the files +# in the upload_dirs don't have to be synced into Mutagen. + +# disable_upload_dirs_warning: false +# If true, turns off the normal warning that says +# "You have Mutagen enabled and your 'php' project type doesn't have upload_dirs set" + +# ddev_version_constraint: "" +# Example: +# ddev_version_constraint: ">= 1.22.4" +# This will enforce that the running ddev version is within this constraint. +# See https://github.com/Masterminds/semver#checking-version-constraints for +# supported constraint formats + +# working_dir: +# web: /var/www/html +# db: /home +# would set the default working directory for the web and db services. +# These values specify the destination directory for ddev ssh and the +# directory in which commands passed into ddev exec are run. + +# omit_containers: [db, ddev-ssh-agent] +# Currently only these containers are supported. Some containers can also be +# omitted globally in the ~/.ddev/global_config.yaml. Note that if you omit +# the "db" container, several standard features of DDEV that access the +# database container will be unusable. In the global configuration it is also +# possible to omit ddev-router, but not here. + +# performance_mode: "global" +# DDEV offers performance optimization strategies to improve the filesystem +# performance depending on your host system. Should be configured globally. +# +# If set, will override the global config. Possible values are: +# - "global": uses the value from the global config. +# - "none": disables performance optimization for this project. +# - "mutagen": enables Mutagen for this project. +# - "nfs": enables NFS for this project. +# +# See https://ddev.readthedocs.io/en/latest/users/install/performance/#nfs +# See https://ddev.readthedocs.io/en/latest/users/install/performance/#mutagen + +# fail_on_hook_fail: False +# Decide whether 'ddev start' should be interrupted by a failing hook + +# host_https_port: "59002" +# The host port binding for https can be explicitly specified. It is +# dynamic unless otherwise specified. +# This is not used by most people, most people use the *router* instead +# of the localhost port. + +# host_webserver_port: "59001" +# The host port binding for the ddev-webserver can be explicitly specified. It is +# dynamic unless otherwise specified. +# This is not used by most people, most people use the *router* instead +# of the localhost port. + +# host_db_port: "59002" +# The host port binding for the ddev-dbserver can be explicitly specified. It is dynamic +# unless explicitly specified. + +# mailpit_http_port: "8025" +# mailpit_https_port: "8026" +# The Mailpit ports can be changed from the default 8025 and 8026 + +# host_mailpit_port: "8025" +# The mailpit port is not normally bound on the host at all, instead being routed +# through ddev-router, but it can be bound directly to localhost if specified here. + +# webimage_extra_packages: [php7.4-tidy, php-bcmath] +# Extra Debian packages that are needed in the webimage can be added here + +# dbimage_extra_packages: [telnet,netcat] +# Extra Debian packages that are needed in the dbimage can be added here + +# use_dns_when_possible: true +# If the host has internet access and the domain configured can +# successfully be looked up, DNS will be used for hostname resolution +# instead of editing /etc/hosts +# Defaults to true + +# project_tld: ddev.site +# The top-level domain used for project URLs +# The default "ddev.site" allows DNS lookup via a wildcard +# If you prefer you can change this to "ddev.local" to preserve +# pre-v1.9 behavior. + +# ngrok_args: --basic-auth username:pass1234 +# Provide extra flags to the "ngrok http" command, see +# https://ngrok.com/docs/ngrok-agent/config or run "ngrok http -h" + +# disable_settings_management: false +# If true, DDEV will not create CMS-specific settings files like +# Drupal's settings.php/settings.ddev.php or TYPO3's AdditionalConfiguration.php +# In this case the user must provide all such settings. + +# You can inject environment variables into the web container with: +# web_environment: +# - SOMEENV=somevalue +# - SOMEOTHERENV=someothervalue + +# no_project_mount: false +# (Experimental) If true, DDEV will not mount the project into the web container; +# the user is responsible for mounting it manually or via a script. +# This is to enable experimentation with alternate file mounting strategies. +# For advanced users only! + +# bind_all_interfaces: false +# If true, host ports will be bound on all network interfaces, +# not the localhost interface only. This means that ports +# will be available on the local network if the host firewall +# allows it. + +# default_container_timeout: 120 +# The default time that DDEV waits for all containers to become ready can be increased from +# the default 120. This helps in importing huge databases, for example. + +#web_extra_exposed_ports: +#- name: nodejs +# container_port: 3000 +# http_port: 2999 +# https_port: 3000 +#- name: something +# container_port: 4000 +# https_port: 4000 +# http_port: 3999 +# Allows a set of extra ports to be exposed via ddev-router +# Fill in all three fields even if you don’t intend to use the https_port! +# If you don’t add https_port, then it defaults to 0 and ddev-router will fail to start. +# +# The port behavior on the ddev-webserver must be arranged separately, for example +# using web_extra_daemons. +# For example, with a web app on port 3000 inside the container, this config would +# expose that web app on https://.ddev.site:9999 and http://.ddev.site:9998 +# web_extra_exposed_ports: +# - name: myapp +# container_port: 3000 +# http_port: 9998 +# https_port: 9999 + +#web_extra_daemons: +#- name: "http-1" +# command: "/var/www/html/node_modules/.bin/http-server -p 3000" +# directory: /var/www/html +#- name: "http-2" +# command: "/var/www/html/node_modules/.bin/http-server /var/www/html/sub -p 3000" +# directory: /var/www/html + +# override_config: false +# By default, config.*.yaml files are *merged* into the configuration +# But this means that some things can't be overridden +# For example, if you have 'use_dns_when_possible: true'' you can't override it with a merge +# and you can't erase existing hooks or all environment variables. +# However, with "override_config: true" in a particular config.*.yaml file, +# 'use_dns_when_possible: false' can override the existing values, and +# hooks: +# post-start: [] +# or +# web_environment: [] +# or +# additional_hostnames: [] +# can have their intended affect. 'override_config' affects only behavior of the +# config.*.yaml file it exists in. + +# Many DDEV commands can be extended to run tasks before or after the +# DDEV command is executed, for example "post-start", "post-import-db", +# "pre-composer", "post-composer" +# See https://ddev.readthedocs.io/en/stable/users/extend/custom-commands/ for more +# information on the commands that can be extended and the tasks you can define +# for them. Example: +#hooks: diff --git a/config/project/ckeditor/configs/a6cb7c13-e866-45ba-ad8e-a44c552ff6c1.yaml b/config/project/ckeditor/configs/a6cb7c13-e866-45ba-ad8e-a44c552ff6c1.yaml index 48c187fb..b152d489 100644 --- a/config/project/ckeditor/configs/a6cb7c13-e866-45ba-ad8e-a44c552ff6c1.yaml +++ b/config/project/ckeditor/configs/a6cb7c13-e866-45ba-ad8e-a44c552ff6c1.yaml @@ -5,8 +5,7 @@ headingLevels: - 4 - 5 - 6 -listPlugin: List -name: Vhc +name: 'Rich Text' options: code: indentSequence: ' ' @@ -15,7 +14,6 @@ toolbar: - '|' - heading - '|' - - codeBlock - blockQuote - bold - italic @@ -23,3 +21,4 @@ toolbar: - numberedList - link - insertImage + - createEntry diff --git a/config/project/entryTypes/ctaCaption--6fb16db4-9ff1-412f-8cde-bc13843d78e8.yaml b/config/project/entryTypes/ctaCaption--6fb16db4-9ff1-412f-8cde-bc13843d78e8.yaml index 4d81be1d..c3202e0d 100644 --- a/config/project/entryTypes/ctaCaption--6fb16db4-9ff1-412f-8cde-bc13843d78e8.yaml +++ b/config/project/entryTypes/ctaCaption--6fb16db4-9ff1-412f-8cde-bc13843d78e8.yaml @@ -1,4 +1,4 @@ -color: yellow +color: orange fieldLayouts: e65bd1e5-abf6-43e6-a3f0-2fbb329e35c4: tabs: @@ -53,7 +53,7 @@ fieldLayouts: elementCondition: null fieldUid: 8c274864-9cf0-4ef9-b4bd-88da544515ad # Content Blocks - CTA Caption - Information handle: null - includeInCards: false + includeInCards: true instructions: null label: Information providesThumbs: false @@ -81,13 +81,40 @@ fieldLayouts: width: 100 - elementCondition: null + fieldUid: 24f81c6e-6793-446c-8e1c-a00518b79160 # Link Destination + handle: null + includeInCards: true + instructions: null + label: null + providesThumbs: false + required: true + tip: null + type: craft\fieldlayoutelements\CustomField + uid: b58e08c1-f2a7-4568-bafd-9ff27dd29945 + userCondition: null + warning: null + width: 100 + - + elementCondition: + class: craft\elements\conditions\entries\EntryCondition + conditionRules: + - + class: craft\fields\conditions\OptionsFieldConditionRule + fieldUid: 24f81c6e-6793-446c-8e1c-a00518b79160 # Link Destination + layoutElementUid: b58e08c1-f2a7-4568-bafd-9ff27dd29945 + operator: in + uid: d6cdef82-32eb-4c74-8f85-78cd69f5cdbf + values: + - internal + elementType: craft\elements\Entry + fieldContext: global fieldUid: 3b1b9f85-3554-4b4a-8d39-467bf5e4a35d # Content Blocks - CTA Caption - Internal Link handle: null includeInCards: false instructions: null label: 'Internal Link' providesThumbs: false - required: false + required: true tip: null type: craft\fieldlayoutelements\CustomField uid: 79e1cd1c-b273-4ae7-91d1-ca890d25eaf6 @@ -95,14 +122,26 @@ fieldLayouts: warning: null width: 100 - - elementCondition: null + elementCondition: + class: craft\elements\conditions\entries\EntryCondition + conditionRules: + - + class: craft\fields\conditions\OptionsFieldConditionRule + fieldUid: 24f81c6e-6793-446c-8e1c-a00518b79160 # Link Destination + layoutElementUid: b58e08c1-f2a7-4568-bafd-9ff27dd29945 + operator: in + uid: ae802f13-9046-48ca-bb8e-1d02ec8eacf4 + values: + - external + elementType: craft\elements\Entry + fieldContext: global fieldUid: 55c6cb51-defc-4e30-bc18-e524de65b7b7 # Content Blocks - CTA Caption - External Link handle: null includeInCards: false instructions: null label: 'External Link' providesThumbs: false - required: false + required: true tip: null type: craft\fieldlayoutelements\CustomField uid: 82dcbab5-40bc-4e35-b60c-5c82732a9e90 diff --git a/config/project/entryTypes/embed--386be967-b947-414c-8ea0-824e977d04ad.yaml b/config/project/entryTypes/embed--386be967-b947-414c-8ea0-824e977d04ad.yaml new file mode 100644 index 00000000..0a0ba6e4 --- /dev/null +++ b/config/project/entryTypes/embed--386be967-b947-414c-8ea0-824e977d04ad.yaml @@ -0,0 +1,65 @@ +color: null +fieldLayouts: + 5bb81956-9103-4bdb-99ce-02ab032ec5f5: + tabs: + - + elementCondition: null + elements: + - + autocapitalize: true + autocomplete: false + autocorrect: true + class: null + disabled: false + elementCondition: null + id: null + includeInCards: false + inputType: null + instructions: null + label: null + max: null + min: null + name: null + orientation: null + placeholder: null + providesThumbs: false + readonly: false + requirable: false + size: null + step: null + tip: null + title: null + type: craft\fieldlayoutelements\entries\EntryTitleField + uid: 71e35861-1096-4d5b-b5e8-47ad200b20c4 + userCondition: null + warning: null + width: 100 + - + elementCondition: null + fieldUid: f36520a3-472b-40e0-8895-6f577f213037 # Attachment + handle: null + includeInCards: true + instructions: null + label: null + providesThumbs: false + required: true + tip: null + type: craft\fieldlayoutelements\CustomField + uid: 03178f87-bb08-47b2-9bdb-fb5d23d2827d + userCondition: null + warning: null + width: 100 + name: Content + uid: e2c0abf4-734d-4c22-bde5-d4c88e065840 + userCondition: null +handle: embed +hasTitleField: false +icon: cubes +name: Embed +showSlugField: false +showStatusField: false +slugTranslationKeyFormat: '' +slugTranslationMethod: site +titleFormat: '' +titleTranslationKeyFormat: '' +titleTranslationMethod: site diff --git a/config/project/entryTypes/exhibit--13b5cd9c-c5b1-40bb-8a8a-dc14815aabad.yaml b/config/project/entryTypes/exhibit--13b5cd9c-c5b1-40bb-8a8a-dc14815aabad.yaml index 8e20bfcb..c55246b7 100644 --- a/config/project/entryTypes/exhibit--13b5cd9c-c5b1-40bb-8a8a-dc14815aabad.yaml +++ b/config/project/entryTypes/exhibit--13b5cd9c-c5b1-40bb-8a8a-dc14815aabad.yaml @@ -1,7 +1,9 @@ +color: null fieldLayouts: 268b8d62-05d6-417a-9a6b-ed707ea8dd4b: tabs: - + elementCondition: null elements: - autocapitalize: true @@ -9,7 +11,10 @@ fieldLayouts: autocorrect: true class: null disabled: false + elementCondition: null id: null + includeInCards: false + inputType: null instructions: null label: Title max: null @@ -17,6 +22,7 @@ fieldLayouts: name: null orientation: null placeholder: null + providesThumbs: false readonly: false requirable: false size: null @@ -25,48 +31,71 @@ fieldLayouts: title: null type: craft\fieldlayoutelements\entries\EntryTitleField uid: 8b78b8de-8c42-4fb9-93e2-aac6c4b6fa48 + userCondition: null warning: null width: 100 - + elementCondition: null fieldUid: beb1c87a-67bb-421f-933f-4bc3d1e125e3 # Hero Image + handle: null + includeInCards: false instructions: null label: null + providesThumbs: true required: false tip: null type: craft\fieldlayoutelements\CustomField uid: 85c4431d-c47e-4f71-be6f-822a361ea08f + userCondition: null warning: null width: 100 - + elementCondition: null fieldUid: 778abb42-18bd-447c-99ae-483c775ed3bd # Content Blocks + handle: null + includeInCards: false instructions: null label: null + providesThumbs: false required: false tip: null type: craft\fieldlayoutelements\CustomField uid: f8f20da1-e003-4558-b94c-6fbb7d93e290 + userCondition: null warning: null width: 100 name: Content uid: 5bb95504-52d1-421b-96ad-250b124e139a + userCondition: null - + elementCondition: null elements: - + elementCondition: null fieldUid: c8da1bd9-67c9-402f-8a95-aeaec337e207 # SEO + handle: null + includeInCards: false instructions: null label: null + providesThumbs: false required: false tip: null type: craft\fieldlayoutelements\CustomField uid: d261b3b2-bb97-447e-9647-a7e5f6cbcba1 + userCondition: null warning: null width: 100 name: SEO uid: 101d8795-8da3-4a62-ae6b-0217fac54d72 + userCondition: null handle: exhibit hasTitleField: true +icon: '' name: Exhibit -sortOrder: 1 -titleFormat: null -titleTranslationKeyFormat: null -titleTranslationMethod: '' +showSlugField: true +showStatusField: true +slugTranslationKeyFormat: '' +slugTranslationMethod: site +titleFormat: '' +titleTranslationKeyFormat: '' +titleTranslationMethod: none diff --git a/config/project/entryTypes/featuredEntry--83ef9ed9-6360-4f64-abbb-920baeb2048e.yaml b/config/project/entryTypes/featuredEntry--83ef9ed9-6360-4f64-abbb-920baeb2048e.yaml index 1d82fd89..7fd5337d 100644 --- a/config/project/entryTypes/featuredEntry--83ef9ed9-6360-4f64-abbb-920baeb2048e.yaml +++ b/config/project/entryTypes/featuredEntry--83ef9ed9-6360-4f64-abbb-920baeb2048e.yaml @@ -42,7 +42,7 @@ fieldLayouts: instructions: null label: Entry providesThumbs: false - required: false + required: true tip: null type: craft\fieldlayoutelements\CustomField uid: f2f6cc8c-4b5e-408c-96cb-402677285f65 diff --git a/config/project/entryTypes/form--24db24b1-bf70-414a-8652-ba22d7b0dfc3.yaml b/config/project/entryTypes/form--24db24b1-bf70-414a-8652-ba22d7b0dfc3.yaml index c734868b..ccbe2012 100644 --- a/config/project/entryTypes/form--24db24b1-bf70-414a-8652-ba22d7b0dfc3.yaml +++ b/config/project/entryTypes/form--24db24b1-bf70-414a-8652-ba22d7b0dfc3.yaml @@ -1,4 +1,4 @@ -color: sky +color: blue fieldLayouts: 2e620162-c9b6-427b-8b34-01749ceed604: tabs: @@ -53,7 +53,7 @@ fieldLayouts: elementCondition: null fieldUid: a4c579fb-e9c9-4d0c-91f6-1b3d9980c5ee # Content Blocks - Form - Success Message handle: null - includeInCards: true + includeInCards: false instructions: null label: 'Success Message' providesThumbs: false diff --git a/config/project/entryTypes/imageAndHeadings--a4b1ac77-02b4-4121-91b4-8d3754b290d4.yaml b/config/project/entryTypes/imageAndHeadings--a4b1ac77-02b4-4121-91b4-8d3754b290d4.yaml index 8cc542e2..1b340d09 100644 --- a/config/project/entryTypes/imageAndHeadings--a4b1ac77-02b4-4121-91b4-8d3754b290d4.yaml +++ b/config/project/entryTypes/imageAndHeadings--a4b1ac77-02b4-4121-91b4-8d3754b290d4.yaml @@ -1,4 +1,4 @@ -color: null +color: teal fieldLayouts: 6f1b2935-dba4-460d-be70-b29a7aa0aa60: tabs: diff --git a/config/project/entryTypes/newsArticle--f4cfbdf3-fa41-42c6-99f5-d0efefc2e406.yaml b/config/project/entryTypes/newsArticle--f4cfbdf3-fa41-42c6-99f5-d0efefc2e406.yaml index 8395df1a..7e646b80 100644 --- a/config/project/entryTypes/newsArticle--f4cfbdf3-fa41-42c6-99f5-d0efefc2e406.yaml +++ b/config/project/entryTypes/newsArticle--f4cfbdf3-fa41-42c6-99f5-d0efefc2e406.yaml @@ -1,7 +1,9 @@ +color: null fieldLayouts: f2d9b3bb-59ca-48fc-b355-3cb128ae9dd8: tabs: - + elementCondition: null elements: - autocapitalize: true @@ -9,7 +11,10 @@ fieldLayouts: autocorrect: true class: null disabled: false + elementCondition: null id: null + includeInCards: false + inputType: null instructions: null label: Title max: null @@ -17,6 +22,7 @@ fieldLayouts: name: null orientation: null placeholder: null + providesThumbs: false readonly: false requirable: false size: null @@ -25,78 +31,116 @@ fieldLayouts: title: null type: craft\fieldlayoutelements\entries\EntryTitleField uid: 175c3492-224d-4668-8ad9-a288233d6053 + userCondition: null warning: null width: 100 - + elementCondition: null fieldUid: c3286b59-368a-4fdf-8dbe-48084247c9e2 # Featured Exhibits + handle: null + includeInCards: false instructions: null label: null + providesThumbs: false required: false tip: null type: craft\fieldlayoutelements\CustomField uid: 5bd524ab-c96d-487a-9479-867646501e95 + userCondition: null warning: null width: 100 - + elementCondition: null fieldUid: 079ddf1a-d985-4de2-9929-8dc87fa2047f # News Category + handle: null + includeInCards: false instructions: null label: null + providesThumbs: false required: false tip: null type: craft\fieldlayoutelements\CustomField uid: 871a3951-38e5-44cc-8b2a-ef805ab21cd4 + userCondition: null warning: null width: 100 - + elementCondition: null fieldUid: beb1c87a-67bb-421f-933f-4bc3d1e125e3 # Hero Image + handle: null + includeInCards: false instructions: null label: null + providesThumbs: true required: false tip: null type: craft\fieldlayoutelements\CustomField uid: 5b0bca29-968a-4bba-b621-dd839742da31 + userCondition: null warning: null width: 100 - + elementCondition: null fieldUid: 59eb8fe2-8081-44bc-82ee-b7bc5f91c4ec # Summary + handle: null + includeInCards: true instructions: null label: null + providesThumbs: false required: false tip: null type: craft\fieldlayoutelements\CustomField uid: 81699a5d-8d5f-4e26-8301-0c3da3d53770 + userCondition: null warning: null width: 100 - + elementCondition: null fieldUid: 778abb42-18bd-447c-99ae-483c775ed3bd # Content Blocks + handle: null + includeInCards: false instructions: null label: null + providesThumbs: false required: false tip: null type: craft\fieldlayoutelements\CustomField uid: 03bb6cbc-7430-43ce-bd65-eac867237a7b + userCondition: null warning: null width: 100 name: Content uid: d1fc188f-f98d-423b-82b2-8080912beb4e + userCondition: null - + elementCondition: null elements: - + elementCondition: null fieldUid: c8da1bd9-67c9-402f-8a95-aeaec337e207 # SEO + handle: null + includeInCards: false instructions: null label: null + providesThumbs: false required: false tip: null type: craft\fieldlayoutelements\CustomField uid: d93b9b73-2e95-44ea-afee-db408cc226e1 + userCondition: null warning: null width: 100 name: SEO uid: 3f132cfb-49a0-4aae-b6bf-25fc2666d98a + userCondition: null handle: newsArticle hasTitleField: true +icon: radio name: 'News Article' -sortOrder: 1 -titleFormat: null -titleTranslationKeyFormat: null -titleTranslationMethod: '' +showSlugField: true +showStatusField: true +slugTranslationKeyFormat: '' +slugTranslationMethod: site +titleFormat: '' +titleTranslationKeyFormat: '' +titleTranslationMethod: none diff --git a/config/project/entryTypes/statsAndImage--f75a20aa-e20c-4f26-b217-2d2ffa1a7cac.yaml b/config/project/entryTypes/statsAndImage--f75a20aa-e20c-4f26-b217-2d2ffa1a7cac.yaml index 8d02dee4..e307f20a 100644 --- a/config/project/entryTypes/statsAndImage--f75a20aa-e20c-4f26-b217-2d2ffa1a7cac.yaml +++ b/config/project/entryTypes/statsAndImage--f75a20aa-e20c-4f26-b217-2d2ffa1a7cac.yaml @@ -1,4 +1,4 @@ -color: violet +color: teal fieldLayouts: b00121d3-e692-4fad-9a4d-14069ec52bf4: tabs: @@ -81,13 +81,40 @@ fieldLayouts: width: 100 - elementCondition: null + fieldUid: 24f81c6e-6793-446c-8e1c-a00518b79160 # Link Destination + handle: null + includeInCards: false + instructions: null + label: null + providesThumbs: false + required: true + tip: null + type: craft\fieldlayoutelements\CustomField + uid: 679d878e-d3fb-40e8-9039-042ba1d76067 + userCondition: null + warning: null + width: 100 + - + elementCondition: + class: craft\elements\conditions\entries\EntryCondition + conditionRules: + - + class: craft\fields\conditions\OptionsFieldConditionRule + fieldUid: 24f81c6e-6793-446c-8e1c-a00518b79160 # Link Destination + layoutElementUid: b58e08c1-f2a7-4568-bafd-9ff27dd29945 + operator: in + uid: b5c1272d-9d50-4bc7-9db2-38ac3bec70c0 + values: + - internal + elementType: craft\elements\Entry + fieldContext: global fieldUid: f466ab59-2e29-4cce-85b8-f9ebe7000b03 # Content Blocks - Stats and Image - Internal Link handle: internalLink includeInCards: false instructions: null label: 'Internal Link' providesThumbs: false - required: false + required: true tip: null type: craft\fieldlayoutelements\CustomField uid: 968ff62d-f499-47d0-a78d-1c673957b01e @@ -95,14 +122,26 @@ fieldLayouts: warning: null width: 100 - - elementCondition: null + elementCondition: + class: craft\elements\conditions\entries\EntryCondition + conditionRules: + - + class: craft\fields\conditions\OptionsFieldConditionRule + fieldUid: 24f81c6e-6793-446c-8e1c-a00518b79160 # Link Destination + layoutElementUid: b58e08c1-f2a7-4568-bafd-9ff27dd29945 + operator: in + uid: 339bb47f-64b0-4dc7-af3b-d7342b84d916 + values: + - external + elementType: craft\elements\Entry + fieldContext: global fieldUid: 52ff2568-6318-44d5-a130-818c19f83360 # Content Blocks - Stats and Image - External Link handle: externalLink includeInCards: false instructions: null label: 'External Link' providesThumbs: false - required: false + required: true tip: null type: craft\fieldlayoutelements\CustomField uid: 71306902-1f79-4286-a4bc-77778f2a5c32 diff --git a/config/project/entryTypes/work--bf62232f-0516-44b1-949d-960e37bd6228.yaml b/config/project/entryTypes/work--bf62232f-0516-44b1-949d-960e37bd6228.yaml new file mode 100644 index 00000000..86b006e8 --- /dev/null +++ b/config/project/entryTypes/work--bf62232f-0516-44b1-949d-960e37bd6228.yaml @@ -0,0 +1,95 @@ +color: null +fieldLayouts: + 2d8e6b8a-86f4-4aa6-9395-a77ea8005a01: + tabs: + - + elementCondition: null + elements: + - + autocapitalize: true + autocomplete: false + autocorrect: true + class: null + disabled: false + elementCondition: null + id: null + includeInCards: false + inputType: null + instructions: null + label: null + max: null + min: null + name: null + orientation: null + placeholder: null + providesThumbs: false + readonly: false + requirable: false + size: null + step: null + tip: null + title: null + type: craft\fieldlayoutelements\entries\EntryTitleField + uid: ab04437e-59dc-4f4b-84f6-50190d151c26 + userCondition: null + warning: null + width: 100 + - + elementCondition: null + fieldUid: 4e1408af-3452-4723-828d-1c779542492d # Artist + handle: null + includeInCards: true + instructions: null + label: null + providesThumbs: false + required: true + tip: null + type: craft\fieldlayoutelements\CustomField + uid: 5e7bb16f-be3b-45e3-b2f2-be7ea021d78a + userCondition: null + warning: null + width: 100 + - + elementCondition: null + fieldUid: 71424eae-6314-46d2-8aff-8fe8be940860 # Representative Image + handle: null + includeInCards: false + instructions: null + label: null + providesThumbs: true + required: true + tip: null + type: craft\fieldlayoutelements\CustomField + uid: f57b2cdc-4eba-498a-85e8-195325569989 + userCondition: null + warning: null + width: 100 + - + elementCondition: null + fieldUid: 547be893-d407-44df-9142-f0ba630ce0cb # Year + handle: null + includeInCards: true + instructions: null + label: null + providesThumbs: false + required: true + tip: null + type: craft\fieldlayoutelements\CustomField + uid: 16443aa1-ee0e-471f-9fa3-f4c81a04844f + userCondition: null + warning: null + width: 100 + name: Attributes + uid: 4a828e53-e15e-46a4-b7d1-bd2f93dc97c7 + userCondition: null +handle: work +hasTitleField: true +icon: paintbrush +name: Work +showSlugField: false +showStatusField: false +slugTranslationKeyFormat: '' +slugTranslationMethod: none +titleFormat: '' +titleTranslationKeyFormat: '' +titleTranslationMethod: none diff --git a/config/project/fields/artist--4e1408af-3452-4723-828d-1c779542492d.yaml b/config/project/fields/artist--4e1408af-3452-4723-828d-1c779542492d.yaml new file mode 100644 index 00000000..cf4d5818 --- /dev/null +++ b/config/project/fields/artist--4e1408af-3452-4723-828d-1c779542492d.yaml @@ -0,0 +1,16 @@ +columnSuffix: null +handle: artist +instructions: null +name: Artist +searchable: true +settings: + byteLimit: null + charLimit: null + code: false + initialRows: 4 + multiline: false + placeholder: null + uiMode: normal +translationKeyFormat: null +translationMethod: none +type: craft\fields\PlainText diff --git a/config/project/fields/attachment--f36520a3-472b-40e0-8895-6f577f213037.yaml b/config/project/fields/attachment--f36520a3-472b-40e0-8895-6f577f213037.yaml new file mode 100644 index 00000000..0d5d7a4d --- /dev/null +++ b/config/project/fields/attachment--f36520a3-472b-40e0-8895-6f577f213037.yaml @@ -0,0 +1,26 @@ +columnSuffix: null +handle: attachment +instructions: 'What would you like to embed? The front-end presentation may differ based on the type of entry selected.' +name: Attachment +searchable: false +settings: + allowSelfRelations: false + branchLimit: null + localizeRelations: false + maintainHierarchy: false + maxRelations: 1 + minRelations: 1 + selectionLabel: null + showCardsInGrid: false + showSiteMenu: false + sources: + - 'section:647de63e-c78e-4d05-b61d-013120b49d5d' # Collection + - 'section:c49dac11-102e-429e-8bcc-5c8d99508dcb' # Exhibits + - 'section:666bcffb-61d7-43b4-a9f5-8c51c458b356' # News Articles + - singles + targetSiteId: null + validateRelatedElements: false + viewMode: list +translationKeyFormat: null +translationMethod: site +type: craft\fields\Entries diff --git a/config/project/fields/attribution--7aecb4af-681c-47ff-9160-2cc0fbddcd4e.yaml b/config/project/fields/attribution--7aecb4af-681c-47ff-9160-2cc0fbddcd4e.yaml new file mode 100644 index 00000000..03a38036 --- /dev/null +++ b/config/project/fields/attribution--7aecb4af-681c-47ff-9160-2cc0fbddcd4e.yaml @@ -0,0 +1,16 @@ +columnSuffix: null +handle: attribution +instructions: null +name: Attribution +searchable: true +settings: + byteLimit: null + charLimit: null + code: false + initialRows: 4 + multiline: false + placeholder: null + uiMode: normal +translationKeyFormat: null +translationMethod: none +type: craft\fields\PlainText diff --git a/config/project/fields/contentBlocks--778abb42-18bd-447c-99ae-483c775ed3bd.yaml b/config/project/fields/contentBlocks--778abb42-18bd-447c-99ae-483c775ed3bd.yaml index af19d2e7..d0e7fc3b 100644 --- a/config/project/fields/contentBlocks--778abb42-18bd-447c-99ae-483c775ed3bd.yaml +++ b/config/project/fields/contentBlocks--778abb42-18bd-447c-99ae-483c775ed3bd.yaml @@ -1,24 +1,26 @@ columnSuffix: null -contentColumnType: string handle: contentBlocks instructions: null name: 'Content Blocks' searchable: true settings: entryTypes: + - 371b985f-f191-4c1b-8785-c4133cbb42fc # Heading + - 8f9a20e9-754d-490d-baa6-b9512feafa91 # Rich Text + - a4b1ac77-02b4-4121-91b4-8d3754b290d4 # Image and Headings - 0d3f8f65-dde1-4921-a575-26ade4545fc9 # Slider + - f75a20aa-e20c-4f26-b217-2d2ffa1a7cac # Stats and Image - 6fb16db4-9ff1-412f-8cde-bc13843d78e8 # CTA Caption - - 8f9a20e9-754d-490d-baa6-b9512feafa91 # Rich Text + - 83ef9ed9-6360-4f64-abbb-920baeb2048e # Featured Entry - 9ba346ec-12cc-4b07-9a30-677efc6e97c1 # Google Map Embed - 24db24b1-bf70-414a-8652-ba22d7b0dfc3 # Form - - 83ef9ed9-6360-4f64-abbb-920baeb2048e # Featured Entry - - 371b985f-f191-4c1b-8785-c4133cbb42fc # Heading - - a4b1ac77-02b4-4121-91b4-8d3754b290d4 # Image and Headings - - f75a20aa-e20c-4f26-b217-2d2ffa1a7cac # Stats and Image + includeTableView: false maxEntries: null minEntries: null + pageSize: null propagationKeyFormat: null propagationMethod: all + showCardsInGrid: false viewMode: blocks translationKeyFormat: null translationMethod: site diff --git a/config/project/fields/entry--6c31cab7-7f79-4628-b345-9a700a16a726.yaml b/config/project/fields/entry--6c31cab7-7f79-4628-b345-9a700a16a726.yaml index 7d126668..2f33212f 100644 --- a/config/project/fields/entry--6c31cab7-7f79-4628-b345-9a700a16a726.yaml +++ b/config/project/fields/entry--6c31cab7-7f79-4628-b345-9a700a16a726.yaml @@ -18,7 +18,7 @@ settings: - 'section:666bcffb-61d7-43b4-a9f5-8c51c458b356' # News Articles targetSiteId: null validateRelatedElements: false - viewMode: null + viewMode: cards translationKeyFormat: null translationMethod: site type: craft\fields\Entries diff --git a/config/project/fields/featuredExhibits--c3286b59-368a-4fdf-8dbe-48084247c9e2.yaml b/config/project/fields/featuredExhibits--c3286b59-368a-4fdf-8dbe-48084247c9e2.yaml index a1380d5f..06b129a2 100644 --- a/config/project/fields/featuredExhibits--c3286b59-368a-4fdf-8dbe-48084247c9e2.yaml +++ b/config/project/fields/featuredExhibits--c3286b59-368a-4fdf-8dbe-48084247c9e2.yaml @@ -1,22 +1,23 @@ columnSuffix: null -contentColumnType: string handle: featuredExhibits instructions: 'Will be displayed in a random order.' name: 'Featured Exhibits' searchable: true settings: allowSelfRelations: false + branchLimit: null localizeRelations: false + maintainHierarchy: false maxRelations: 4 minRelations: null selectionLabel: null + showCardsInGrid: true showSiteMenu: true - source: null sources: - 'section:c49dac11-102e-429e-8bcc-5c8d99508dcb' # Exhibits targetSiteId: null validateRelatedElements: false - viewMode: null + viewMode: cards translationKeyFormat: null translationMethod: site type: craft\fields\Entries diff --git a/config/project/fields/linkDestination--24f81c6e-6793-446c-8e1c-a00518b79160.yaml b/config/project/fields/linkDestination--24f81c6e-6793-446c-8e1c-a00518b79160.yaml new file mode 100644 index 00000000..2b57dc2d --- /dev/null +++ b/config/project/fields/linkDestination--24f81c6e-6793-446c-8e1c-a00518b79160.yaml @@ -0,0 +1,32 @@ +columnSuffix: null +handle: linkDestination +instructions: null +name: 'Link Destination' +searchable: false +settings: + options: + - + __assoc__: + - + - label + - Internal + - + - value + - internal + - + - default + - '1' + - + __assoc__: + - + - label + - External + - + - value + - external + - + - default + - '' +translationKeyFormat: null +translationMethod: none +type: craft\fields\Dropdown diff --git a/config/project/fields/representativeImage--71424eae-6314-46d2-8aff-8fe8be940860.yaml b/config/project/fields/representativeImage--71424eae-6314-46d2-8aff-8fe8be940860.yaml new file mode 100644 index 00000000..928f03d7 --- /dev/null +++ b/config/project/fields/representativeImage--71424eae-6314-46d2-8aff-8fe8be940860.yaml @@ -0,0 +1,36 @@ +columnSuffix: null +handle: representativeImage +instructions: null +name: 'Representative Image' +searchable: false +settings: + allowSelfRelations: false + allowSubfolders: false + allowUploads: true + allowedKinds: null + branchLimit: null + defaultUploadLocationSource: 'volume:a36fa6aa-4824-448f-82cf-b3086f8582c5' # Images + defaultUploadLocationSubpath: null + localizeRelations: false + maintainHierarchy: false + maxRelations: 1 + minRelations: 1 + previewMode: full + restrictFiles: false + restrictLocation: false + restrictedDefaultUploadSubpath: null + restrictedLocationSource: 'volume:a36fa6aa-4824-448f-82cf-b3086f8582c5' # Images + restrictedLocationSubpath: null + selectionLabel: 'Choose Image' + showCardsInGrid: false + showSiteMenu: false + showUnpermittedFiles: false + showUnpermittedVolumes: false + sources: + - 'volume:a36fa6aa-4824-448f-82cf-b3086f8582c5' # Images + targetSiteId: null + validateRelatedElements: false + viewMode: large +translationKeyFormat: null +translationMethod: site +type: craft\fields\Assets diff --git a/config/project/fields/richText--aa1aa6b7-0e81-4b68-8694-ed5f543f38bc.yaml b/config/project/fields/richText--aa1aa6b7-0e81-4b68-8694-ed5f543f38bc.yaml index b929ddeb..adfaa783 100644 --- a/config/project/fields/richText--aa1aa6b7-0e81-4b68-8694-ed5f543f38bc.yaml +++ b/config/project/fields/richText--aa1aa6b7-0e81-4b68-8694-ed5f543f38bc.yaml @@ -4,11 +4,13 @@ instructions: null name: 'Content Blocks - Rich Text - Rich Text' searchable: true settings: - availableTransforms: '*' + availableTransforms: '' availableVolumes: '*' - ckeConfig: a6cb7c13-e866-45ba-ad8e-a44c552ff6c1 # Vhc + ckeConfig: a6cb7c13-e866-45ba-ad8e-a44c552ff6c1 # Rich Text defaultTransform: null enableSourceEditingForNonAdmins: true + entryTypes: + - 386be967-b947-414c-8ea0-824e977d04ad # Embed purifierConfig: null purifyHtml: true showUnpermittedFiles: false diff --git a/config/project/fields/slideEntries--13b529cb-1236-4eb5-95a0-e20c2358385e.yaml b/config/project/fields/slideEntries--13b529cb-1236-4eb5-95a0-e20c2358385e.yaml index edbe4540..fa0a1355 100644 --- a/config/project/fields/slideEntries--13b529cb-1236-4eb5-95a0-e20c2358385e.yaml +++ b/config/project/fields/slideEntries--13b529cb-1236-4eb5-95a0-e20c2358385e.yaml @@ -16,7 +16,7 @@ settings: sources: '*' targetSiteId: null validateRelatedElements: false - viewMode: null + viewMode: cards translationKeyFormat: null translationMethod: site type: craft\fields\Entries diff --git a/config/project/fields/slideImages--11b555a2-89cb-434c-a97c-8bf858a76326.yaml b/config/project/fields/slideImages--11b555a2-89cb-434c-a97c-8bf858a76326.yaml index 53eee9a0..a96f96d1 100644 --- a/config/project/fields/slideImages--11b555a2-89cb-434c-a97c-8bf858a76326.yaml +++ b/config/project/fields/slideImages--11b555a2-89cb-434c-a97c-8bf858a76326.yaml @@ -23,14 +23,14 @@ settings: restrictedLocationSource: 'volume:a36fa6aa-4824-448f-82cf-b3086f8582c5' # Images restrictedLocationSubpath: null selectionLabel: null - showCardsInGrid: false + showCardsInGrid: true showSiteMenu: true showUnpermittedFiles: false showUnpermittedVolumes: false sources: '*' targetSiteId: null validateRelatedElements: false - viewMode: large + viewMode: cards translationKeyFormat: null translationMethod: site type: craft\fields\Assets diff --git a/config/project/fields/year--547be893-d407-44df-9142-f0ba630ce0cb.yaml b/config/project/fields/year--547be893-d407-44df-9142-f0ba630ce0cb.yaml new file mode 100644 index 00000000..10a458c3 --- /dev/null +++ b/config/project/fields/year--547be893-d407-44df-9142-f0ba630ce0cb.yaml @@ -0,0 +1,18 @@ +columnSuffix: null +handle: year +instructions: 'What year was the work produced?' +name: Year +searchable: false +settings: + decimals: 0 + defaultValue: null + max: null + min: 0 + prefix: null + previewCurrency: null + previewFormat: none + size: 6 + suffix: null +translationKeyFormat: null +translationMethod: none +type: craft\fields\Number diff --git a/config/project/matrixBlockTypes/richText--8f9a20e9-754d-490d-baa6-b9512feafa91.yaml b/config/project/matrixBlockTypes/richText--8f9a20e9-754d-490d-baa6-b9512feafa91.yaml index 0803b842..8ac89188 100644 --- a/config/project/matrixBlockTypes/richText--8f9a20e9-754d-490d-baa6-b9512feafa91.yaml +++ b/config/project/matrixBlockTypes/richText--8f9a20e9-754d-490d-baa6-b9512feafa91.yaml @@ -58,7 +58,7 @@ fields: settings: availableTransforms: '*' availableVolumes: '*' - ckeConfig: a6cb7c13-e866-45ba-ad8e-a44c552ff6c1 # Vhc + ckeConfig: a6cb7c13-e866-45ba-ad8e-a44c552ff6c1 # Rich Text columnType: text defaultTransform: '' enableSourceEditingForNonAdmins: true diff --git a/config/project/project.yaml b/config/project/project.yaml index 2c68892a..16a52551 100644 --- a/config/project/project.yaml +++ b/config/project/project.yaml @@ -1,4 +1,67 @@ -dateModified: 1707253438 +dateModified: 1707288734 +elementSources: + craft\elements\Asset: + - + defaultSort: + - dateCreated + - desc + disabled: false + key: 'volume:a36fa6aa-4824-448f-82cf-b3086f8582c5' # Images + tableAttributes: + - filename + - size + - kind + - imageSize + - link + type: native + - + key: 'folder:f790cfd4-904c-41ca-b5e1-861cd0620736' + type: native + craft\elements\Entry: + - + key: '*' + type: native + - + key: singles + type: native + - + heading: Programming + type: heading + - + defaultSort: + - structure + - asc + disabled: false + key: 'section:c49dac11-102e-429e-8bcc-5c8d99508dcb' # Exhibits + tableAttributes: + - authors + - link + type: native + - + defaultSort: + - postDate + - desc + disabled: false + key: 'section:666bcffb-61d7-43b4-a9f5-8c51c458b356' # News Articles + tableAttributes: + - postDate + - authors + - link + type: native + - + heading: Library + type: heading + - + defaultSort: + - postDate + - desc + disabled: false + key: 'section:647de63e-c78e-4d05-b61d-013120b49d5d' # Collection + tableAttributes: + - dateCreated + - dateUpdated + - revisionNotes + type: native email: fromEmail: support@craftcms.com fromName: 'Europa Museum' @@ -75,6 +138,7 @@ meta: 3b1b9f85-3554-4b4a-8d39-467bf5e4a35d: 'Content Blocks - CTA Caption - Internal Link' # Content Blocks - CTA Caption - Internal Link 3b943244-76d1-4973-9d71-6ec6c109e255: 'Content Blocks - Image and Headings - Sub Heading' # Content Blocks - Image and Headings - Sub Heading 4c127ec9-df18-4d62-bd02-cf8b5044f7ea: 'Content Blocks - Stats and Image - Left Stat Label' # Content Blocks - Stats and Image - Left Stat Label + 4e1408af-3452-4723-828d-1c779542492d: Artist # Artist 4e48185d-8e74-4fa1-b4b4-fdac5ceddf6d: 'Content Blocks - Slider - Heading' # Content Blocks - Slider - Heading 5bd803f3-dec3-41e6-b829-f90b49ac8dd3: About # About 5ccbb75b-a9e9-455a-baf9-60aaa799d452: 'Content Blocks - Stats and Image - Right Stat Label' # Content Blocks - Stats and Image - Right Stat Label @@ -83,6 +147,7 @@ meta: 6c31cab7-7f79-4628-b345-9a700a16a726: 'Content Blocks - Featured Entry - Entry' # Content Blocks - Featured Entry - Entry 6ee9b9a7-d12d-4c9b-b069-586609cb5ea9: 'Content Blocks - CTA Caption - Link Label' # Content Blocks - CTA Caption - Link Label 6fb16db4-9ff1-412f-8cde-bc13843d78e8: 'CTA Caption' # CTA Caption + 7aecb4af-681c-47ff-9160-2cc0fbddcd4e: Attribution # Attribution 7cce3872-9055-454a-8fdc-45cbccec785b: 'Content Blocks - Stats and Image - Left Stat Value' # Content Blocks - Stats and Image - Left Stat Value 8a02b167-35d9-4c71-bc4b-59ee401246e3: Visit # Visit 8b592bee-c976-4c83-be76-d749cc991410: 'Image Caption' # Image Caption @@ -102,6 +167,7 @@ meta: 20d3ac0c-0016-4714-9ce6-ffd91f1a0d5b: 'Europa Museum' # Europa Museum 24bd1247-7ed2-48e8-af76-5b8ffc486ef6: 'Content Blocks - CTA Caption - Heading' # Content Blocks - CTA Caption - Heading 24db24b1-bf70-414a-8652-ba22d7b0dfc3: Form # Form + 24f81c6e-6793-446c-8e1c-a00518b79160: 'Link Destination' # Link Destination 40bfb363-8740-499a-82f2-6eda20cb6025: 'Vhc No Assets' # Vhc No Assets 42ad64e7-b07b-4601-9e6b-2d21bc0fe5d8: 'Content Blocks - CTA Caption - Link Icon' # Content Blocks - CTA Caption - Link Icon 52ff2568-6318-44d5-a130-818c19f83360: 'Content Blocks - Stats and Image - External Link' # Content Blocks - Stats and Image - External Link @@ -110,7 +176,10 @@ meta: 079ddf1a-d985-4de2-9929-8dc87fa2047f: 'News Category' # News Category 83ef9ed9-6360-4f64-abbb-920baeb2048e: 'Featured Entry' # Featured Entry 371b985f-f191-4c1b-8785-c4133cbb42fc: Heading # Heading + 386be967-b947-414c-8ea0-824e977d04ad: Embed # Embed + 547be893-d407-44df-9142-f0ba630ce0cb: Year # Year 599f0646-f724-4ce4-a810-a8eaf7798b2d: 'Links - Right' # Links - Right + 647de63e-c78e-4d05-b61d-013120b49d5d: Collection # Collection 666bcffb-61d7-43b4-a9f5-8c51c458b356: 'News Articles' # News Articles 701ed750-1c7f-4b39-9be6-2c25746f29ba: 'Image Alt' # Image Alt 778abb42-18bd-447c-99ae-483c775ed3bd: 'Content Blocks' # Content Blocks @@ -119,10 +188,11 @@ meta: 977f4737-eaaa-4d0f-aadb-10251ee1c4ff: About # About 27881ad3-1379-497a-91a6-d495b2bbc7d1: 'Hero Title' # Hero Title 67193fb0-26c1-4f39-ad77-c119711a4e4a: Simple # Simple + 71424eae-6314-46d2-8aff-8fe8be940860: 'Representative Image' # Representative Image 85241ed2-6bbd-4dd0-af5c-07842116ccf3: 'Content Blocks - Slider - Dark UI' # Content Blocks - Slider - Dark UI a4b1ac77-02b4-4121-91b4-8d3754b290d4: 'Image and Headings' # Image and Headings a4c579fb-e9c9-4d0c-91f6-1b3d9980c5ee: 'Content Blocks - Form - Success Message' # Content Blocks - Form - Success Message - a6cb7c13-e866-45ba-ad8e-a44c552ff6c1: Vhc # Vhc + a6cb7c13-e866-45ba-ad8e-a44c552ff6c1: 'Rich Text' # Rich Text a36fa6aa-4824-448f-82cf-b3086f8582c5: Images # Images a65ec270-2111-40c2-bf47-f3d6d929603a: 'Content Blocks - Image and Headings - Pre Heading' # Content Blocks - Image and Headings - Pre Heading a73bf239-f2f0-45ac-b84d-361e5dd1a75f: 'Pagination Count' # Pagination Count @@ -133,6 +203,7 @@ meta: b7672c12-833b-4554-afc9-ec3d68dbd78d: 'Content Blocks - Slider - CTA Link Text' # Content Blocks - Slider - CTA Link Text beb1c87a-67bb-421f-933f-4bc3d1e125e3: 'Hero Image' # Hero Image beffd6f6-3f04-4ae0-b2c6-71a4e419ab57: French # French + bf62232f-0516-44b1-949d-960e37bd6228: Work # Work c8da1bd9-67c9-402f-8a95-aeaec337e207: SEO # SEO c49dac11-102e-429e-8bcc-5c8d99508dcb: Exhibits # Exhibits c88dc31c-dfde-42c6-93df-6af9d0c907b8: URL # URL @@ -154,6 +225,7 @@ meta: f109ee5b-bb41-47ce-aaa0-53b5304e0e22: 'Content Blocks - Image and Headings - Heading' # Content Blocks - Image and Headings - Heading f466ab59-2e29-4cce-85b8-f9ebe7000b03: 'Content Blocks - Stats and Image - Internal Link' # Content Blocks - Stats and Image - Internal Link f668aa75-41bb-4309-9114-26d72e1547ff: 'Content Blocks - Slider - CTA Link' # Content Blocks - Slider - CTA Link + f36520a3-472b-40e0-8895-6f577f213037: Attachment # Attachment fadcfcb9-b6bc-4adf-9adb-18ba2e89bfb7: 'Content Blocks - Rich Text - Narrow Width' # Content Blocks - Rich Text - Narrow Width plugins: aws-s3: @@ -329,5 +401,5 @@ system: live: true name: 'Europa Museum' retryDuration: null - schemaVersion: 5.0.0.17 + schemaVersion: 5.0.0.18 timeZone: America/Los_Angeles diff --git a/config/project/sections/collection--647de63e-c78e-4d05-b61d-013120b49d5d.yaml b/config/project/sections/collection--647de63e-c78e-4d05-b61d-013120b49d5d.yaml new file mode 100644 index 00000000..260c23d2 --- /dev/null +++ b/config/project/sections/collection--647de63e-c78e-4d05-b61d-013120b49d5d.yaml @@ -0,0 +1,32 @@ +defaultPlacement: end +enableVersioning: true +entryTypes: + - bf62232f-0516-44b1-949d-960e37bd6228 # Work +handle: collection +maxAuthors: 1 +name: Collection +previewTargets: + - + __assoc__: + - + - label + - 'Primary entry page' + - + - urlFormat + - '{url}' + - + - refresh + - '1' +propagationMethod: all +siteSettings: + beffd6f6-3f04-4ae0-b2c6-71a4e419ab57: # French + enabledByDefault: true + hasUrls: false + template: null + uriFormat: null + c42694e0-26f4-46d0-9ffe-3e7fe6a64cb9: # English + enabledByDefault: true + hasUrls: false + template: null + uriFormat: null +type: channel diff --git a/config/project/volumes/images--a36fa6aa-4824-448f-82cf-b3086f8582c5.yaml b/config/project/volumes/images--a36fa6aa-4824-448f-82cf-b3086f8582c5.yaml index 5d770e29..a76c9a88 100644 --- a/config/project/volumes/images--a36fa6aa-4824-448f-82cf-b3086f8582c5.yaml +++ b/config/project/volumes/images--a36fa6aa-4824-448f-82cf-b3086f8582c5.yaml @@ -2,6 +2,7 @@ fieldLayouts: 73319165-f289-4758-a3f8-a617823df46f: tabs: - + elementCondition: null elements: - autocapitalize: true @@ -9,7 +10,10 @@ fieldLayouts: autocorrect: true class: null disabled: false + elementCondition: null id: null + includeInCards: false + inputType: null instructions: null label: null max: null @@ -17,6 +21,7 @@ fieldLayouts: name: null orientation: null placeholder: null + providesThumbs: false readonly: false requirable: false size: null @@ -25,35 +30,73 @@ fieldLayouts: title: null type: craft\fieldlayoutelements\assets\AssetTitleField uid: 707869c0-c835-4d01-b039-4790688afa3a + userCondition: null warning: null width: 100 - - fieldUid: 701ed750-1c7f-4b39-9be6-2c25746f29ba # Image Alt + attribute: alt + class: null + cols: null + disabled: false + elementCondition: null + id: null + includeInCards: false instructions: null label: null + name: null + orientation: null + placeholder: null + providesThumbs: false + readonly: false + requirable: true required: false + rows: null tip: null - type: craft\fieldlayoutelements\CustomField - uid: a6f4031e-dcbb-406f-9dcc-cc48e1d05728 + title: null + type: craft\fieldlayoutelements\assets\AltField + uid: 5fe8996a-1e60-46c2-86a1-f2fe887a383c + userCondition: null warning: null width: 100 - + elementCondition: null fieldUid: 8b592bee-c976-4c83-be76-d749cc991410 # Image Caption + handle: null + includeInCards: true instructions: null label: null + providesThumbs: false required: false tip: null type: craft\fieldlayoutelements\CustomField uid: d67bb30f-1456-486a-991d-618c2abe2c36 + userCondition: null + warning: null + width: 100 + - + elementCondition: null + fieldUid: 7aecb4af-681c-47ff-9160-2cc0fbddcd4e # Attribution + handle: null + includeInCards: false + instructions: null + label: null + providesThumbs: false + required: false + tip: null + type: craft\fieldlayoutelements\CustomField + uid: 31c9ee1b-2972-4e0e-8996-72fce12f51e7 + userCondition: null warning: null width: 100 name: Content uid: 4137e69d-a442-464d-8260-f253f42201c5 + userCondition: null fs: $FS_HANDLE handle: images name: Images sortOrder: 1 +subpath: '' titleTranslationKeyFormat: null titleTranslationMethod: site -transformFs: null +transformFs: '' transformSubpath: '' diff --git a/templates/_/components/blocks/ctaCaption.twig b/templates/_/components/blocks/ctaCaption.twig index cb0750d9..55512663 100644 --- a/templates/_/components/blocks/ctaCaption.twig +++ b/templates/_/components/blocks/ctaCaption.twig @@ -4,9 +4,6 @@ {% set heading = theBlock.heading %} {% set information = theBlock.information %} -{% set linkLabel = theBlock.linkLabel %} -{% set internalLink = theBlock.internalLink.one().url | default('') %} -{% set externalLink = theBlock.externalLink %} {% set linkIcon = theBlock.linkIcon %} {% set narrowWidth = theBlock.narrowWidth ? "narrowWidth" : "" %} @@ -36,10 +33,11 @@