FckEditor and Pdf

Author Message

Franck T.

Saturday 18 February 2006 1:17:48 pm

Hello,
When I click on the pdf link of an article writed with fckeditor, the generated pdf is a mixing of text and html/xml tags.
Any idea about what's wrong and how to solve this ?

Vincent Lepot

Friday 12 May 2006 1:04:51 am

Problem is that you are certainly based on a text block, not a xml block. So PDF is displaying the source XHTML code.

Vincent Lepot

Friday 12 May 2006 1:05:51 am

Anyone has experienced to use a tool like htmldoc ?

Xavier Dutoit

Friday 12 May 2006 2:56:36 am

@Franck,

The FCKEditor (the old version) puts everything between <literal>, ie, that is outside of the ezxml formating. Therefore, its rendered as it is on the pdf.

Some other editors use the proper ezxml languages beside the online editor. Have a look at
http://ez.no/community/forum/developer/sjsd_wysiwyg_editor_based_on_fckeditor_for_ezxmltext for instance

http://www.sydesy.com

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 16:25:00
Script start
Timing: Jan 18 2025 16:25:00
Module start 'layout'
Timing: Jan 18 2025 16:25:00
Module start 'content'
Timing: Jan 18 2025 16:25:02
Module end 'content'
Timing: Jan 18 2025 16:25:02
Script end

Main resources:

Total runtime1.2573 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.9453152.6094
Module start 'layout' 0.00510.0031 741.554739.4141
Module start 'content' 0.00821.2476 780.9688578.6016
Module end 'content' 1.25570.0015 1,359.570312.1875
Script end 1.2573  1,371.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2832160.0002
Check MTime0.00160.1234160.0001
Mysql Total
Database connection0.00090.068210.0009
Mysqli_queries1.207296.0148620.0195
Looping result0.00060.0485600.0000
Template Total1.229597.820.6148
Template load0.00240.188320.0012
Template processing1.227197.601920.6136
Template load and register function0.00020.018610.0002
states
state_id_array0.00090.070210.0009
state_identifier_array0.00070.057520.0004
Override
Cache load0.00200.1630180.0001
Sytem overhead
Fetch class attribute can translate value0.00060.046530.0002
Fetch class attribute name0.00130.104860.0002
XML
Image XML parsing0.00110.087330.0004
class_abstraction
Instantiating content class attribute0.00000.001870.0000
General
dbfile0.00090.0688210.0000
String conversion0.00000.000540.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs