how to get node id of the current user not object id in a template?

Author Message

Douglas Hammond

Friday 12 March 2004 1:47:05 pm

how to get node id of the current user not object id in a template?

{$current_user.contentobject.id} is the object id how do i get the 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 31 2025 03:44:01
Script start
Timing: Jan 31 2025 03:44:01
Module start 'layout'
Timing: Jan 31 2025 03:44:01
Module start 'content'
Timing: Jan 31 2025 03:44:01
Module end 'content'
Timing: Jan 31 2025 03:44:01
Script end

Main resources:

Total runtime0.0272 sec
Peak memory usage8,192.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.5781151.2422
Module start 'layout' 0.00610.0044 739.8203220.7344
Module start 'content' 0.01050.0150 960.5547992.6641
Module end 'content' 0.02550.0017 1,953.218829.9922
Script end 0.0272  1,983.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002910.7598140.0002
Check MTime0.00124.2507140.0001
Mysql Total
Database connection0.00103.825310.0010
Mysqli_queries0.003111.268430.0010
Looping result0.00000.065710.0000
Template Total0.00124.310.0012
Template load0.00093.480410.0009
Template processing0.00020.848210.0002
Override
Cache load0.00072.430010.0007
General
dbfile0.00248.701980.0003
String conversion0.00000.026340.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