Pdf attachement

Author Message

John Smith

Friday 18 March 2005 8:02:27 am

How to attach pdf file with my article. I am referring here an attachement like images, Not the generation of pdf.

Cheers

Ɓukasz Serwatka

Sunday 20 March 2005 10:17:22 pm

Hi John,

You can do this by adding ezbinaryfile datatype to your content class or objectrelationlist datatype.
With second datatype you can add one pdf to many articles without uploading same file many time.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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:09:02
Script start
Timing: Jan 18 2025 19:09:02
Module start 'layout'
Timing: Jan 18 2025 19:09:02
Module start 'content'
Timing: Jan 18 2025 19:09:03
Module end 'content'
Timing: Jan 18 2025 19:09:03
Script end

Main resources:

Total runtime0.9023 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0083 587.7891152.6094
Module start 'layout' 0.00830.0044 740.398439.4297
Module start 'content' 0.01260.8875 779.8281523.6484
Module end 'content' 0.90010.0022 1,303.47668.3516
Script end 0.9023  1,311.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3909160.0002
Check MTime0.00140.1587160.0001
Mysql Total
Database connection0.00120.129110.0012
Mysqli_queries0.844893.6272540.0156
Looping result0.00050.0573520.0000
Template Total0.842293.320.4211
Template load0.00350.385020.0017
Template processing0.838792.954820.4194
Template load and register function0.00030.028610.0003
states
state_id_array0.00150.163410.0015
state_identifier_array0.00080.093520.0004
Override
Cache load0.00240.2683100.0002
Sytem overhead
Fetch class attribute can translate value0.00110.117320.0005
Fetch class attribute name0.00170.188230.0006
XML
Image XML parsing0.00090.099420.0004
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00090.0953180.0000
String conversion0.00000.001040.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs