how to get parent_node_id of "main" object?

Author Message

Scott Card

Sunday 13 July 2003 3:52:30 pm

How do I get the parent_node_id of a main object?

I have an object defined that also has nodes in other locations. In the display template for this object type, I need to loop through the contents of the parent folder of where the object is stored, not of the node that it is being viewed from.

Help.

Scott Card

Sunday 13 July 2003 7:20:49 pm

The answer to this seems to be in the attribute "main_parent_node_id".

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

Main resources:

Total runtime0.6271 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 588.0469152.6406
Module start 'layout' 0.00680.0031 740.687539.4766
Module start 'content' 0.00990.6159 780.1641421.2500
Module end 'content' 0.62580.0012 1,201.41418.1250
Script end 0.6271  1,209.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.5705160.0002
Check MTime0.00140.2246160.0001
Mysql Total
Database connection0.00180.287010.0018
Mysqli_queries0.581992.7908520.0112
Looping result0.00050.0853500.0000
Template Total0.585593.420.2927
Template load0.00220.344920.0011
Template processing0.583393.012320.2916
Template load and register function0.00020.039410.0002
states
state_id_array0.00120.187010.0012
state_identifier_array0.00080.122020.0004
Override
Cache load0.00180.281480.0002
Sytem overhead
Fetch class attribute can translate value0.00080.130710.0008
Fetch class attribute name0.00110.169020.0005
XML
Image XML parsing0.00010.020010.0001
class_abstraction
Instantiating content class attribute0.00000.001020.0000
General
dbfile0.00060.1008100.0001
String conversion0.00000.001440.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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs