form tutorial

Author Message

j jevack

Monday 12 December 2005 5:37:25 am

I'm attempting to learn how ezpub handles forms. Can someone point me in the direction of some good forms documentation? Many posts list the tutorial on the old sdk site which is no longer available. Is that available elsewhere?

Also, a couple questions:

In examples I've seen, input tags will have names like 'ActionRemove' or 'NewButton'. Is there some documentation on what these names need to be? or how to use these tags to interact with ezpublish

To store collected form information in a db, do I need to write my own extension?

Thanks,

Jason

Ɓukasz Serwatka

Tuesday 13 December 2005 12:23:49 am

Some of available attributes can be use as information collectors, this means, data are stored in DB and you can browse collected information in admin interface Setup->Collected information. You can create new content class with attributes marked as Information collector. This tutorial describes how to present this attributes in template:

http://ez.no/products/ez_publish_cms/documentation/customization/components/information_collection

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

j jevack

Tuesday 13 December 2005 3:58:15 am

Thanks Lukaz. I've been thru that tutorial.

Regards,

Jason

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 05:11:53
Script start
Timing: Jan 18 2025 05:11:53
Module start 'layout'
Timing: Jan 18 2025 05:11:53
Module start 'content'
Timing: Jan 18 2025 05:11:54
Module end 'content'
Timing: Jan 18 2025 05:11:54
Script end

Main resources:

Total runtime0.9161 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 587.7891152.6094
Module start 'layout' 0.00790.0045 740.398439.4141
Module start 'content' 0.01250.9022 779.8125532.4609
Module end 'content' 0.91460.0014 1,312.273412.3516
Script end 0.9160  1,324.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3716160.0002
Check MTime0.00140.1540160.0001
Mysql Total
Database connection0.00080.087810.0008
Mysqli_queries0.855993.4351570.0150
Looping result0.00060.0702550.0000
Template Total0.859593.820.4298
Template load0.00210.232720.0011
Template processing0.857493.594520.4287
Template load and register function0.00020.016510.0002
states
state_id_array0.00200.222010.0020
state_identifier_array0.00140.148720.0007
Override
Cache load0.00170.1832170.0001
Sytem overhead
Fetch class attribute can translate value0.00080.083520.0004
Fetch class attribute name0.00160.172240.0004
XML
Image XML parsing0.00070.079620.0004
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00500.5510180.0003
String conversion0.00000.001240.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
3content/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
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: 5

Time used to render debug report: 0.0001 secs