how to display publish date

Author Message

meriam santos

Sunday 23 November 2008 11:53:32 am

Hi there,

Can somebody help me on this please? Newbie to the system.

i have a page the displays the line view(summary of records) in a folder. i want to display the date each record has been published.

i can only display the date published if i display the detailed info but not on the line view.

when i use this code - {$node.object.published|l10n( shortdatetime )}

it only display the date of the folder. not the date of the sub items in the folder.

thanks heaps....

meriam

Stéphane Bullier

Sunday 23 November 2008 11:51:21 pm

Hello,

You have to identified the template file use for the "view line". For that you can activate the setting template debug.

Stéphane

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

Main resources:

Total runtime1.1259 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.0060 587.9141152.6250
Module start 'layout' 0.00600.0025 740.539139.4453
Module start 'content' 0.00851.1154 779.9844518.0000
Module end 'content' 1.12400.0019 1,297.98448.1641
Script end 1.1258  1,306.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2846160.0002
Check MTime0.00130.1195160.0001
Mysql Total
Database connection0.00090.077610.0009
Mysqli_queries1.081896.0845540.0200
Looping result0.00050.0474520.0000
Template Total1.096997.420.5485
Template load0.00160.145820.0008
Template processing1.095397.279420.5476
Template load and register function0.00020.014310.0002
states
state_id_array0.00070.060010.0007
state_identifier_array0.00190.166620.0009
Override
Cache load0.00130.1163150.0001
Sytem overhead
Fetch class attribute can translate value0.00080.071020.0004
Fetch class attribute name0.00180.159930.0006
XML
Image XML parsing0.00070.061120.0003
class_abstraction
Instantiating content class attribute0.00000.000730.0000
General
dbfile0.00090.0786160.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
2content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs