Path

ez projects / arbitrary_html_inside_ez_xm...


Arbitrary html inside ez xml text fields

UNIX name Owner Status Version Compatible with
arbitrary_html_inside_ez_xml_text_fields Paul Borgermans planning N/A N/A

This modification violates the idea of using xml to separate content from
layout. But it may be useful in some situations.

HTML in XML for eZ Publish 3
Allows for arbitrary html code inside tags in an
ezxml text field
Warning: this is experimental code and modifies 2 base php files that come
with the distribution. Use at your own risk!
Use:
Copy the files in this archive to their respective locations:
ezxhtmlxmloutput.php should go in
kernel/classes/datatypes/ezxmltext/handlers/output/
ezsimplifiedxmlinput.php should go in
kernel/classes/datatypes/ezxmltext/handlers/input/
html.tpl should go in
design/standard/templates/content/datatype/view/ezxmltags/
A better way is probbaly to copy these files as special input/output
handlers for ez xml text fields. Or define a new datatype: xhtml
text.
Comments welcome
Paul

Screenshot

This project has no reviews yet. Be the first one to review it!

No forum messages yet.