About Profiler
This snippet allows you to show different chunk for logged in user and for anonymous user. In chunk for logged in user, you are able to use any of profile and user fields.
Information
Released
July 3, 2014
Supported Database
MySQL
License
GPLv2
Supported Versions
2.2 - Current
Downloads
2,294
Instructions
PROPERTIES:
- &inTpl string optional
- &outTpl string optional
- &ignoreContext integer optional. Default: 0
- &debug integer optional. Default: 0
- &userGroups string optional. Comma separated list of user groups that should be checked. Default:
- &matchAll integer optional. If should user belong to all specified user groups. Default: 0
USAGE:
[[!Profiler? &inTpl='ShowUsersGravatar' &ignoreContext=`0`]]
New in 1.1.0-pl
- Ability to use @INLINE in the tpls properties for inline templates.
- Added userGroups and matchAll properties to the snippet