diff --git a/config/packages/ezplatform.yaml b/config/packages/ezplatform.yaml index 6fd7685b..5636c0cd 100644 --- a/config/packages/ezplatform.yaml +++ b/config/packages/ezplatform.yaml @@ -56,11 +56,14 @@ ezplatform: list: [site] groups: site_group: [site] + site_factory_1st_purpose_group: [] + site_factory_2nd_purpose_group: [] default_siteaccess: site match: URIElement: 1 + HostElement: 1 # Uncomment if you've enabled SiteFactory - # '@EzSystems\EzPlatformSiteFactory\SiteAccessMatcher': ~ + '@EzSystems\EzPlatformSiteFactory\SiteAccessMatcher': ~ # System settings, read in following order: `default`, , , and `global` # TIP: For multisite installations organize shared config into SiteAccess groups, @@ -85,6 +88,11 @@ ezplatform: site: languages: [eng-GB] + site_factory_1st_purpose_group: + design: site_factory_1st_purpose_design + site_factory_2nd_purpose_group: + design: site_factory_2nd_purpose_design + admin_group: # System languages. Note that by default, content, content types, and other data are in eng-GB locale, # so removing eng-GB from this list may lead to errors or content not being shown, unless you change @@ -104,6 +112,11 @@ ezplatform: slug_converter: transformation: 'urlalias_lowercase' +ezdesign: + design_list: + site_factory_1st_purpose_design: [1st_purpose_design] + site_factory_2nd_purpose_design: [2nd_purpose_design] + framework: translator: { fallback: '%locale_fallback%' } validation: { enable_annotations: true } diff --git a/config/packages/ezplatform_site_factory.yaml b/config/packages/ezplatform_site_factory.yaml index 6f5d11ca..b2693441 100644 --- a/config/packages/ezplatform_site_factory.yaml +++ b/config/packages/ezplatform_site_factory.yaml @@ -1,7 +1,15 @@ ez_platform_site_factory: - enabled: false -# templates: -# site_template: -# siteaccess_group: site_factory_group -# name: Example Site -# thumbnail: https://placekitten.com/500/500 + enabled: true + templates: + site_template: + siteaccess_group: site_group + name: Example Site + thumbnail: https://placekitten.com/160/95 + 1st_purpose_site_template: + siteaccess_group: site_factory_1st_purpose_group + name: First Purpose + thumbnail: /bundles/ezplatformadminui/img/default-profile-picture.png + 2nd_purpose_site_template: + siteaccess_group: site_factory_2nd_purpose_group + name: Second Purpose + thumbnail: /bundles/ezplatformadminuiassets/vendors/leaflet/dist/images/layers-2x.png diff --git a/docker/README.md b/docker/README.md index f3c12796..607c7465 100644 --- a/docker/README.md +++ b/docker/README.md @@ -126,6 +126,9 @@ URLs and Command Lines - Get extended status: `docker-compose exec mariadb mysqladmin -proot extended-status;` - Show process list: `docker-compose exec mariadb mysqladmin --password=root processlist --verbose;` - Get last content modification date: `docker-compose exec mariadb mysql -proot ezplatform -e "SELECT FROM_UNIXTIME(modified) AS modified FROM ezcontentobject ORDER BY modified DESC LIMIT 1;";` +* eZ Platform DB + - Get last content modification date: `docker-compose exec mariadb mysql -proot ezplatform -e "SELECT FROM_UNIXTIME(modified) AS modified FROM ezcontentobject ORDER BY modified DESC LIMIT 1;";` + - Get Site Factory public access list: `docker-compose exec mariadb mysql -proot ezplatform -e "SELECT spa.site_id, spa.public_access_identifier, spa.site_matcher_host, s.name FROM ezsite_public_access AS spa JOIN ezsite AS s ON spa.site_id = s.id;";` * Solr - Get OS release: `docker-compose exec solr cat /etc/os-release;` - Get Solr version: `docker-compose exec solr bin/solr version;`