Form and attached files

Author Message

laurent le cadet

Monday 23 August 2004 9:06:42 am

Hi,

Is it possible to create a form (classe) with a button (Binary File ?) that send the informations collected and the attached file ?

I can do the form without any problem (like a feedback form) but can't find something for the attached file.

Any idea ?

Thanks

Laurent.

Gurudutt Verma

Wednesday 25 August 2004 1:03:23 am

Hi,

I guess you have to create new extention of Binaryfile datatype, and convert it in to information collector, for that you need to copy following files and do the necessary changes, this may work for that.

kernel/classes/datatypes/ezbinaryfile/ezbinaryfile.php
kernel/classes/datatypes/ezbinaryfile/ezbinaryfiletype.php

It is a good idea to spend some time to know how to create new datatype to understand the basics before moving on.

laurent le cadet

Wednesday 25 August 2004 2:24:30 am

Thanks.

I'll try that way (I'm not a real "Mister code" ;)

Laurent.

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 06:08:32
Script start
Timing: Jan 19 2025 06:08:32
Module start 'layout'
Timing: Jan 19 2025 06:08:32
Module start 'content'
Timing: Jan 19 2025 06:08:32
Module end 'content'
Timing: Jan 19 2025 06:08:32
Script end

Main resources:

Total runtime0.0171 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.1484152.6250
Module start 'layout' 0.00650.0029 741.773439.4453
Module start 'content' 0.00950.0056 781.218889.3047
Module end 'content' 0.01500.0020 870.523434.3047
Script end 0.0171  904.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002615.1370140.0002
Check MTime0.00126.8584140.0001
Mysql Total
Database connection0.00095.488410.0009
Mysqli_queries0.003218.453430.0011
Looping result0.00000.087710.0000
Template Total0.00169.310.0016
Template load0.00084.893910.0008
Template processing0.00084.391310.0008
Override
Cache load0.00063.380510.0006
General
dbfile0.00031.623480.0000
String conversion0.00000.051540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs