order by "special date" ;-)

Author Message

Bernhard Hyden

Monday 14 July 2003 2:32:44 am

Hi,

I´ve a little Problem ordering elements.
I have some dates:
eg:
Today is 11th
data:
10.07.2003 with data
11.07.2003 with data
11.07.2003 ...
12.07.2003 ...
13.07.2003 ...

now i´ll display the first three dates until today. Is it possible to solve this problem?
Who can give me a hint?

Thanks,
Bernhard

Selmah Maxim

Monday 14 July 2003 2:44:39 am

ordering by custom value is not supported (yet) !

you can use published as ordering by date !

read this :

http://ezwiki.blanko.info/index.php/3XHT_FetchFunction

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 11:43:54
Script start
Timing: Jan 18 2025 11:43:54
Module start 'layout'
Timing: Jan 18 2025 11:43:54
Module start 'content'
Timing: Jan 18 2025 11:43:55
Module end 'content'
Timing: Jan 18 2025 11:43:55
Script end

Main resources:

Total runtime0.9986 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.0072 587.8047152.6094
Module start 'layout' 0.00720.0041 740.414139.4141
Module start 'content' 0.01120.9858 779.8281459.6797
Module end 'content' 0.99710.0015 1,239.50788.1797
Script end 0.9986  1,247.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3920160.0002
Check MTime0.00140.1415160.0001
Mysql Total
Database connection0.00100.100110.0010
Mysqli_queries0.950795.2053540.0176
Looping result0.00060.0572520.0000
Template Total0.957995.920.4789
Template load0.00230.225820.0011
Template processing0.955695.694220.4778
Template load and register function0.00020.023610.0002
states
state_id_array0.00090.089210.0009
state_identifier_array0.00140.136620.0007
Override
Cache load0.00190.1871230.0001
Sytem overhead
Fetch class attribute can translate value0.00070.068320.0003
Fetch class attribute name0.00150.151920.0008
XML
Image XML parsing0.00030.027620.0001
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00070.0683100.0001
String conversion0.00000.001140.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
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs