When was site last updated

Author Message

Felix Laate

Tuesday 16 August 2005 4:02:25 am

Hi all!

I'm back from vacation, and as I'm trying to gear my brain into working-mode, I'm staggered by this one:

I'm trying to figure out how to show when the content of a site ( and I mean any content on a site) was last updated (added new,modified or deleted).

Hoppala! (as the say in Vienna)

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Felix Laate

Thursday 18 August 2005 12:07:31 pm

Ho ho!

As I got no hint on this one I did a little more research. I found this: http://ez.no/community/forum/developer/list_of_last_updated_objects
and of it made this:

{section name=Child loop=fetch('content','tree',hash(parent_node_id,2,limit,1,sort_by,array(array('modified',false()))))}
   {$Child:item.object.modified|l10n('date')}
{/section}			

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

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

Main resources:

Total runtime0.0184 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 590.1641152.6250
Module start 'layout' 0.00540.0039 742.789139.4453
Module start 'content' 0.00930.0068 782.234489.4453
Module end 'content' 0.01610.0022 871.679730.3047
Script end 0.0183  901.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002915.7294140.0002
Check MTime0.00147.3755140.0001
Mysql Total
Database connection0.00105.660110.0010
Mysqli_queries0.002915.968130.0010
Looping result0.00000.141410.0000
Template Total0.00179.410.0017
Template load0.00094.823110.0009
Template processing0.00084.446810.0008
Override
Cache load0.00063.238810.0006
General
dbfile0.00137.310680.0002
String conversion0.00000.064940.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