Possible to add File class attribute to a form?

Author Message

Lara Nordahl

Friday 13 February 2009 3:48:39 pm

Hi,
I'm trying to create a form in which users will upload a file as well as enter data into text lines and blocks, etc. Is it possible to add an "upload file" area to a form?
Thanks!

Steven E. Bailey

Saturday 14 February 2009 12:55:51 am

Take a look at http://projects.ez.no/enhancedezbinaryfile

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.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 19 2025 00:16:18
Script start
Timing: Jan 19 2025 00:16:18
Module start 'layout'
Timing: Jan 19 2025 00:16:18
Module start 'content'
Timing: Jan 19 2025 00:16:20
Module end 'content'
Timing: Jan 19 2025 00:16:20
Script end

Main resources:

Total runtime1.5042 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.0061 588.0469152.6406
Module start 'layout' 0.00610.0043 740.687539.4766
Module start 'content' 0.01041.4924 780.1641523.1406
Module end 'content' 1.50270.0015 1,303.30478.1250
Script end 1.5042  1,311.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2197160.0002
Check MTime0.00150.0967160.0001
Mysql Total
Database connection0.00080.050610.0008
Mysqli_queries1.456496.8211540.0270
Looping result0.00060.0429520.0000
Template Total1.462197.220.7310
Template load0.00210.139320.0010
Template processing1.460097.056220.7300
Template load and register function0.00030.017810.0003
states
state_id_array0.00200.134310.0020
state_identifier_array0.00200.134920.0010
Override
Cache load0.00170.111990.0002
Sytem overhead
Fetch class attribute can translate value0.00090.057820.0004
Fetch class attribute name0.00160.104230.0005
XML
Image XML parsing0.00080.053920.0004
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00190.1290170.0001
String conversion0.00000.000940.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs