create form

Author Message

srikanth mn

Thursday 23 July 2009 9:19:08 am

I am new to eZpublish....i wanted to create the custom form called contact. i have created the class called contact. how do create the form for contact detail. i wanted to add this form in contact.tpl. when i click the contact in menu i should get contact tempelate and content has form...how do i do this

Peter Keung

Thursday 23 July 2009 9:33:04 am

Hi,

There is a detailed article to get you started with eZ Publish forms here:

http://ez.no/developer/articles/how_to_create_ez_publish_forms

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

srikanth mn

Friday 24 July 2009 6:25:35 am

I have a template called contact.tpl. in this template first i have mentioned few user names and there email id's. after that i wanted the user to fill the form. I have already created the class called contact which contains the fields of contact. now how do i create the form based on this class. please help this is urgent.....

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 21:00:32
Script start
Timing: Jan 18 2025 21:00:32
Module start 'layout'
Timing: Jan 18 2025 21:00:32
Module start 'content'
Timing: Jan 18 2025 21:00:32
Module end 'content'
Timing: Jan 18 2025 21:00:32
Script end

Main resources:

Total runtime0.5637 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.0056 587.7813152.6094
Module start 'layout' 0.00560.0036 740.390639.3984
Module start 'content' 0.00930.5528 779.7891531.0625
Module end 'content' 0.56210.0016 1,310.85168.3594
Script end 0.5637  1,319.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.6030160.0002
Check MTime0.00140.2411160.0001
Mysql Total
Database connection0.00070.122610.0007
Mysqli_queries0.519592.1668570.0091
Looping result0.00050.0972550.0000
Template Total0.529994.020.2649
Template load0.00220.382320.0011
Template processing0.527793.614620.2639
Template load and register function0.00020.041510.0002
states
state_id_array0.00170.295410.0017
state_identifier_array0.00140.247520.0007
Override
Cache load0.00180.3218110.0002
Sytem overhead
Fetch class attribute can translate value0.00080.137820.0004
Fetch class attribute name0.00160.281240.0004
XML
Image XML parsing0.00060.114120.0003
class_abstraction
Instantiating content class attribute0.00000.001640.0000
General
dbfile0.00080.1415170.0000
String conversion0.00000.001840.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