Custom Permissions Restrictions
By Paul
0/5 based on 0 votes. The median rating is 0.
By Paul
You may wish to restrict a page to only be visible to particular usergroups. For example, you may have a custom template page which you only want registered members to be able to view. This can be done very simply by placing a comment like this at the very top of the template:
<!-- RESTRICT TO GROUPS 2,3 -->
Change 2,3 to the numbers of the usergroups you wish to allow to view the page. Separate each usergroup number with a comma, no spaces. By default, of course, pages are visible to all groups (except where usergroup permissions specify otherwise).
For a category, you can restrict a usergroup from having access simply by editing the category.
<!-- RESTRICT TO GROUPS 2,3 -->
Change 2,3 to the numbers of the usergroups you wish to allow to view the page. Separate each usergroup number with a comma, no spaces. By default, of course, pages are visible to all groups (except where usergroup permissions specify otherwise).
For a category, you can restrict a usergroup from having access simply by editing the category.
Rating:
0/5 based on 0 votes. The median rating is 0.
Submitted: 09/25/03 (Edited 11/23/03)
Description: Restricting access to any page.
Views:
1547 views. Averaging 1 per day.
In the most recent 30 day period, there've been 0 views.

Print
E-Mail