Howto get section name of an item

Author Message

K259

Thursday 04 August 2005 3:42:09 am

I need to check a list of items of which section name they belongs to.

Is this possible through something like?:

$node.item.section.name

luis muñoz

Thursday 04 August 2005 4:25:26 am

Probably you can use name, but is easier using section id

eq($node.object.section_id,7)

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 10:57:15
Script start
Timing: Jan 20 2025 10:57:15
Module start 'layout'
Timing: Jan 20 2025 10:57:15
Module start 'content'
Timing: Jan 20 2025 10:57:16
Module end 'content'
Timing: Jan 20 2025 10:57:16
Script end

Main resources:

Total runtime1.2032 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.0068 589.1641152.6250
Module start 'layout' 0.00680.0025 741.789139.4609
Module start 'content' 0.00931.1924 781.2500451.8438
Module end 'content' 1.20170.0015 1,233.09388.1563
Script end 1.2032  1,241.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3273160.0002
Check MTime0.00170.1389160.0001
Mysql Total
Database connection0.00090.073210.0009
Mysqli_queries1.162296.5914540.0215
Looping result0.00050.0407520.0000
Template Total1.172397.420.5862
Template load0.00180.147220.0009
Template processing1.170597.283020.5853
Template load and register function0.00020.020410.0002
states
state_id_array0.00080.068210.0008
state_identifier_array0.00160.132220.0008
Override
Cache load0.00140.116790.0002
Sytem overhead
Fetch class attribute can translate value0.00110.093820.0006
Fetch class attribute name0.00110.087420.0005
XML
Image XML parsing0.00030.020920.0001
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00270.2261100.0003
String conversion0.00000.000740.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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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: 5

Time used to render debug report: 0.0002 secs