How to create a custom input form

Author Message

Ali

Wednesday 23 August 2006 3:03:58 pm

Hello,

I have been trying to create a custom fill out form for past three days to collect data from my Web site visitors but I'm failed to do so.

Is there an eZ Publish fan who could tell me how to create a custom form in it?

Ali

Thursday 24 August 2006 5:36:26 am

Looks like eZ Publish has no fan.

So sad!

Felix Woldt

Saturday 26 August 2006 9:18:26 am

Hallo Ihtesham,

For a custom input form you need a new content_class.
For each content attribute you want to collect the data you have to active information-collection.

When you create a new content object of this class you get your form :-)
Have a look to the standard feedback_form class

http://demo.ezpublish.no/news_admin/class/grouplist
admin/publish

Best Regards
Felix Woldt

http://www.jac-systeme.de - Developers united in eZ Publish: http://www.cjw-network.com

CJW Newsletter 1.0.0 released: http://projects.ez.no/cjw_newsletter

Alexander Kononenko

Tuesday 05 December 2006 3:33:32 pm

How can I make radiobutton field?
How can I add some javascript to form fields?

kracker (the)

Wednesday 06 December 2006 12:17:48 am

Great article on this subject!

<i>http://serwatka.net/en/blog/ez_publish_3_8_new_custom_edit_handler</i>

Cheers,
//kracker

<i>eZ publish is worth the investment of time!</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.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 01:06:27
Script start
Timing: Jan 19 2025 01:06:27
Module start 'layout'
Timing: Jan 19 2025 01:06:27
Module start 'content'
Timing: Jan 19 2025 01:06:28
Module end 'content'
Timing: Jan 19 2025 01:06:28
Script end

Main resources:

Total runtime0.9295 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 590.2813152.6250
Module start 'layout' 0.00700.0034 742.906339.4609
Module start 'content' 0.01040.9169 782.3672639.8516
Module end 'content' 0.92720.0022 1,422.218812.1563
Script end 0.9295  1,434.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3863160.0002
Check MTime0.00140.1477160.0001
Mysql Total
Database connection0.00090.094210.0009
Mysqli_queries0.863192.8581670.0129
Looping result0.00080.0848650.0000
Template Total0.893096.120.4465
Template load0.00240.254120.0012
Template processing0.890695.815020.4453
Template load and register function0.00030.030310.0003
states
state_id_array0.00140.154910.0014
state_identifier_array0.00120.130420.0006
Override
Cache load0.00180.1888300.0001
Sytem overhead
Fetch class attribute can translate value0.00100.108140.0003
Fetch class attribute name0.00110.121770.0002
XML
Image XML parsing0.00400.427440.0010
class_abstraction
Instantiating content class attribute0.00000.001670.0000
General
dbfile0.00410.4405240.0002
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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs