Date and DateTime Information collectors?

Author Message

Luis FLores

Saturday 18 December 2004 6:07:00 pm

Hi,

I am creating a custom Contact form, where user could enter a specific date to be contacted. How could I insert a Date or DateTime Data WITH "Information Collector" capability?

Thanks
Luis

Mark Marsiglio

Sunday 19 December 2004 6:20:30 pm

I think you would have to modify/extend the datatype to be able to do this.

Also, you could just use a text line or other type of field if the volume of responses is not too high.

One other way, which is more complicated, is to allow users to create a new object of a class with a datetime option. If they can create an object, the information collection feature is not required.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

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 11:18:56
Script start
Timing: Jan 31 2025 11:18:56
Module start 'layout'
Timing: Jan 31 2025 11:18:56
Module start 'content'
Timing: Jan 31 2025 11:18:57
Module end 'content'
Timing: Jan 31 2025 11:18:57
Script end

Main resources:

Total runtime1.2860 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.0076 588.2656151.2266
Module start 'layout' 0.00760.0031 739.492236.6797
Module start 'content' 0.01071.2744 776.1719917.2969
Module end 'content' 1.28510.0009 1,693.46887.9688
Script end 1.2860  1,701.4375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2565160.0002
Check MTime0.00130.1006160.0001
Mysql Total
Database connection0.00090.067710.0009
Mysqli_queries1.234395.9735540.0229
Looping result0.00050.0381520.0000
Template Total1.234796.020.6174
Template load0.00190.151020.0010
Template processing1.232895.857020.6164
Template load and register function0.00150.118110.0015
states
state_id_array0.00320.251710.0032
state_identifier_array0.00210.164020.0011
Override
Cache load0.00150.1176120.0001
Sytem overhead
Fetch class attribute can translate value0.00060.050520.0003
Fetch class attribute name0.00210.163830.0007
XML
Image XML parsing0.00440.342320.0022
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00610.4716150.0004
String conversion0.00000.000740.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/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs