author field on forum

Author Message

Patryk Kala

Saturday 03 March 2007 6:40:39 am

{$node.data_map.author.content|wash}
work on full_forum_reply but dont work on 'full_forum_topic', why ??
how include author valve to 'full_forum_topic' ??

Ɓukasz Serwatka

Tuesday 06 March 2007 12:50:55 am

Hi,

Check if "forum topic" class definition contains attribute called "author". It is better to display attribute content using {attribute_view_gui}.

Just hint: for forums objects it is enough to use "owner" [1] content object attribute.

[1] 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 31 2025 01:25:04
Script start
Timing: Jan 31 2025 01:25:04
Module start 'layout'
Timing: Jan 31 2025 01:25:04
Module start 'content'
Timing: Jan 31 2025 01:25:04
Module end 'content'
Timing: Jan 31 2025 01:25:04
Script end

Main resources:

Total runtime0.0509 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.1328151.2109
Module start 'layout' 0.00610.0054 739.3438220.7031
Module start 'content' 0.01150.0365 960.0469997.8047
Module end 'content' 0.04800.0028 1,957.851629.9922
Script end 0.0508  1,987.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00397.7575140.0003
Check MTime0.00152.9352140.0001
Mysql Total
Database connection0.00091.741810.0009
Mysqli_queries0.00305.839430.0010
Looping result0.00000.043610.0000
Template Total0.00214.110.0021
Template load0.00193.729710.0019
Template processing0.00020.397010.0002
Override
Cache load0.00142.827410.0014
General
dbfile0.013927.344780.0017
String conversion0.00000.019740.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