Multiple Checkbox

Author Message

Mahesh Arvind

Friday 23 January 2004 4:23:59 am

Hi,

I have a Enum field identified by identifier language_fields. Inside this, I have a multiple checkbox with three enum elements. I need to check if the first checkbox is clicked or not. Can anyone tell me how to get this value?

Thanks.
Mahesh

Thanks & Regards
Mahesh

Eirik Alfstad Johansen

Tuesday 27 January 2004 1:26:28 am

Hi,

Have you tried using {$node.data_map.language_fields|attribute(show)} in your template to see which values the field contains? Chances are you can probably do something like $node.data_map.language_fields[0].

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Mahesh Arvind

Tuesday 27 January 2004 7:37:12 am

Thanks Eirik for the reply. I will check that.

Thanks & Regards
Mahesh

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 22:14:49
Script start
Timing: Jan 18 2025 22:14:49
Module start 'layout'
Timing: Jan 18 2025 22:14:49
Module start 'content'
Timing: Jan 18 2025 22:14:50
Module end 'content'
Timing: Jan 18 2025 22:14:50
Script end

Main resources:

Total runtime0.7261 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.0055 587.7969152.6094
Module start 'layout' 0.00550.0025 740.406339.4297
Module start 'content' 0.00800.7166 779.8359536.3984
Module end 'content' 0.72470.0014 1,316.234412.1875
Script end 0.7261  1,328.4219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4428160.0002
Check MTime0.00130.1816160.0001
Mysql Total
Database connection0.00100.142110.0010
Mysqli_queries0.676993.2197570.0119
Looping result0.00060.0803550.0000
Template Total0.700896.520.3504
Template load0.00200.271920.0010
Template processing0.698896.243420.3494
Template load and register function0.00010.014410.0001
states
state_id_array0.00080.115810.0008
state_identifier_array0.00100.141620.0005
Override
Cache load0.00150.2080170.0001
Sytem overhead
Fetch class attribute can translate value0.00070.097420.0004
Fetch class attribute name0.00180.252550.0004
XML
Image XML parsing0.00110.145720.0005
class_abstraction
Instantiating content class attribute0.00000.001760.0000
General
dbfile0.00090.1287220.0000
String conversion0.00000.000940.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs