Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
ezsiteaccessmatchers-bundle | 7x | stable |
Version | Compatible with |
---|---|
N/A | N/A |
master |
---|
This eZ publish bundle provides additional siteaccess matchers, usefull for mapping siteacesses with Platform.sh dynamic environments urls.
The new matchers are :
The recommended way to install this bundle is through Composer. Just run :
composer require novactive/ezsiteaccessmatchers-bundle
Register the bundle in the kernel of your application :
// ezpublish/EzPublishKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Novactive\EzSiteaccessMatchersBundle\NovaEzSiteaccessMatchersBundle(),
);
return $bundles;
}
In your ezpublish/config/ezpublish.yml / app/config/ezplatform.yml config file :
ezpublish:
...
siteaccess:
...
match:
\Novactive\EzSiteaccessMatchersBundle\Matcher\ExtendedHostElement:
elementNumber: 1
# Replacements config is not mandatory as following config is default one
# replacements:
# pattern: '-'
# replacement: '_'
# You could also provide array of patterns / replacements strings
# replacements:
# pattern: ['-']
# replacement: ['_']
In your ezpublish/config/ezpublish.yml / app/config/ezplatform.yml config file :
ezpublish:
...
siteaccess:
...
match:
\Novactive\EzSiteaccessMatchersBundle\Matcher\SuffixedHostElement:
elementNumber: 1
suffix: test
In your ezpublish/config/ezpublish.yml / app/config/ezplatform.yml config file :
ezpublish:
...
siteaccess:
...
match:
\Novactive\EzSiteaccessMatchersBundle\Matcher\PrefixedHostElement:
elementNumber: 1
prefix: test
This bundle is released under the MIT license. See the complete license in the bundle:
LICENSE