2017 © Pedro Peláez
 

symfony-bundle ezpublish-legacy-utility-bundle

EzPublishLegacyUtilityBundle is an extension for eZ Publish 5+ providing extra legacy functionalities

image

snce/ezpublish-legacy-utility-bundle

EzPublishLegacyUtilityBundle is an extension for eZ Publish 5+ providing extra legacy functionalities

  • Monday, February 12, 2018
  • by gabriperego
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2,074 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 7 Versions
  • 1 % Grown

The README.md

SnceEzPublishLegacyUtilityBundle

EzPublishLegacyUtilityBundle is an extension for eZ Publish 5+ providing extra legacy functionalities, (*1)

Installation

1) To install EzPublishLegacyUtilityBundle run the following command, (*2)

$ php composer.phar require snce/ezpublish-legacy-utility-bundle

2) Enable EzSystemsCommentsBundle in the kernel, (*3)

// ezpublish/EzPublishKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Snce\EzPublishLegacyUtilityBundle\SnceEzPublishLegacyUtilityBundle(),
    );
}

Composer scripts

Legacy DB settings update

Main purpose of the script is to avoid ezpublish_legacy/settings/override/site.ini.append.php versioning. The script will replace the DB infos using the Symfony parameters, (*4)

Enable the script

1) Add the script to your Composer post-install-cmd and post-update-cmd (After the Incenteev\ParameterHandler\ScriptHandler::buildParameters script), (*5)

"post-install-cmd": [
           // ...
           "Snce\\EzPublishLegacyUtilityBundle\\Composer\\ScriptHandler::siteIniUpdate"
       ]
"post-update-cmd": [
           // ...
           "Snce\\EzPublishLegacyUtilityBundle\\Composer\\ScriptHandler::siteIniUpdate"
       ]

3) Add the extra parameters, replacing the parameters-map values with your Symfony parameters, (*6)

"extra": {
           "ezpublish-legacy-utility":{
               "parameters-file": "ezpublish/config/parameters.yml",
               "legacy-site_ini": "ezpublish_legacy/settings/override/site.ini.append.php",
               "legacy-site_ini-dist": "ezpublish_legacy/settings/override/site.ini.append.php.dist",
               "parameters-map": {
                   "Server": "db_host",
                   "Port": "db_port",
                   "User": "db_user",
                   "Password": "db_password",
                   "Database": "db_dbname"
               }
           }
       }

4) Add a site.ini.append.php.dist file in ezpublish_legacy/settings/override folder with your preferred settings_, (*7)

License

See License file, (*8)

The Versions

12/02 2018

dev-master

9999999-dev

EzPublishLegacyUtilityBundle is an extension for eZ Publish 5+ providing extra legacy functionalities

  Sources   Download

MIT GPL v2.0 license.

The Requires

 

utility ez publish ez

12/02 2018

v1.0.6

1.0.6.0

EzPublishLegacyUtilityBundle is an extension for eZ Publish 5+ providing extra legacy functionalities

  Sources   Download

MIT

The Requires

 

utility ez publish ez

21/05 2016

v1.0.5

1.0.5.0

EzPublishLegacyUtilityBundle is an extension for eZ Publish 5+ providing extra legacy functionalities

  Sources   Download

GPL v2.0 license.

The Requires

 

utility ez publish ez

18/12 2015

v1.0.4

1.0.4.0

EzPublishLegacyUtilityBundle is an extension for eZ Publish 5+ providing extra legacy functionalities

  Sources   Download

GPL v2.0 license.

The Requires

 

utility ez publish ez

25/02 2015

v1.0.3

1.0.3.0

EzPublishLegacyUtilityBundle is an extension for eZ Publish 5+ providing extra legacy functionalities

  Sources   Download

GPL v2.0 license.

The Requires

 

utility ez publish ez

25/02 2015

v1.0.2

1.0.2.0

EzPublishLegacyUtilityBundle is an extension for eZ Publish 5+ providing extra legacy functionalities

  Sources   Download

GPL v2.0 license.

The Requires

 

utility ez publish ez

25/02 2015

v1.0.1

1.0.1.0

EzPublishLegacyUtilityBundle is an extension for eZ Publish 5+ providing extra legacy functionalities

  Sources   Download

GPL v2.0 license.

The Requires

 

utility ez publish ez