Loading...
 
Skip to main content

Features / Usability


Broken country selector on my registration page in 27.1

posts: 4 Netherlands

I would like to use a country selector for new users on my registration page, but it is curently broken in 27.1

The country selector uses Select2 js library to render the country selector list. But with the new default countryselector.tpl file, the rendering is currently broken with multi-selection turned off (default).

To reproduce:
- Add a user registration tracker with fields 'User' and 'Country'.
- In the control panel 'login' page, enable the userTracker feature to collect more information on user registrations.
- In the control panel 'Admin Groups' page, edit the Registered group to add the user registration tracker, link the user field, and add the Country selector field id.

Now load the tiki-register.php page.

I tried fixing this in my GitLab fork, but it seems stuck on an outdated master branch and I cannot seem to get it up to date to create a new 27.x-based branch to fix this.

PS: I also meant to submit this report on the dev.tiki.org/make%20a%20wish page, but ironically the mandatory Category field (which is also a multi-select dropdown from the Select2 library) kept complaining I didn't select any options. So I couldn't submit it there.

posts: 1 Democratic Republic of the Congo
Michel Ram wrote:

I would like to use a country selector for new users on my registration page, but it is curently broken in 27.1......

PS: I also meant to submit this report on the dev.tiki.org/make%20a%20wish page, but ironically the mandatory Category field (which is also a multi-select dropdown from the Select2 library) kept complaining I didn't select any options. So I couldn't submit it there.


Thank you, @Michel Ram, for your valuable contribution to Tiki! We greatly appreciate your engagement and the effort you put into addressing the issue. The Merge Request you submitted here has effectively resolved the problem, showcasing your commitment to improving the platform. Your work not only enhances the user experience but also strengthens the community's collaborative spirit. Keep up the excellent work!