Owner node login name

Author Message

David Santiso

Saturday 26 February 2011 11:59:38 am

Hi,

How can I display the login name of the owner of a node?

Thanks,

David

Damien Pobel

Saturday 26 February 2011 12:58:27 pm

According to the documentation about attributes of objects and with the default User class definition,you can write :

{$node.object.owner.data_map.user_account.content.login|wash}

Cheers

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

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 05:09:40
Script start
Timing: Jan 18 2025 05:09:40
Module start 'layout'
Timing: Jan 18 2025 05:09:40
Module start 'content'
Timing: Jan 18 2025 05:09:40
Module end 'content'
Timing: Jan 18 2025 05:09:40
Script end

Main resources:

Total runtime0.9296 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0074 587.8906152.6094
Module start 'layout' 0.00740.0041 740.500039.4219
Module start 'content' 0.01150.9166 779.9219522.9297
Module end 'content' 0.92810.0014 1,302.85168.1875
Script end 0.9296  1,311.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3550160.0002
Check MTime0.00130.1377160.0001
Mysql Total
Database connection0.00100.102910.0010
Mysqli_queries0.877694.4033550.0160
Looping result0.00060.0633530.0000
Template Total0.892796.020.4463
Template load0.00190.208320.0010
Template processing0.890795.817820.4454
Template load and register function0.00010.014010.0001
states
state_id_array0.00100.102210.0010
state_identifier_array0.00210.225220.0010
Override
Cache load0.00150.1649130.0001
Sytem overhead
Fetch class attribute can translate value0.00090.093520.0004
Fetch class attribute name0.00120.132530.0004
XML
Image XML parsing0.00120.128720.0006
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00210.2311160.0001
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
3content/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/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.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: 10
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs