? Success

User tests: Successful: Unsuccessful:

avatar Bakual
Bakual
12 Aug 2014

Issue

Currently, the user - profile plugin uses a separate spacer field to display an info text for the "date of birth" (dob) field.
This makes it necessary to add some specific codechecks for when that spacer field should be shown or hidden. Like done in #4043.

Proposal

This PR moves the dob field and the infotext into a custom formfield and removes the special code for the dob_spacer field.

Questions

While trying this solution I wondered why we even have this info text separated. I think best place would actually be the tooltip, which is exactly meant for that kind of information.
The plugin currently overrides the description set in the profile.xml with a hardcoded and quite useless text. I'm not sure why that is but I guess it's for historical reasons, maybe before there was a separate profile.xml file?

Does anyone know why this was done like this?

avatar Bakual Bakual - open - 12 Aug 2014
avatar jissues-bot jissues-bot - change - 12 Aug 2014
Status Pending New
Labels Added: ? ?
avatar infograf768
infograf768 - comment - 13 Aug 2014

test: nice!

avatar zero-24
zero-24 - comment - 13 Aug 2014

@test @Bakual successful

avatar infograf768
infograf768 - comment - 13 Aug 2014
Questions

While trying this solution I wondered why we even have this info text separated. I think best place would actually be the tooltip, which is exactly meant for that kind of information.
The plugin currently overrides the description set in the profile.xml with a hardcoded and quite useless text. I'm not sure why that is but I guess it's for historical reasons, maybe before there was a separate profile.xml file?

Does anyone know why this was done like this?

The point was that a new user registering may not even notice we have Tooltips. As we had many reports of people entering wrong date formats, we added the spacer. It is not there because of history.

avatar Bakual
Bakual - comment - 15 Aug 2014

Moved the markup into a new JLayout. That should allow a template to adjust it if this doesn't work due to overrides.

avatar Bakual Bakual - change - 15 Aug 2014
Title
Dob
Improve handling of "Date of Birth" (dob) infotext in user profile plugin
d6da879 15 Aug 2014 avatar Bakual typo
avatar zero-24
zero-24 - comment - 15 Aug 2014

@test after last change is still successful.

avatar nicksavov nicksavov - change - 21 Aug 2014
Labels Removed: ?
avatar brianteeman brianteeman - change - 21 Aug 2014
Status New Pending
avatar brianteeman brianteeman - change - 23 Sep 2014
Category Plugins
avatar zero-24 zero-24 - test_item - 27 Oct 2014 - Tested successfully
avatar zero-24 zero-24 - alter_testresult - 27 Oct 2014 - infograf768: Tested successfully
avatar zero-24 zero-24 - change - 27 Oct 2014
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 27 Oct 2014

moving to RTC since @infograf768 and i test this successful thanks @Bakual

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4103.

avatar infograf768
infograf768 - comment - 28 Oct 2014

Merged. Thanks.
21cf242

avatar infograf768 infograf768 - close - 28 Oct 2014
avatar infograf768 infograf768 - change - 28 Oct 2014
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2014-10-28 07:04:26
avatar infograf768
infograf768 - comment - 4 Jul 2015

@Bakual
Please see #7332

Add a Comment

Login with GitHub to post a comment