Forums / Suggestions / Online editors

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

eZ debug

Timing: Jan 30 2025 19:52:24
Script start
Timing: Jan 30 2025 19:52:24
Module start 'content'
Timing: Jan 30 2025 19:52:24
Module end 'content'
Timing: Jan 30 2025 19:52:25
Script end

Main resources:

Total runtime0.3459 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0108 588.3281370.3125
Module start 'content' 0.01080.0130 958.64061,001.8672
Module end 'content' 0.02370.3221 1,960.50783,892.1797
Script end 0.3459  5,852.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00511.4725200.0003
Check MTime0.00140.4181200.0001
Mysql Total
Database connection0.00080.227510.0008
Mysqli_queries0.234167.66141410.0017
Looping result0.00150.44631390.0000
Template Total0.321693.010.3216
Template load0.00090.260710.0009
Template processing0.320792.698410.3207
Override
Cache load0.00060.180110.0006
Sytem overhead
Fetch class attribute can translate value0.00200.564910.0020
XML
Image XML parsing0.00030.081510.0003
General
dbfile0.01604.6375200.0008
String conversion0.00000.002330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs