- Posts: 26
How To / General
Children Registration
- dhusband
- Topic Author
- Offline
- Junior Member
-
Less
More
5 years 11 months ago #1
by dhusband
Children Registration was created by dhusband
Joomla 3.9.18
Moodle 3.8.2
1.
I have found that the Children registration does not check if a user is logged in. It will create an account without connecting with a parent. If a user has left the computer and been logged out, it still adds the child without the link.
If you go direct to the component without using menu and no one is logged in, there is no check and no error thrown.
Request - If not logged in and go to component, error is thrown asking user to log in
Request - If no user ID parent is found at submission, error is thrown and user is not created
2.
The code to check for active menu appears incomplete. There is a call to get the active menu, but no if statementing to decide what to. This means the form name does not pick up the menu name and uses the component set heading.
3. On successful submission of a child registration request, the page redirects to component address and not the menu address. The title of the form resets to component title and not menu title. (Note I had fixed the if statement in 2 to give menu titles.)
Request - Redirect back to menu and not component address. Even better would be to redirect to a registration complete page, so appropriate information can be displayed on next steps
Thank you
David
Moodle 3.8.2
1.
I have found that the Children registration does not check if a user is logged in. It will create an account without connecting with a parent. If a user has left the computer and been logged out, it still adds the child without the link.
If you go direct to the component without using menu and no one is logged in, there is no check and no error thrown.
Request - If not logged in and go to component, error is thrown asking user to log in
Request - If no user ID parent is found at submission, error is thrown and user is not created
2.
The code to check for active menu appears incomplete. There is a call to get the active menu, but no if statementing to decide what to. This means the form name does not pick up the menu name and uses the component set heading.
3. On successful submission of a child registration request, the page redirects to component address and not the menu address. The title of the form resets to component title and not menu title. (Note I had fixed the if statement in 2 to give menu titles.)
Request - Redirect back to menu and not component address. Even better would be to redirect to a registration complete page, so appropriate information can be displayed on next steps
Thank you
David
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7906
5 years 11 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Children Registration
Thanks for the feedback. I agree with all 3, including last suggestion. I guess best way would be to provide a custom text to show after children registration, so you can show your steps.
Please Log in or Create an account to join the conversation.
- dhusband
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 26
5 years 11 months ago #3
by dhusband
Replied by dhusband on topic Children Registration
Thank you for the quick response.
I look forward to an updated component.
David
I look forward to an updated component.
David
Please Log in or Create an account to join the conversation.