Forums / Setup & design / 3.4 -> pdf export pb.

3.4 -> pdf export pb.

Author Message

laurent le cadet

Friday 12 November 2004 7:29:13 am

Hello,

I have problems with the pdf functionnality :

<ezCall:callHeader:level:1:size:20:justifi
cation:left:label:Pr%E9sident>
Président</ezCall:callHeader>

This is how headers look like.

I checked templates/content/datatype/pdf/ezxmltags/header.pdf and the file seems to be ok according to the pdf export tutorial ( http://www.ez.no/ez_publish/documentation/incoming/pdf_export_tutorial ).

Any suggestion?

Thanks.

Laurent

Kåre Køhler Høvik

Friday 12 November 2004 9:52:41 am

Hi

Is the header placed inside a table or other element ? Do you have a url to the PDF problem ?

Kåre Høvik

laurent le cadet

Friday 12 November 2004 10:13:14 am

hi Kåre,

Yes the header is in table. For the URL it's not online but if you need to see my pb you can change your hosts file (217.147.201.31 www.cc-paysfouesnantais.fr) and go to http://www.cc-paysfouesnantais.fr/la_communaut/bureau_et_commissions/finances .
It's just an article with table and header.

Laurent

Kåre Køhler Høvik

Friday 12 November 2004 10:25:10 am

Try copying the folder lib/ezpdf from the newest 3.4 release. If this does not work, please let me know. This have been fixed in trunk, so it's also possible to use PDF lib from there.

Nice site.

Kåre Høvik

laurent le cadet

Sunday 14 November 2004 11:56:48 pm

Hi Kåre,

Everything is all right now. Thanks for all.
Normaly this site will be online at the end of this week.

Just another question :
I'm trying also to export "home made" class as PDF.
My template looks more or less like this :

  <div class="border_annonce">
  <table cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td class="annonce_left">Objet :</td>
    <td class="annonce_right">{attribute_view_gui attribute=$node.object.data_map.objet}</td>
  </tr>
  <tr>....
</table>

Is it possible to render this table and everything is write in it (like the text "Objet :") with the PDF export system ?

Laurent.

Ps : very impatient to use a 3.5 stable ;)

Kåre Køhler Høvik

Tuesday 16 November 2004 5:12:34 am

Hi

For cerating PDF templates using tables, please see : http://ez.no/ez_publish/documentation/reference/template_operators/pdf/table

Kåre Høvik

laurent le cadet

Tuesday 16 November 2004 5:32:35 am

Thanks Kåre,

I'm already in this section but it's not very eZ to render a real custom PDF.
It should be great (futur ?) that we can use the print friendly option and render PDF like with a virtual printer. But maybe it's science fiction, I can't not even write an php script which make 1+1=2 ;)
eZp is already a great great CMS.

Laurent.

eZ debug

Timing: Jan 19 2025 04:41:04
Script start
Timing: Jan 19 2025 04:41:04
Module start 'content'
Timing: Jan 19 2025 04:41:05
Module end 'content'
Timing: Jan 19 2025 04:41:05
Script end

Main resources:

Total runtime0.7638 sec
Peak memory usage4,096.0000 KB
Database Queries206

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 589.9844180.8438
Module start 'content' 0.00750.6067 770.8281597.5156
Module end 'content' 0.61420.1495 1,368.3438341.0859
Script end 0.7637  1,709.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5376210.0002
Check MTime0.00160.2043210.0001
Mysql Total
Database connection0.00100.126210.0010
Mysqli_queries0.676588.57632060.0033
Looping result0.00210.27032040.0000
Template Total0.736496.420.3682
Template load0.00210.278620.0011
Template processing0.734396.137620.3671
Template load and register function0.00010.013710.0001
states
state_id_array0.00090.116910.0009
state_identifier_array0.00120.152920.0006
Override
Cache load0.00180.2383490.0000
Sytem overhead
Fetch class attribute can translate value0.00160.210430.0005
Fetch class attribute name0.00090.123890.0001
XML
Image XML parsing0.00130.167230.0004
class_abstraction
Instantiating content class attribute0.00000.0034140.0000
General
dbfile0.00280.3626320.0001
String conversion0.00000.000930.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 35
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs