Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion config/packages/ezplatform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment thread
adriendupuis marked this conversation as resolved.
# Uncomment if you've enabled SiteFactory
# '@EzSystems\EzPlatformSiteFactory\SiteAccessMatcher': ~
'@EzSystems\EzPlatformSiteFactory\SiteAccessMatcher': ~

# System settings, read in following order: `default`, <siteaccess-group>, <siteacces>, and `global`
# TIP: For multisite installations organize shared config into SiteAccess groups,
Expand All @@ -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
Expand All @@ -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 }
Expand Down
20 changes: 14 additions & 6 deletions config/packages/ezplatform_site_factory.yaml
Original file line number Diff line number Diff line change
@@ -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
Comment thread
adriendupuis marked this conversation as resolved.
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

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not forget the leading slash

2nd_purpose_site_template:
siteaccess_group: site_factory_2nd_purpose_group
name: Second Purpose
thumbnail: /bundles/ezplatformadminuiassets/vendors/leaflet/dist/images/layers-2x.png
3 changes: 3 additions & 0 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;`
Expand Down