Indicating the file attribute "Created by"

Author Message

Roy Jonse

Tuesday 01 August 2006 1:28:39 am

Hi,

I mannaged to show the "published date" attribute of a file and now I want to add also the "created by" attribute.
Can anybody help me with that issue?

Thanks

Ɓukasz Serwatka

Tuesday 01 August 2006 5:17:49 am

Hi,

That information is stored in the $node and in the $node.object

Try use:

{$node.creator.name}

$node.creator is ezcontentobject ( http://ez.no/doc/ez_publish/technical_manual/3_8/reference/objects/ezcontentobject )

{$node.object.owner.name}

$node.object.owner is ezcontentobject ( http://ez.no/doc/ez_publish/technical_manual/3_8/reference/objects/ezcontentobject )

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

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:24:57
Script start
Timing: Jan 18 2025 16:24:57
Module start 'layout'
Timing: Jan 18 2025 16:24:57
Module start 'content'
Timing: Jan 18 2025 16:24:58
Module end 'content'
Timing: Jan 18 2025 16:24:58
Script end

Main resources:

Total runtime0.6742 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0083 588.0469152.6406
Module start 'layout' 0.00830.0048 740.687539.4766
Module start 'content' 0.01310.6597 780.1641527.0781
Module end 'content' 0.67280.0013 1,307.24228.1250
Script end 0.6741  1,315.3672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.5320160.0002
Check MTime0.00150.2202160.0001
Mysql Total
Database connection0.00100.144710.0010
Mysqli_queries0.633994.0252540.0117
Looping result0.00040.0605520.0000
Template Total0.643495.420.3217
Template load0.00210.304220.0010
Template processing0.641495.134920.3207
Template load and register function0.00010.014410.0001
states
state_id_array0.00090.140810.0009
state_identifier_array0.00060.093620.0003
Override
Cache load0.00180.2609160.0001
Sytem overhead
Fetch class attribute can translate value0.00040.058120.0002
Fetch class attribute name0.00090.138530.0003
XML
Image XML parsing0.00040.066320.0002
class_abstraction
Instantiating content class attribute0.00000.001530.0000
General
dbfile0.00070.1019180.0000
String conversion0.00000.001540.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
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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: 13
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs