Different fetch results for non logged in users

Author Message

Brendan Pike

Friday 04 March 2005 12:56:52 am

I'm using a simple fetch over a user folder to count the users, as below:

let membercount=fetch( 'content',
                  'tree_count',
                  hash( 'parent_node_id', 115,
                  'class_filter_type', 'include',
                  'class_filter_array', array( 'user' ) ) )

Logged in users see the correct number, anonymous users see zero, why is this?

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Eivind Marienborg

Friday 04 March 2005 1:01:16 am

Check your permissions. Perhaps anonymous users aren't allowed to see the user class.

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