Multi option datatype

Author Message

Martin Crockett

Tuesday 21 December 2004 3:36:49 am

Hi,

I'm trying to find some documentation to describe the use of the multi option datatype but there appears to be very little online.

My problem is I need a select box which allows multiple options to be selected. I assume the multi option datatype is the right one to handle this.

Can anyone assist in pointing me to the right way of setting one of my article classes up to use this datatype?

Many thanks in advance!

Martin Crockett

Tuesday 21 December 2004 3:44:04 am

Scratch that - think I need to use the Selection datatype!

Frederik Holljen

Tuesday 21 December 2004 4:16:35 am

You are right.
The multioption datatype is to create multiple options. E.g imagine that you have a car class, but that you don't know what kind of colors, tires etc. that each type of car can have. With the multioption type you can set this per car. E.g car one can have options:
[color]
-red
-green
-blue

[tires]
- slicks
- Winter tires

the second car can have options
[type]
- convertible
- dragster

[color]
- red
- black with flames

[extra's]
- spoiler
- airco
- dice

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

Main resources:

Total runtime0.7097 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.0074 590.2813152.6250
Module start 'layout' 0.00740.0034 742.906339.4453
Module start 'content' 0.01080.6974 782.3516515.6406
Module end 'content' 0.70820.0014 1,297.992212.1719
Script end 0.7097  1,310.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.5059160.0002
Check MTime0.00140.1955160.0001
Mysql Total
Database connection0.00140.201410.0014
Mysqli_queries0.651291.7619570.0114
Looping result0.00060.0785550.0000
Template Total0.678895.620.3394
Template load0.00240.344220.0012
Template processing0.676495.303520.3382
Template load and register function0.00020.022810.0002
states
state_id_array0.00090.120510.0009
state_identifier_array0.00120.167620.0006
Override
Cache load0.00200.2763340.0001
Sytem overhead
Fetch class attribute can translate value0.00160.229120.0008
Fetch class attribute name0.00110.154250.0002
XML
Image XML parsing0.00290.411620.0015
class_abstraction
Instantiating content class attribute0.00000.001960.0000
General
dbfile0.00290.4131220.0001
String conversion0.00000.001540.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/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: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs