Custom handling of audio files in ezfile datatype

Author Message

H-Works Agency

Wednesday 14 November 2007 10:44:12 am

Hi all,

I use the classic ezfile datatype inside a product class.

What technique should i use to use different storage based on file mimetype ?

Do i have to create a custom datatype ?

Do i have to use the fileHandler ? If yes how does this works ? What is the differences between upload.ini, file.ini and binaryfile.ini ?

Thanx for any help or comment.

EZP is Great

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 31 2025 01:17:36
Script start
Timing: Jan 31 2025 01:17:36
Module start 'layout'
Timing: Jan 31 2025 01:17:36
Module start 'content'
Timing: Jan 31 2025 01:17:36
Module end 'content'
Timing: Jan 31 2025 01:17:36
Script end

Main resources:

Total runtime0.0276 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 588.2656151.2266
Module start 'layout' 0.00760.0051 739.4922220.7344
Module start 'content' 0.01270.0129 960.2266993.7422
Module end 'content' 0.02570.0018 1,953.968829.9922
Script end 0.0275  1,983.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002810.3184140.0002
Check MTime0.00114.1386140.0001
Mysql Total
Database connection0.00072.692710.0007
Mysqli_queries0.005319.405630.0018
Looping result0.00000.054510.0000
Template Total0.00145.210.0014
Template load0.00124.213910.0012
Template processing0.00030.962210.0003
Override
Cache load0.00072.363110.0007
General
dbfile0.00031.091180.0000
String conversion0.00000.039840.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.0002 secs