Alfabetic order in member list.

Author Message

Bengt Skogly

Thursday 22 January 2004 12:08:23 pm

Hi
I'm a newbe and have made a website based on the "Building an ez Publish site" toturial. Under my "Members" page I have registrated over 200 members, and it makes the page verry long...

1.
How can I sort the members in alfabetic order..
A - B - C - D - E....
Clicking on "B" shovs only the members that starts with first letter "B"?

2.
How can I limit the memberlist in 50 members pr. side... Pushing "Next" to show the next 50 members?

Alex Jones

Thursday 22 January 2004 1:56:19 pm

You may want to look at this thread: http://ez.no/community/forum/developer/alpha_pagination_of_objects as it appears to address exactly what you are discussing.

Alex

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

Main resources:

Total runtime0.6855 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.0063 587.9063152.6250
Module start 'layout' 0.00630.0030 740.531339.4453
Module start 'content' 0.00930.6742 779.9766520.9844
Module end 'content' 0.68350.0019 1,300.96098.1641
Script end 0.6854  1,309.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.5238160.0002
Check MTime0.00150.2231160.0001
Mysql Total
Database connection0.00150.213010.0015
Mysqli_queries0.636992.9194540.0118
Looping result0.00060.0812520.0000
Template Total0.653495.320.3267
Template load0.00220.323420.0011
Template processing0.651194.995020.3256
Template load and register function0.00030.043610.0003
states
state_id_array0.00110.161210.0011
state_identifier_array0.00150.214520.0007
Override
Cache load0.00180.2634150.0001
Sytem overhead
Fetch class attribute can translate value0.00070.107420.0004
Fetch class attribute name0.00180.263630.0006
XML
Image XML parsing0.00070.097920.0003
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00080.1196160.0001
String conversion0.00000.001340.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
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 6

Time used to render debug report: 0.0002 secs