Forums / Developer / Convert Text Block -> XML Block
Ruben van Eijnatten
Thursday 01 December 2005 3:56:30 am
Because I would like to make use of en eZ Online Editor I need to change all fields in my class definitions that are currently Text Blocks to XML Blocks. This is not a problem, however the data stored in the old text blocks is not converted to XML Block data. Obvously it is nog acceptable to loose all existing data.
What would be the best way to go about this change from text blocks to XML blocks with the preservation of the data stored in de text block fields?
Thanks for your help.
Tamer Solieman
Saturday 07 July 2007 4:46:15 am
This is my problem too. need to convert text block to xml block or enable the editor to text block data tybe thanks alot :)
Major
Stefano Maffulli
Tuesday 28 August 2007 4:01:30 am
I'd guess this is impossible. That's bad. Did anybody have any luck with this?/stef
-- : Stefano Maffulli : https://www.fsfe.org/en/fellows/maffulli/ `--------+----------+--------------------------------------------------. Join the Fellowship of FSFE http://fsfe.org
André R.
Tuesday 28 August 2007 4:40:29 am
This is possible.
Use this extension: http://ez.no/community/contribs/applications/object_content_class_changeAnd add a eztextblock to ezxmlblock translator...
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom
Mauro Innocenti
Wednesday 05 September 2007 5:43:24 am
Right!But exactly what are the eZ API PHP functions/methods for doing correct conversions?
Wednesday 05 September 2007 6:18:50 am
I found this hints:http://ez.no/community/forum/deve...enerate_xml_to_insert_in_a_attribute