-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0] Add registration menu to login module #26589
Conversation
This PR adds an option to login module to set a menu item for registration page. Useful to override default registration link "index.php?option=com_users&view=registration" to a custom page
Could you move the code to a helper method so it doesn't clutter the layout? Thanks. See example with return URL
|
Once |
Co-Authored-By: SharkyKZ <sharkykz@gmail.com>
Co-Authored-By: SharkyKZ <sharkykz@gmail.com>
Co-Authored-By: SharkyKZ <sharkykz@gmail.com>
Co-Authored-By: SharkyKZ <sharkykz@gmail.com>
@Giuse69 Could you check and comment @adiheutschi 's negative test result? Did he/she test in a wrong way? Or is it a valid test and you have to correct something? |
I have tested this item ✅ successfully on dd80d52 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26589. |
Guys, 2 successful tests are enough for a Pull Request to get the "Ready to Commit" (RTC) status. As soon as a PR has this, it does not need more tests, and you can focus on other PR's which still need tests. Here it is more important that we have 1 bad test, and as long as this is not clarified or solved, it can't get RTC. |
Actually, it is not a mistake, the question is whether to link to a menu or Article ... ("Registration Page")??? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26589. |
I have tested this item ✅ successfully on e7a8ef4 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26589. |
@adiheutschi The link is to a MENU as for login/logout redirection options that are above and not to an article that less probably can be a registration form (just to explain why a menu item and not an article) |
I have tested this item ✅ successfully on e7a8ef4 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26589. |
@adiheutschi Is that ok for you? If so, please change your test result in the issue tracker. |
RTC #jd19it #pbf19 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26589. |
I have tested this item ✅ successfully on e7a8ef4 Setting Value This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/26589. |
@adiheutschi No need for more tests, this PR is already RTC. |
This reverts commit f111839.
@Giuse69 Don't try to solve PHPCS erros in drone. Currently they fail on all 4.0-dev, it will be fixed soon. Is not related to your PR. But could you explain recent changes? They invalidate previous good tests if these changes are not code style only. |
ok, sorry.... and thanks for information |
To the maintainers: RTC is still ok, recent commits were only merged from 4.0-dev, in one case erroneously reverted but this then fixed later so all is ok now. I've just checked. |
hi, just to understand: after successful tests on PBF 2019 and RTC, it's just a matter of time to have it committed by @wilsonge, correct? thanks |
@Giuse69 no not automatically. the PR has to fit in to Joomla! In your case I think it's a good addition and I merge it. Thanks for your work and thanks to the tester. |
I think @HLeithner forgot to hit merge 😆 but what he said - sorry I'm really busy with Brexit related deadlines at work at the moment - so my time for Joomla is low |
Lol seams I misses it, thx george |
This PR adds an option to login module to set a menu item for registration page. Useful to override default registration link "index.php?option=com_users&view=registration" to a custom page by its menu item.
Summary of Changes
New option in login module.
Testing Instructions
Apply the PR.
Documentation Changes Required
It's a self-explanatory option, anyway the doc page https://docs.joomla.org/Customising_the_Login_Form_module
may cite the new option.