contextualcode / legacy-preview-siteaccess-matcher-bundle
eZ Platform bundle which sets correct default siteaccess in legacy admin preview.
Installs: 2 241
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 1
Type:ezplatform-bundle
pkg:composer/contextualcode/legacy-preview-siteaccess-matcher-bundle
Requires
This package is not auto-updated.
Last update: 2025-10-16 23:52:02 UTC
README
eZ Platform bundle which sets correct default siteaccess in legacy admin preview.
Installation
- Run
composer require
:
$ composer require contextualcode/legacy-preview-siteaccess-matcher-bundle
- Enable this bundle in
ezpublish/EzPublishKernel.php
file by adding next line inregisterBundles
method:
public function registerBundles()
{
$bundles = array(
...
new ContextualCode\LegacyPreviewSiteAccessMatcherBundle\ContextualCodeLegacyPreviewSiteAccessMatcherBundle()
);
- Installs legacy extensions:
$ php ezpublish/console ezpublish:legacybundles:install_extensions --relative
- Regenerate eZ Publish Legacy autoloads:
$ php ezpublish/console ezpublish:legacy:script bin/php/ezpgenerateautoloads.php
- Done.