Friday 16 April 2004 1:04:10 pm
Hi Mark, Ideally it is better to store data in XML. The use of the textfield for the html editor is a means to an end and there will hopefully be a better solution soon. However, using a textfield allows us to use an off-the-shelf html editor now rather than none at all. You should be able to cut and paste your code from an xml text field straight into a text field. XML is used to store this information in SQL but for the front end, that you and i see in the admin interface, html is used. So a simple cut and paster should work. I think the largest downside from using the textfield is if your site supoorts multiple languages. The backend XML is used when converting content from one language to another. Otherwise you should be okay. Though i may be corrected on this one :) For object relations, as it stands no. The html editor is simple code that knows nothing about eZ publish. To add object relations requires a little more to be coded which is planned for, but has not happened yet. However, if by object relations you mean items like images and other stored items you can likely use the editor to link to directly, as a normal 'anchor' or 'img'. The image pop-up is buggy because it is not integrated yet. I hope to have this working soon, within a week or so. The editor is of use right now if you want to add html. It isn't yet a copy of the online editor. Hope this helps! Paul
-- http://www.visionwt.com
|