order by attribute

Author Message

Stefan van Zwoll

Monday 17 November 2003 7:57:24 pm

dear devs,

after about 3 months of trying, i finally got ezp 3.2-3 up and running! yippieh!

now i'm trying to understand what i'm doing, making quite a good progress. but one thing comes to my mind that i cannot figure out. maybe it is too latte in the morning, but anyhow:

i'm planning on setting up a textarchive. there will be several types of texts (literary work, essays, reviews...) as well as a difference between published (print) and unpublished (online) work. every text has an author (of course) and this particular author will get his/her own info-page with a short curriculum vitae, a pic and so on. now my question: i want the user being able of ordering the archive appropriate to his/her needs. that means: s/he must be able to get any author that name is starting with a "c" plus the text must be a review. is something like that hard to code or is there an "easy" workaround? if not the user, am i able to display names with alphabetical values (display names starting with "c")?

thank you very much for any thought.
stefan

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 01:16:47
Script start
Timing: Jan 19 2025 01:16:47
Module start 'layout'
Timing: Jan 19 2025 01:16:47
Module start 'content'
Timing: Jan 19 2025 01:16:48
Module end 'content'
Timing: Jan 19 2025 01:16:48
Script end

Main resources:

Total runtime0.7958 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 589.1328152.6094
Module start 'layout' 0.00580.0026 741.742239.4141
Module start 'content' 0.00840.7858 781.1563401.1094
Module end 'content' 0.79410.0016 1,182.26568.1875
Script end 0.7958  1,190.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00280.3578160.0002
Check MTime0.00120.1469160.0001
Mysql Total
Database connection0.00070.091010.0007
Mysqli_queries0.760495.5555460.0165
Looping result0.00040.0467440.0000
Template Total0.765396.220.3827
Template load0.00180.224420.0009
Template processing0.763595.945120.3818
Template load and register function0.00020.019010.0002
states
state_id_array0.00090.108710.0009
state_identifier_array0.00130.163920.0007
Override
Cache load0.00140.175590.0002
Sytem overhead
Fetch class attribute can translate value0.00050.058810.0005
Fetch class attribute name0.00060.079710.0006
XML
Image XML parsing0.00010.006910.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00060.0748100.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
1content/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/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: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs