Selection with hidden value

Author Message

paul bolger

Sunday 10 May 2009 7:43:54 pm

Is there a datatype which allows one set a selection dropdown with hidden output values?

So: the dropdown would show red, blue, green - and selecting them would produce an attribute of 'value one', 'value two' and 'value three', with the attribute values set in the class definition?

Paul Bolger

Ɓukasz Serwatka

Monday 11 May 2009 12:09:51 am

Hi,

Why you can't set real values, but only change a label in the selection template datatype to user?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

paul bolger

Wednesday 13 May 2009 4:51:50 am

Doesn't eZpublish store the values as '0', '1', etc?

Paul Bolger

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 02:24:48
Script start
Timing: Jan 20 2025 02:24:48
Module start 'layout'
Timing: Jan 20 2025 02:24:48
Module start 'content'
Timing: Jan 20 2025 02:24:48
Module end 'content'
Timing: Jan 20 2025 02:24:48
Script end

Main resources:

Total runtime0.0212 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 589.1563152.6250
Module start 'layout' 0.00730.0034 741.781339.4453
Module start 'content' 0.01060.0085 781.226689.2266
Module end 'content' 0.01910.0020 870.453134.3047
Script end 0.0212  904.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002913.8556140.0002
Check MTime0.00125.8047140.0001
Mysql Total
Database connection0.00115.217610.0011
Mysqli_queries0.003918.284830.0013
Looping result0.00000.088910.0000
Template Total0.00167.610.0016
Template load0.00094.185110.0009
Template processing0.00073.383210.0007
Override
Cache load0.00062.711710.0006
General
dbfile0.003014.143580.0004
String conversion0.00000.050640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs