open-wide / ezpublish-service-bundle
For Ez Publish 5, provides a complete system to create and show service in ezflow block and full page
dev-master
2015-08-19 12:48 UTC
Requires
- php: >=5.3.3
- symfony/symfony: >=2.3
This package is not auto-updated.
Last update: 2025-03-01 19:47:37 UTC
README
Extension: | OW ServiceBundle v1.0 |
---|---|
Requires: | eZ Publish 5.4.x |
Author: | Open Wide http://www.openwide.fr |
Presentation
This extension provides a complete system to create and show service in bloc or full view.
LICENCE
This eZ Publish extension is provided as is, in GPL v3 (see LICENCE).
Installation via composer
- Add ServiceBundle in your project's composer.json
{ "require": { "open-wide/ezpublish-service-bundle": "dev-master" } }
- Enable the Bundle in your EzPublishKernel.php file:
<?php // ezpublish/EzPublishKernel.php use OpenWide\Publish\ServiceBundle; ... public function registerBundles() { $bundles = array( // ... new OpenWide\Publish\ServiceBundle\OpenWidePublishServiceBundle(), ); }
- Create the following classes using the content package in
Package
directory or using [OWMigration](https://github.com/Open-Wide/OWMigration):
- In the class group
Service
- service_folder
- service_link
- In the class group
- Add your event_folder LocationId in
src/symfony/ezpublish/config/config.yml
:
# LocationId of Service folder open_wide_publish_service: root: location_id: .... # Nb of element per page paginate: max_per_page: ...
Create contents on back-office with the following structure:
- service_folder
- service_link
- service_link
Run the legacy bundle install script manually:
$ php ezpublish/console ezpublish:legacybundles:install_extensions
By default, it will create an absolute symlink, but options exist to use a hard copy (–copy) or a relative link (--relative).