fetch( 'user', 'anonymous_count' )
The number of anonymous users as an integer.
This function counts the number of anonymous users currently accessing the site and returns that count (as an integer). An anonymous user is considered to be active if the last access time within the range of the activity timeout. The timeout can be set using the "ActivityTimeout" directive in a configuration override for "site.ini". The default timeout is one hour.
{def $visitors=fetch( 'user', 'anonymous_count' )} There are {$visitors} anonymous users accessing the site.
Outputs the number of anonymous users that are currently accessing the site.
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.