Download the PHP package ezsystems/ezplatform-xmltext-fieldtype without Composer
On this page you can find all versions of the php package ezsystems/ezplatform-xmltext-fieldtype. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ezsystems/ezplatform-xmltext-fieldtype
More information about ezsystems/ezplatform-xmltext-fieldtype
Files in ezsystems/ezplatform-xmltext-fieldtype
Package ezplatform-xmltext-fieldtype
Short Description XmlText field type implementation for eZ Platform
License GPL-2.0-only
Informations about the package ezplatform-xmltext-fieldtype
XmlText field type for eZ Platform
This is the XmlText field type for eZ Platform. It was extracted from the eZ Publish / Platform 5.x as it has been suceeded by docbook based RichText field type.
Support limitations
- 2.x: For eZ Platform v3, this bundle is only supported for the purpose of migrating content from XmlText to RichText field type
- 1.x: For eZ Platform v1 & v2, this bundle is supported for two use cases: Migration to Richtext, & rendering via Platform frontend*.
* While it does support editing via Platform Admin UI it is only editable as raw xmltext in a textbox, so supported use as of this field type is for temprary upgrde scenarios where legacy admin interface is used, and frontend code is being developed/migrated to eZ Platform stack (including to Symfony).
Installation
NOTE: This package comes already bundled with Legacy Bridge. However if you would rather like to 1. migrate your content directly to eZ Platform to take full advantage of it, or 2. otherwise don't want to use legacy but need this field type for some legacy content usage within pure eZ Platform setup, then run the following:
And lastly enable the bundle by adding new EzSystems\EzPlatformXmlTextFieldTypeBundle\EzSystemsEzPlatformXmlTextFieldTypeBundle(),
to app/AppKernel.php
list of bundles.
Once you have migrated your content you can remove the bundle from both app/AppKernel.php
and composer.json
.
Migrating from XmlText to RichText
Warning: As of 1.6 this is now fully supported, but regardless of that always make a backup before using the migration tools.
This package provides tools to migration existing XmlText fields to RichText, the enriched text format eZ Platform uses.
The tool comes as a Symfony command, ezxmltext:convert-to-richtext
.
It will do two things:
- convert
ezxmltext
field definitions toezrichtext
field definitions - convert
ezxmltext
fields (content) toezrichtext
We recommend that you do a test run first using something like:
The -v
flag will output logs to the console, making it easy to track the conversion work that is being done.
This is an example of a successful conversion log entry for one field:
It contains, in a JSON structure, the original
(ezxmltext) value, and the converted
(ezrichtext) value that has been
written to the database.
Once you are ready to convert, drop -v
and --dry-run
.
All versions of ezplatform-xmltext-fieldtype with dependencies
ext-xsl Version *
ext-dom Version *
ezsystems/ezplatform-kernel Version ^1.0
ezsystems/ezplatform-content-forms Version ^1.0
ezsystems/ezplatform-richtext Version ^2.0
ezsystems/ezplatform-rest Version ^1.0