I was wondering if someone could take a minute for a newbie to show the template code for a section index page that needs to be private - accessible only to "clients" (pre-registered as users in a private group - I am assuming).
I am confused about the permissions in the users section of the CP as they only show permissions to edit/view assets etc.... not templates.
Someone asked a similar question and the response was "yes it is easy - go look at the User Model" - however I am just starting to figure all this out so need a little help!!
Thank you
.getGroupByHandle(), and requires you to go to the full class reference documentation to find. Generally things in there can be referenced in twig by the namespace (i.e.craft) followed by the service class (i.e.userGroups), followed by the method (.getGroupsByHandle). – Douglas McDonald Oct 22 '14 at 17:48