Set default folder "sort by" Priority

Author Message

Tony Wood

Wednesday 15 September 2004 9:17:14 am

Hi,

Is there any way to set the default folder priority?

Currently this is set to "published" I really need it to be "Priority". I am tired of changing it every time :)

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Bård Farstad

Thursday 16 September 2004 12:48:41 am

Tony, this is set in the code. It is not currently configurable. But you can change your template so that the sorting is "hard coded" to priority, but that's probably not what you want.

--bård

Documentation: http://ez.no/doc

Tony Wood

Thursday 16 September 2004 3:59:12 am

Your right, I would prefer to have this as a preference for each use and set the default in .ini file. To be honest when you build the menu on the fly, which most do, you need to have it set to priority sort order.

Can we have this as an option in 3.5? or 3.4 please.. you will save a lot of time for users.

Do other users generally use "priority" sort order? please let me know... This would be a good item for an eZ poll ;-)

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Alex Jones

Thursday 16 September 2004 6:18:26 am

We tend to use a mixture of methods. While we use priority for some areas, and publish date in a few areas, we sort by alpha a lot. I agree, it would make sense to set a default sort in an ini file.

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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

Main resources:

Total runtime0.0265 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.0058 588.1328151.2109
Module start 'layout' 0.00580.0042 739.3438220.7031
Module start 'content' 0.01000.0149 960.04691,001.6797
Module end 'content' 0.02490.0016 1,961.726633.9922
Script end 0.0265  1,995.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002810.4099140.0002
Check MTime0.00114.1600140.0001
Mysql Total
Database connection0.00114.116910.0011
Mysqli_queries0.00269.662730.0009
Looping result0.00000.075410.0000
Template Total0.00124.510.0012
Template load0.00093.522410.0009
Template processing0.00020.923210.0002
Override
Cache load0.00072.508410.0007
General
dbfile0.002710.033680.0003
String conversion0.00000.029640.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