User tests: Successful: Unsuccessful:
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.
New option in login module.
Apply the PR.
It's a self-explanatory option, anyway the doc page https://docs.joomla.org/Customising_the_Login_Form_module
may cite the new option.
Status | New | ⇒ | Pending |
Category | ⇒ | Language & Strings Modules Front End |
Title |
|
Labels |
Added:
?
?
|
Notice: Undefined variable: params in /Applications/MAMP/htdocs/installmulti/joomla40/modules/mod_login/Helper/LoginHelper.php on line 74 Error: Call to a member function get() on null: Call to a member function get() on null
Once $params
is added for the method, it also has to be added in login.php
is it now ok to be merged?
@Giuse69 No, but it is ok now to be tested. It needs 2 successful tests by someone who is not the author. Testers mark their test result in the issue tracker. After successful test by 2 testers, a maintainer (I am no maintainer by the way) sets the "RTC" flag, which means "ready to commit", and then it will be merged after a while (can be a few days sometimes, maintainers are also volunteers only, like we are, and they have a regular job beside Joomla in most cases).
Your PR looks good to me now and I will try to find some time later today for a test.
You are lucky: Today is PBF (Pizza Bugs and Fun) event, so it might be easier than usual to find testers. Normally it often can take some time.
Thanks Richard
I have tested this item
I have tested this item
works as aspected
I have tested this item
work as expected
tested on:
PHP Version 7.3.8
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 4.0.0-beta1-dev Development [ Amani ] 17-October-2019 20:21 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
@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
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")???
I have tested this item
PHP Version 7.3.8
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 4.0.0-beta1-dev Development [ Amani ] 17-October-2019 20:21 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0
@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
Its all fine
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)
@adiheutschi Is that ok for you? If so, please change your test result in the issue tracker.
Status | Pending | ⇒ | Ready to Commit |
RTC #jd19it #pbf19
I have tested this item
Test is successfully
Setting Value
PHP Built On Linux server2.adiheutschi.ch 3.10.0-962.3.2.lve1.5.24.9.el7.x86_64 #1 SMP Wed Feb 13 08:24:50 EST 2019 x86_64
Database Type mysql
Database Version 10.2.27-MariaDB
Database Collation latin1_swedish_ci
Database Connection Collation utf8mb4_general_ci
PHP Version 7.3.10
Web Server LiteSpeed
WebServer to PHP Interface litespeed
Joomla! Version Joomla! 4.0.0-beta1-dev Development [ Amani ] 17-October-2019 20:21 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36
Labels |
Added:
?
|
@adiheutschi No need for more tests, this PR is already RTC.
@Giuse69 No need to update to 4.0-dev as long as no conflicts shown. Just out of date shown is ok.
Category | Language & Strings Modules Front End | ⇒ | Administration Templates (admin) Language & Strings Modules Front End Templates (site) |
Category | Language & Strings Modules Front End Administration Templates (admin) Templates (site) | ⇒ | Language & Strings Modules Front End |
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.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-10-25 22:02:10 |
Closed_By | ⇒ | wilsonge |
I think @HLeithner forgot to hit merge
Lol seams I misses it, thx george
Could you move the code to a helper method so it doesn't clutter the layout? Thanks. See example with return URL
joomla-cms/modules/mod_login/Helper/LoginHelper.php
Line 33 in 27829de