contextualcode/legacy-preview-siteaccess-matcher-bundle

eZ Platform bundle which sets correct default siteaccess in legacy admin preview.

v1.0.5 2018-07-25 13:32 UTC

This package is not auto-updated.

Last update: 2021-12-02 05:53:14 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 in registerBundles 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.