dynamic fields

Author Message

Fabricio Guerrero

Friday 01 April 2005 5:21:22 am

i have a certain field with in a class that can be added dynamically by the end user. example: PhoneNumber. by default he'll only se one text field for this but if he has more he should be able to add another textfield for his other phone and so on...

phone is a simple example but i have fields where a user can add up to 10 times the same field.

is something like this doable via ezPublish?

http://www.solobromasychistes.com <<Joomla Site :P
http://www.recipesforhealthyfood.com/ <<Drupal Site :P
http://www.ezforge.com/ <<future ezCommunity, Articles, forums and more...

Paul Forsyth

Friday 01 April 2005 5:32:01 am

I would make that an exmatrix attribute. Then you can add new rows via the object instead of the class.

paul

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 20 2025 03:58:38
Script start
Timing: Jan 20 2025 03:58:38
Module start 'layout'
Timing: Jan 20 2025 03:58:38
Module start 'content'
Timing: Jan 20 2025 03:58:40
Module end 'content'
Timing: Jan 20 2025 03:58:40
Script end

Main resources:

Total runtime1.4146 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.0043 589.0313152.6094
Module start 'layout' 0.00430.0082 741.640639.4063
Module start 'content' 0.01251.4006 781.0469517.8516
Module end 'content' 1.41310.0015 1,298.89848.2031
Script end 1.4146  1,307.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.2026160.0002
Check MTime0.00130.0894160.0001
Mysql Total
Database connection0.00110.075610.0011
Mysqli_queries1.360696.1815540.0252
Looping result0.00060.0422520.0000
Template Total1.370896.920.6854
Template load0.00220.152920.0011
Template processing1.368696.746220.6843
Template load and register function0.00060.039010.0006
states
state_id_array0.00270.191810.0027
state_identifier_array0.00180.126120.0009
Override
Cache load0.00170.1213100.0002
Sytem overhead
Fetch class attribute can translate value0.00090.063320.0004
Fetch class attribute name0.00100.067730.0003
XML
Image XML parsing0.00250.174220.0012
class_abstraction
Instantiating content class attribute0.00000.000430.0000
General
dbfile0.00230.1651160.0001
String conversion0.00000.000640.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0003 secs