RoleCheck

RoleCheck snippet for Evolution CMS

by | 1.0.1 |

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`!]

go to top