Skip to content

Instantly share code, notes, and snippets.

@arfaram
Last active December 30, 2016 14:42
Show Gist options
  • Save arfaram/9bf60039e34ec59ce153 to your computer and use it in GitHub Desktop.
Save arfaram/9bf60039e34ec59ce153 to your computer and use it in GitHub Desktop.
#Multisite configuration with two different PageLayout Content Type Templates
ezpublish:
siteaccess:
list:
- siteaccess1_name
- siteaccess2_name
match:
Map\Host:
www.site1.de: siteaccess1_name
www.site2.de: siteaccess2_name
groups:
siteaccess_group1_name:
- siteaccess1_name
siteaccess_group2_name:
- siteaccess2_name
system:
siteaccess_group1_name:
location_view:
full:
contentpage_full:
template: YOURBUNDLENAME:GROUP1_FOLDER_NAME:page_layout.html.twig
match:
Identifier\ContentType: page_layout
siteaccess_group2_name:
location_view:
full:
contentpage_full:
template: YOURBUNDLENAME:GROUP2_FOLDER_NAME:page_layout.html.twig
match:
Identifier\ContentType: page_layout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment