Skip to content
Netgen RichText datatype bundle allows eZ Publish Legacy to work with rich text (ezrichtext) field type available in eZ Platform
Branch: master
Clone or download
Pull request Compare This branch is even with netgen:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Resources/views
ezpublish_legacy/ezrichtext
.gitignore
.php_cs
CHANGELOG.md
LICENSE
NetgenRichTextDataTypeBundle.php
README.md
composer.json

README.md

Netgen Rich Text datatype bundle

This bundle implements legacy eZ Publish datatype counterpart of rich text field type (ezrichtext) from eZ Platform.

The point of the datatype is to enable eZ Publish Legacy to edit and publish content which has a rich text field.

As it is not possible to use Alloy Editor outside of eZ Platform UI, this bundle only shows the raw XML content of the field in a text area.

It is, however, possible to manually change the data in the text area and it will be persisted (together with relations and links to embedded content).

The bundle is still in prototype phase, but basic tests showed it working correctly.

Install instructions

  1. Install the bundle via Composer:

    $ composer require netgen/richtext-datatype-bundle:^1.0
    
  2. Activate the bundle in your app/AppKernel.php:

    $bundles = array(
        ...
    
        new Netgen\Bundle\RichTextDataTypeBundle\NetgenRichTextDataTypeBundle(),
    
        ...
    );
  3. Activate legacy ezrichtext and ngsymfonytools extensions in your site.ini.append.php in eZ Publish Legacy:

    [ExtensionSettings]
    ActiveExtensions[]=ngsymfonytools
    ActiveExtensions[]=ezrichtext
  4. Regenerate eZ Publish Legacy autoloads (if not done automatically by Composer post install/update scripts):

    $ php app/console ezpublish:legacy:script bin/php/ezpgenerateautoloads.php
    
  5. Clear the caches:

    $ php app/console cache:clear
    
  6. Bundle is ready for usage in eZ Publish Legacy, including adding ezrichtext attribute to your classes, editing content with the attribute as well as rendering via attribute_view_gui.

Changelog

See all changes here.

You can’t perform that action at this time.