Members count

Author Message

Martynas Bilevičius

Wednesday 09 July 2008 4:42:39 am

Hello, how to count registered users from one member group.
I try this but is no results.

12 - user gruoup ID

{def $node_list=fetch( 'content', 'list', hash( 'parent_node_id', 12 ) ) }
{foreach $node_list as $node}
{$node.name|wash}
{/foreach}
{undef $node_list}

André R.

Wednesday 09 July 2008 4:53:11 am

You probably don't have read rights to that folder, try to login as admin ( <site>/user/login ) to see if that is the case.

If you want to list out all members even if the user doesn't have read access to that folder, then you can use the 'limitation', array() functionality mentioned in the doc.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Martynas Bilevičius

Wednesday 09 July 2008 9:36:11 am

Thanks, now OK

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.