-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Fixing a mistake made with PR #24397 + fixing setting description for clarity #25062
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
Conversation
The PR was adding a check to display the custom field on the frontend based on a parameter that was meant to be a check for the edit form
|
@joomlahenk Please test |
|
I have tested this item ✅ successfully on 7e7571c
|
|
I have tested this item ✅ successfully on a4947b4
|
|
I have tested this item ✅ successfully on a4947b4 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25062. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25062. |
|
By the way, I noticed that the documentation here https://docs.joomla.org/J3.x:Adding_custom_fields/Parameters_for_all_Custom_Fields is outdated beyond this PR. |
|
I have tested this item ✅ successfully on 6e5a160 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25062. |
|
@brianteeman would you like to check the language strings before I merge this PR? |
|
thx |
@zero24 I think me missed this PR joomla/joomla-cms#25062
Pull Request for Issue #24754
Summary of Changes
PR #24397, introduced in Joomla 3.9.5, added a check to display the custom field on the frontend based on a parameter that was meant to be a check for the edit form, and not for the frontend display.
The author of that PR said that to un-do it I should create another PR myself so here it is.
As explained in this comment #24754 (comment), there already is another setting that controls whether a custom field should be displayed in the frontend or not.
That "Show on" setting is under "Form Options", and was/has always been for controlling where the field can be edited, not displayed. It just had a bad label/description.
With this PR I also take care of improving the description and label of that setting so that it causes no confusion on what it's actually doing and supposed to do.
Testing Instructions
Current 3.9.6 result
Expected result with this PR
Documentation Changes Required
Yes.
The label and description of the setting should be changed accordingly also here:
https://docs.joomla.org/J3.x:Adding_custom_fields/Parameters_for_all_Custom_Fields