How to display recent members images?

Author Message

Thirunavukkrasu Arumugam

Monday 20 April 2009 11:29:43 pm

Hi..

I would like to show the recently registered members photos in front page..

How we can show the list of members in front page.

Please Help

A. Thirunavukkarasu

Ɓukasz Serwatka

Tuesday 21 April 2009 12:49:11 am

Hi,

Use fetch function. Fetch user objects sorted by date then access avatar attribute and display it using attribute_view_gui or get direct path to image from attribute.

See documentation for more examples how to fetch data.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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

Main resources:

Total runtime0.8033 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.0069 589.0703152.6250
Module start 'layout' 0.00690.0030 741.695339.4453
Module start 'content' 0.00990.7917 781.1406530.2188
Module end 'content' 0.80150.0017 1,311.35948.1563
Script end 0.8032  1,319.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4128160.0002
Check MTime0.00130.1680160.0001
Mysql Total
Database connection0.00110.134010.0011
Mysqli_queries0.754993.9790540.0140
Looping result0.00060.0710520.0000
Template Total0.766895.520.3834
Template load0.00220.274520.0011
Template processing0.764695.181520.3823
Template load and register function0.00010.011610.0001
states
state_id_array0.00120.145510.0012
state_identifier_array0.00180.221120.0009
Override
Cache load0.00170.2073140.0001
Sytem overhead
Fetch class attribute can translate value0.00070.082520.0003
Fetch class attribute name0.00240.298440.0006
XML
Image XML parsing0.00110.135020.0005
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00120.1501240.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs