Composr Supplementary: Creating a Hidden Members Zone in Composr
Written by Steve Jarvis, Sponsored by Arvixe hosting
There are effectively 3 tasks you need to have completed to achieve this. There will be an extra task if you have set up Short URLs. These tasks are:
- Creating a usergroup which you can add members to who will then be able to see the new zone.
- Create the new zone taking care to make sure the permissions are set correctly.
- Add the zone to the menu with the setting correct so only those who can visit the zone will see the link.
Adding the UsergroupThe first part of the process is making sure you have created your new usergroup. For the purpose of this I will refer to it as Members usergroup and Members zone. You might have already created the Members group but if not there is a tutorial here which will guide you through the process: Setting up a new Usergroup
Once you have created the usergroup you will need to create a new zone.
Adding the new members zoneNow you have your usergroup set up you will need to create the new members zone. Setting up the zone follows exactly the same process of setting up any other zone until you come to the permissions for the zone.
You will need to set the zone permissions so only the Members usergroup can see the zone and be able to access it. You must set the other usergroups so they can't view the zone. Administrators by default will have full access to the zone.
Note: If you have set up the "Use .htm to identify CMS pages" URL scheme for your Composr site you must make sure you follow the process detailed in the short URLs tutorial or your new zone will not work. You can read the Setting up short URLs in Composr tutorial here before going any further with this process.
Adding a link to the hidden zone for your members
If you are using the default Sitemap-based menus, this will automatically.
If you are doing it manually…
Navigate to the menu in the menu management section of the Admin Zone (located on the Structure section).
Choose the menu you want to add the link to and add the link as normal.
You'll also want to make sure it's not visible to guests or other usergroups. Therefore select the "Only display if has permission" option. I tend to always select this so if I later make an existing zone members only or change the permissions I won't have to edit the menu. If a user can access the zone they will see the relevant link.
Please rate this tutorial:
Have a suggestion? Report an issue on the tracker.