how to filter data by post date?

Author Message

Vytautas Germanavičius

Thursday 10 November 2005 6:15:02 am

I need to filter postings in blog site.
It should be visible only postings from last week.

{set-block scope=root variable=cache_ttl}0{/set-block}

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

Main resources:

Total runtime0.9368 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 587.9141151.2109
Module start 'layout' 0.00570.0026 739.125036.6484
Module start 'content' 0.00820.9277 775.7734484.3438
Module end 'content' 0.93590.0008 1,260.11727.8438
Script end 0.9367  1,267.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3501160.0002
Check MTime0.00130.1429160.0001
Mysql Total
Database connection0.00080.085710.0008
Mysqli_queries0.904396.5300460.0197
Looping result0.00040.0449440.0000
Template Total0.908797.020.4544
Template load0.00220.236620.0011
Template processing0.906596.769120.4533
Template load and register function0.00010.013810.0001
states
state_id_array0.00080.090310.0008
state_identifier_array0.00080.082820.0004
Override
Cache load0.00180.189460.0003
Sytem overhead
Fetch class attribute can translate value0.00070.078310.0007
Fetch class attribute name0.00050.053320.0002
XML
Image XML parsing0.00040.041210.0004
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00080.0807160.0000
String conversion0.00000.000840.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.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/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs