Forums / Setup & design / Members count

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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