17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1167 Views |
-
SS 2.1.0 rc 1: ACCESS tab explanation

16 September 2007 at 3:43am
So, in this new release there's an access tab where we can control to who pages are displayed.
The choice is between anyone, 'logged-in users' and 'only these people'.
Now, from 'logged-in users' I understand that it relates to people who are logged in to the backend? Correct me if I'm wrong please.
And from 'only these people' I understand that we can make groups in the security section, to whom we grant no specific permissions (as there are only backend permissions, so these aren't relevant to the frontend). After making those groups we can choose these groups in the access tab to display it to. The question that comes immediately to my mind is: how can these people log in to the front end? Are we supposed to code a loginform ourselves, is there somewhere some information about this? This because I cannot find a 'login form' like there is a 'contact form' in the behaviour page type tab.
Any answers appreciated a lot.. many thanks.
-
Re: SS 2.1.0 rc 1: ACCESS tab explanation

16 September 2007 at 7:17pm
dio5: You've almost got it, there's just a couple of key differences.
When the CMS says 'logged-in users', it means any logged-in user, not just one with admin rights to view the backend. For example, forum members need to login to post a reply, but that doesn't mean they should have access to the backend, right?
For the 'only these people' part, you've got the main idea right. You can, for example, create a Forum that is private to only a certain user group, and then hide it from everybody else by selecting 'only these people' and choosing your user group from the dropdown.
If a user requests a page that has 'only these people' permission set, and they're not logged in (or not in that user group), they are automatically sent to the login form. If they successfully login and can access the page, they're forwarded back to the page they requested initially.
Hope that helps
-
Re: SS 2.1.0 rc 1: ACCESS tab explanation

16 September 2007 at 7:56pm Last edited: 16 September 2007 10:06pm
Ok I think I get it
What I'll be needing actually is not how to hide certain pages but certain kind of content based on a category... The categoryHolder-page will fetch tips with a certain category based on a $_GET['category'], but some content with for example a category of 'protected' is only for logged-in users.
I'd also like to have people be able to register and adding tips through the frontend when they're signed up...
I'm not sure how to build this in SS yet. I'll have to search more information on how to login and sessions in SS and how to make people register...
Any more tips would be welcome.. like where I can find how to make a loginform for the frontend... which action, etc... I've been looking at this for 2 days now and can't find anything about it.
-
Re: SS 2.1.0 rc 1: ACCESS tab explanation

17 September 2007 at 8:32pm
dios, download and look at the source of the forum module for some further insight into login/registration systems ...
-
Re: SS 2.1.0 rc 1: ACCESS tab explanation

17 September 2007 at 8:59pm
Guess I'll do that. I already figured out it has to be something with the Member-class
| 1167 Views | ||
|
Page:
1
|
Go to Top |



