Memberlist with Users

Author Message

philip Jacobs

Wednesday 21 April 2004 8:59:55 am

Hello,

I work through the HowTo Manual ( Building an ezpublish Website). There a memberlist is created. However, the author realizes the member-area with a special new contenttype. I want to use the buildin User Class to make the list. The problem is that the useres are not a content class and that Idont't want to create Useres in the content group Content->Folder->User1, User2.
Instead of this The Folder(Memberfolder) should generate the List and a presenatation of the Member (like the HowTo) without any Users in itself.

Balazs Halasy

Thursday 22 April 2004 12:44:23 am

This is possible. The users and user groups in eZ publish are also nodes and they are also a part of the node tree. However, they are not placed under "content", instead they're placed under "user". Use the admin interface to find the node ID of the group(folder) that contains your users. Use that ID to fetch from and simply just display the attributes that you wish to display. You can also extend the built in user class (add an image, etc.) without any problems.

Cheers.

Balazs

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 11:50:36
Script start
Timing: Jan 19 2025 11:50:36
Module start 'layout'
Timing: Jan 19 2025 11:50:36
Module start 'content'
Timing: Jan 19 2025 11:50:36
Module end 'content'
Timing: Jan 19 2025 11:50:36
Script end

Main resources:

Total runtime0.0159 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.1484152.6250
Module start 'layout' 0.00550.0033 741.773439.4453
Module start 'content' 0.00880.0051 781.218889.3047
Module end 'content' 0.01390.0020 870.523430.3047
Script end 0.0159  900.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002716.7366140.0002
Check MTime0.00127.3854140.0001
Mysql Total
Database connection0.00074.619410.0007
Mysqli_queries0.002616.559830.0009
Looping result0.00000.119910.0000
Template Total0.00169.910.0016
Template load0.00085.158810.0008
Template processing0.00074.662910.0007
Override
Cache load0.00063.474710.0006
General
dbfile0.00032.061780.0000
String conversion0.00000.062940.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