contact form - add new element

Author Message

Hasim Kayan

Monday 15 August 2005 6:46:01 am

Hi,
I add a new element (text field) to contact form.
But then I had to edit the template to see this new field in the user-interface.

Is there a way to create new elements without changing the template?

Mark Marsiglio

Monday 15 August 2005 3:47:36 pm

You do need to modify the template to display the new field.

However, you should override the template and make changes to your override template which goes in your siteaccess' design folder.

You can read more about the override methods in the docs. http://ez.no/doc

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

Main resources:

Total runtime0.8516 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.0069 589.0469152.6250
Module start 'layout' 0.00690.0031 741.671939.4453
Module start 'content' 0.01000.8398 781.1172520.4063
Module end 'content' 0.84980.0017 1,301.52348.1641
Script end 0.8515  1,309.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3581160.0002
Check MTime0.00130.1515160.0001
Mysql Total
Database connection0.00150.180110.0015
Mysqli_queries0.807694.8368540.0150
Looping result0.00050.0599520.0000
Template Total0.816195.820.4081
Template load0.00210.242220.0010
Template processing0.814195.595220.4070
Template load and register function0.00010.014010.0001
states
state_id_array0.00160.190810.0016
state_identifier_array0.00170.194120.0008
Override
Cache load0.00160.1907120.0001
Sytem overhead
Fetch class attribute can translate value0.00100.114120.0005
Fetch class attribute name0.00100.116330.0003
XML
Image XML parsing0.00050.059920.0003
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00110.1247150.0001
String conversion0.00000.001040.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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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: 8
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs