You may have to copy it into an extension, and then modify the part of register.php where it fetches the UserSettings/DefaultUserPlacement setting, and replace it with some POST variable ( with precise checks ). And then just give access to your new module for anonymous users.
Using workflow to add extra user-group locations to the new user may also help you... http://share.ez.no/forums/developer/workflow-removesubtrees-addlocation
You may have to copy it into an extension, and then modify the part of register.php where it fetches theUserSettings/DefaultUserPlacement setting, and replace it with some POST variable ( with precise checks ). And then just give access to your new module for anonymous users.
Hello everyone and thanks for the answers. Romain I created an extension like you suggested, but I did not know where to edit register.php to set the value of the user group.
I just implement a registration system with multiple location.
I created a custom workflow event that I trigger after publish. In this event I retrieve a form parameter which determine the type of user and then I move the newly created user depending on this parameter.
I just implement a registration system with multiple location.
I created a custom workflow event that I trigger after publish. In this event I retrieve a form parameter which determine the type of user and then I move the newly created user depending on this parameter.
I've never worked on the trigger in eZ publish, you could tell me how?