Locations

Author Message

Carlos Revillo

Wednesday 26 October 2005 11:33:20 am

Hi again. I'm working with a node. The node has several locations. What i want is a list of those locations. Is this possible?. I think so, cause i see it in admin interface. but wich property do i have to read?

Ɓukasz Serwatka

Wednesday 26 October 2005 1:48:43 pm

Loop throw $node.object.current.node_assignments array which stores information about node assignments:

{foreach $node.object.current.node_assignments as $node_assigment}
    {$node_assigment.node.name}
{/foreach}

Check in loop for more node info:{$node_assigment.node|attribute(show,1)}

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

Carlos Revillo

Thursday 27 October 2005 10:20:35 am

Thanks a lot!.

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 11:45:04
Script start
Timing: Jan 19 2025 11:45:04
Module start 'layout'
Timing: Jan 19 2025 11:45:04
Module start 'content'
Timing: Jan 19 2025 11:45:05
Module end 'content'
Timing: Jan 19 2025 11:45:05
Script end

Main resources:

Total runtime0.8586 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.0061 589.0234152.6094
Module start 'layout' 0.00610.0032 741.632839.3906
Module start 'content' 0.00930.8479 781.0234532.4688
Module end 'content' 0.85720.0013 1,313.49228.2031
Script end 0.8585  1,321.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3773160.0002
Check MTime0.00140.1663160.0001
Mysql Total
Database connection0.00080.092010.0008
Mysqli_queries0.814194.8173570.0143
Looping result0.00060.0663550.0000
Template Total0.827196.320.4136
Template load0.00220.253620.0011
Template processing0.824996.078920.4125
Template load and register function0.00020.024410.0002
states
state_id_array0.00080.097810.0008
state_identifier_array0.00070.084220.0004
Override
Cache load0.00160.1917110.0001
Sytem overhead
Fetch class attribute can translate value0.00080.098120.0004
Fetch class attribute name0.00120.139140.0003
XML
Image XML parsing0.00080.094720.0004
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00100.1184180.0001
String conversion0.00000.001140.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/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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs