fecth parent_node_id

Author Message

Alain Mangana

Wednesday 01 October 2008 1:59:47 am

hi!

i want to know how to fetch the parent_node_id of any node.

/

http://tikdem.com
/

Pascal von Büren

Wednesday 01 October 2008 2:39:28 am

Hi Alain,

try this:

$node.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 16:19:10
Script start
Timing: Jan 18 2025 16:19:10
Module start 'layout'
Timing: Jan 18 2025 16:19:10
Module start 'content'
Timing: Jan 18 2025 16:19:10
Module end 'content'
Timing: Jan 18 2025 16:19:10
Script end

Main resources:

Total runtime0.0142 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.0054 587.8125152.6094
Module start 'layout' 0.00540.0027 740.421939.4141
Module start 'content' 0.00810.0040 779.835989.3359
Module end 'content' 0.01220.0020 869.171930.3047
Script end 0.0141  899.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002517.4734140.0002
Check MTime0.00117.5619140.0001
Mysql Total
Database connection0.00074.990310.0007
Mysqli_queries0.002517.723930.0008
Looping result0.00000.084010.0000
Template Total0.001611.410.0016
Template load0.00096.534910.0009
Template processing0.00074.835610.0007
Override
Cache load0.00063.897710.0006
General
dbfile0.00031.932980.0000
String conversion0.00000.043740.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