netgen/richtext-datatype-bundle
最新稳定版本:2.0.0
Composer 安装命令:
composer require netgen/richtext-datatype-bundle
包简介
Netgen RichText datatype bundle allows eZ Publish Legacy to work with rich text (ezrichtext) field type available in eZ Platform
README 文档
README
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
-
Install the bundle via Composer:
$ composer require netgen/richtext-datatype-bundle:^1.0 -
Activate the bundle in your
app/AppKernel.php:$bundles = array( ... new Netgen\Bundle\RichTextDataTypeBundle\NetgenRichTextDataTypeBundle(), ... );
-
Activate legacy
ezrichtextandngsymfonytoolsextensions in yoursite.ini.append.phpin eZ Publish Legacy:[ExtensionSettings] ActiveExtensions[]=ngsymfonytools ActiveExtensions[]=ezrichtext -
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 -
Clear the caches:
$ php app/console cache:clear -
Bundle is ready for usage in eZ Publish Legacy, including adding
ezrichtextattribute to your classes, editing content with the attribute as well as rendering viaattribute_view_gui.
Changelog
统计信息
- 总下载量: 33.32k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-only
- 更新时间: 2017-03-03