How to list users in ez based on group and the owner ?

Author Message

Selmah Maxim

Saturday 19 November 2005 5:33:57 am

can you help ?!

Ɓukasz Serwatka

Monday 21 November 2005 5:07:15 am

Selmah, what exactly you want to do?

You can fetch user from user group and filter by owner.

{fetch( content, tree,
        hash( parent_node_id, USER_GROUP_NODE_ID,
              class_filter_type, include,
              class_filter_array, array( 'user' ),
              attribute_filter,
              array( array( 'owner', '=', USER.contentobject_id ) ) ) )}

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

Selmah Maxim

Monday 21 November 2005 8:48:08 am

Yes that what i mean :) thx

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 03:19:32
Script start
Timing: Jan 19 2025 03:19:32
Module start 'layout'
Timing: Jan 19 2025 03:19:32
Module start 'content'
Timing: Jan 19 2025 03:19:34
Module end 'content'
Timing: Jan 19 2025 03:19:34
Script end

Main resources:

Total runtime1.8515 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 589.3984152.6563
Module start 'layout' 0.00440.0030 742.054739.5078
Module start 'content' 0.00751.8343 781.5625532.2578
Module end 'content' 1.84170.0097 1,313.82038.1094
Script end 1.8514  1,321.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.1826160.0002
Check MTime0.00130.0699160.0001
Mysql Total
Database connection0.00060.034610.0006
Mysqli_queries1.799897.2064570.0316
Looping result0.00050.0252550.0000
Template Total1.802997.420.9014
Template load0.00230.126720.0012
Template processing1.800597.246720.9003
Template load and register function0.00010.007610.0001
states
state_id_array0.00070.040010.0007
state_identifier_array0.00130.072620.0007
Override
Cache load0.00180.0998110.0002
Sytem overhead
Fetch class attribute can translate value0.00060.033920.0003
Fetch class attribute name0.00070.039540.0002
XML
Image XML parsing0.00070.038920.0004
class_abstraction
Instantiating content class attribute0.00000.000540.0000
General
dbfile0.00210.1146180.0001
String conversion0.00000.000540.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs