PDF content export

Author Message

Jean-Luc Nguyen

Saturday 29 May 2010 2:22:02 pm

Hello,

I had a eZ 4.0.1 website, with a working default PDF content export (/content/pdf/node_id).

I upgraded to 4.1.4, and this PDF content export is half working : HTML is showing on the generated file.
I know that on last versions, this module is not maintained anymore, but how can I fix this, even if I have to modify the kernel ? I don't want tro try another extension, because the generated PDF has a lot of design work on it, and I don't want to restart from scratch...

Thanks a lot !

http://www.acidre.com

Jérôme Vieilledent

Sunday 30 May 2010 7:24:14 am

Hi Jean-Luc

Take a look at ParadoxPDF extension. I know you don't want to restart from scratch, but as it's integrated with the template system, your work should be minimized ;).

Jean-Luc Nguyen

Sunday 30 May 2010 3:17:31 pm

Hi Jérôme,

Thanks for your answer, I know that extension, I actually tried all PDF export extensions, and it does not fit my needs. I changed a line in the kernel, and it is now OK, except for one thing : calling link.tpl is displaying weird text in the PDF content, it is overlapping text.

But I'll find out!

http://www.acidre.com

André R.

Monday 31 May 2010 2:32:46 am

This is an issue in eZ Publish, and was fixed in 4.3.0beta1:

http://issues.ez.no/IssueView.php?Id=15146&activeItem=9

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

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 02:15:31
Script start
Timing: Jan 18 2025 02:15:31
Module start 'layout'
Timing: Jan 18 2025 02:15:31
Module start 'content'
Timing: Jan 18 2025 02:15:33
Module end 'content'
Timing: Jan 18 2025 02:15:33
Script end

Main resources:

Total runtime1.8525 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.9141152.6094
Module start 'layout' 0.00640.0033 741.523439.4297
Module start 'content' 0.00971.8411 780.9531605.0938
Module end 'content' 1.85080.0016 1,386.046912.1875
Script end 1.8525  1,398.2344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.1885160.0002
Check MTime0.00140.0764160.0001
Mysql Total
Database connection0.00080.045210.0008
Mysqli_queries1.796596.9742640.0281
Looping result0.00070.0394620.0000
Template Total1.811597.820.9057
Template load0.00210.112820.0010
Template processing1.809497.670620.9047
Template load and register function0.00010.005510.0001
states
state_id_array0.00110.057610.0011
state_identifier_array0.00250.134820.0012
Override
Cache load0.00180.0959240.0001
Sytem overhead
Fetch class attribute can translate value0.00080.043230.0003
Fetch class attribute name0.00130.067670.0002
XML
Image XML parsing0.00140.077530.0005
class_abstraction
Instantiating content class attribute0.00000.000880.0000
General
dbfile0.00100.0563300.0000
String conversion0.00000.000640.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs