RoleCheck snippet for Evolution CMS
Show chunks based on User's role
EVO Version: Evolution 3.x
A simple snippet for Evolution CMS 3.x to show chunks based on User's role.
A replacement for old Evo 1.4x MemberCheck/Personalize/HideContent snippets
Snippet parameters
- &roles: List of roles to compare
- &YesChunk: Name of the chunk or HTML to display if the user is authorized
- &NoChunk: Name of the chunk or HTML to display if the user is not authorized or not logged in
Example call
[!RoleCheck? &roles=`WebUsers` &YesChunk=`WelcomeUser` &NoChunk=`YouAreNotLogged`!]