Online editors

Author Message

Paul Forsyth

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

Ekkehard Dörre

Monday 05 July 2004 2:35:20 am

Short Info:

Bitfluxeditor 0.9.5 is out:
http://www.bitfluxeditor.org/download/
Help:
http://wiki.bitfluxeditor.org/Main_Page

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:21:24
Script start
Timing: Jan 18 2025 19:21:24
Module start 'layout'
Timing: Jan 18 2025 19:21:24
Module start 'content'
Timing: Jan 18 2025 19:21:24
Module end 'content'
Timing: Jan 18 2025 19:21:24
Script end

Main resources:

Total runtime0.4631 sec
Peak memory usage4,096.0000 KB
Database Queries53

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.7422152.6094
Module start 'layout' 0.00630.0028 742.351639.8750
Module start 'content' 0.00910.4525 782.2266512.9375
Module end 'content' 0.46160.0015 1,295.164114.3281
Script end 0.4631  1,309.4922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.7275160.0002
Check MTime0.00140.3054160.0001
Mysql Total
Database connection0.00150.319610.0015
Mysqli_queries0.418890.4226530.0079
Looping result0.00060.1197510.0000
Template Total0.430593.020.2153
Template load0.00210.456020.0011
Template processing0.428492.497120.2142
Template load and register function0.00020.038210.0002
states
state_id_array0.00120.264310.0012
state_identifier_array0.00090.199520.0005
Override
Cache load0.00170.3770210.0001
Sytem overhead
Fetch class attribute can translate value0.00080.165820.0004
Fetch class attribute name0.00050.103730.0002
XML
Image XML parsing0.00050.107320.0002
class_abstraction
Instantiating content class attribute0.00000.001330.0000
General
dbfile0.00070.1595160.0000
String conversion0.00000.001740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs