Sorting

Author Message

Edwin Metselaar

Thursday 20 March 2003 1:25:17 am

Hi,

If I have a bunch of folders, they can be sorted alphabetically, by creation or by modification date. However, I want to sort them to my own ideas. I don;t want to rename or edit files to change the creation / mod dates.
How can I do this?

Thanks, Edwin

Sergiy Pushchin

Thursday 20 March 2003 1:40:51 am

You should change sorting order parameter, of parent node to priority. After that you will have priority entry field on the full view of object

Regards
SP

> However, I want to sort them to my own ideas. I don;t want
> to rename or edit files to change the creation / mod
> dates.
> How can I do this?
>
> Thanks, Edwin

Edwin Metselaar

Thursday 20 March 2003 1:54:46 am

Thanks a lot! I will try it out

> You should change sorting order parameter, of parent node to
> priority. After that you will have priority entry field on
> the full view of object

Edwin Metselaar

Tuesday 25 March 2003 1:07:17 am

Sorting on priority seemed to be the most workable

Paul Borgermans

Tuesday 25 March 2003 1:36:23 am

> Sorting on priority seemed to be the most workable

Another trick in the case you have one sorting idea for certain classes which can be tied to an attribute: use <attribute> in the object name for class instances, make your override template which hides the name field of the resulting objects, but use the sort on name to get the sorting according to the attribute.

You may also combine attributes in the object name for the class

Not ideal, but ...

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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 30 2025 21:34:44
Script start
Timing: Jan 30 2025 21:34:44
Module start 'layout'
Timing: Jan 30 2025 21:34:44
Module start 'content'
Timing: Jan 30 2025 21:34:44
Module end 'content'
Timing: Jan 30 2025 21:34:44
Script end

Main resources:

Total runtime0.0254 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.0234151.1953
Module start 'layout' 0.00460.0046 739.2188220.6563
Module start 'content' 0.00920.0145 959.87501,001.7734
Module end 'content' 0.02370.0017 1,961.648433.9922
Script end 0.0253  1,995.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002911.2545140.0002
Check MTime0.00114.2033140.0001
Mysql Total
Database connection0.00062.544510.0006
Mysqli_queries0.002811.086430.0009
Looping result0.00000.109910.0000
Template Total0.00124.710.0012
Template load0.00093.502610.0009
Template processing0.00031.161910.0003
Override
Cache load0.00062.458110.0006
General
dbfile0.00186.984580.0002
String conversion0.00000.041340.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