Thursday 14 August 2003 2:15:07 am
Another approach you could consider is to put the logic to control this into your template. This keeps the admin side of things simple. The drawback is (of course) that the roles applicable to your exclusion are hard-coded into the template (the role can be assigned as usual through the admin pages though). Try something like this:
{section show=fetch(user,current_user).roles.id|contains,array(id's to exclude)}
...
{section-else}
... {/section}
|