-
- 137 Posts
I am trying to create member page when user is finish and submit user registration form via Login register snippet, how to do that, is there a simple way?
<a href="www.play2web.com" title="izrada web sajtova">Izrada web sajtova</a>
-
- 932 Posts
Yes, you'll need to add the user to a usergroup and then edit the usergroups permissions to have access to certain resources (resource group) etc.
Or alternatively try this method:
https://bobsguides.com/blog.html/2013/05/22/protecting-pages-the-easy-way/
-
- 137 Posts
No, i only need to create simple resource from values inside register form, nothing else
<a href="www.play2web.com" title="izrada web sajtova">Izrada web sajtova</a>
-
- 932 Posts
-
- 137 Posts
Can you make a example i dont know how to use Register and Formit2db?
<a href="www.play2web.com" title="izrada web sajtova">Izrada web sajtova</a>
-
- 932 Posts
Sorry I was actually thinking formit2resource which I think is now an obsolete extra.
I'd suggest looking into an extra called newspublisher though by bobray - its well documented on his site. you may be able to get what you're after from that. Sorry I can't elaborate further I'm currently running in and out of meetings.
-
- 24,544 Posts
You should be able to do it in a snippet that you list as a posthook in the Register snippet.
With NewsPublisher, I believe you could do it in a plugin attached to the OnDocFormSave event.
I think there might be an example of this in my book, but I can't remember for sure.